Browse Source

Fix import order

pull/1230/head
Hironsan 4 years ago
parent
commit
6ac494fdb2
2 changed files with 2 additions and 2 deletions
  1. 2
      app/api/models.py
  2. 2
      app/api/views/project.py

2
app/api/models.py

@ -5,7 +5,7 @@ from django.conf import settings
from django.contrib.auth.models import User
from django.core.exceptions import ValidationError
from django.db import models
from django.db.models.signals import post_save, pre_delete, m2m_changed
from django.db.models.signals import m2m_changed, post_save, pre_delete
from django.dispatch import receiver
from django.urls import reverse
from polymorphic.models import PolymorphicModel

2
app/api/views/project.py

@ -3,7 +3,7 @@ from rest_framework import generics, status
from rest_framework.permissions import IsAuthenticated
from rest_framework.response import Response
from ..models import Project, RoleMapping, Role
from ..models import Project, Role, RoleMapping
from ..permissions import IsInProjectReadOnlyOrAdmin
from ..serializers import ProjectPolymorphicSerializer, ProjectSerializer

Loading…
Cancel
Save