Add isort pre-commit hook
Sort import statement in python files See https://github.com/PyCQA/isort
This commit is contained in:
parent
b75d9e5c59
commit
01fbd1e8b9
75 changed files with 282 additions and 232 deletions
|
@ -1,13 +1,15 @@
|
|||
import os
|
||||
|
||||
from django.conf import settings
|
||||
from django.http import FileResponse
|
||||
from django.shortcuts import get_object_or_404
|
||||
from rest_framework import status, viewsets
|
||||
from rest_framework.decorators import api_view, action, permission_classes
|
||||
from rest_framework.decorators import action, api_view, permission_classes
|
||||
from rest_framework.permissions import AllowAny
|
||||
from rest_framework.response import Response
|
||||
from .serializers import *
|
||||
|
||||
from .permissions import IsAdminOrOwnUser
|
||||
from .serializers import *
|
||||
|
||||
|
||||
class UserViewSet(viewsets.ModelViewSet):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue