See #297: sorted imports

This commit is contained in:
Eliot Berriot 2018-06-10 10:55:16 +02:00
commit 9bea804f14
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
132 changed files with 218 additions and 363 deletions

View file

@ -1,11 +1,8 @@
from django.db import models
from django.db import transaction
from django.db import models, transaction
from django.utils import timezone
from rest_framework import exceptions
from funkwhale_api.common import fields
from funkwhale_api.common import preferences
from funkwhale_api.common import fields, preferences
class PlaylistQuerySet(models.QuerySet):

View file

@ -5,6 +5,7 @@ from funkwhale_api.common import preferences
from funkwhale_api.music.models import Track
from funkwhale_api.music.serializers import TrackSerializer
from funkwhale_api.users.serializers import UserBasicSerializer
from . import models

View file

@ -1,18 +1,13 @@
from django.db.models import Count
from django.db import transaction
from rest_framework import exceptions
from rest_framework import mixins, viewsets
from django.db.models import Count
from rest_framework import exceptions, mixins, viewsets
from rest_framework.decorators import detail_route
from rest_framework.response import Response
from rest_framework.permissions import IsAuthenticatedOrReadOnly
from rest_framework.response import Response
from funkwhale_api.common import permissions
from funkwhale_api.common import fields
from funkwhale_api.common import fields, permissions
from . import filters
from . import models
from . import serializers
from . import filters, models, serializers
class PlaylistViewSet(