diff --git a/proposals/models.py b/proposals/models.py index f8b9897..5eb5897 100644 --- a/proposals/models.py +++ b/proposals/models.py @@ -2,9 +2,10 @@ from django.contrib.sites.managers import CurrentSiteManager from django.contrib.sites.models import Site from django.db import models -from accounts.models import Speaker from autoslug import AutoSlugField +from accounts.models import Speaker + __all__ = ['Topic', 'Talk', 'Speach'] diff --git a/proposals/views.py b/proposals/views.py index 72d125a..1d013e6 100644 --- a/proposals/views.py +++ b/proposals/views.py @@ -4,7 +4,7 @@ from django.contrib.sites.shortcuts import get_current_site from django.core.exceptions import PermissionDenied from django.shortcuts import get_object_or_404, redirect, render -from accounts.models import Speaker, Profile +from accounts.models import Profile, Speaker from proposals.forms import TalkForm from proposals.models import Speach, Talk, Topic diff --git a/setup.cfg b/setup.cfg index 4ab3d37..b7110f4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -5,3 +5,9 @@ omit = */migrations/*, */apps.py, ponyconf/wsgi.py [flake8] max-line-length = 119 exclude = */migrations/* + +[isort] +line_length = 119 +known_django = django +sections = FUTURE,STDLIB,DJANGO,THIRDPARTY,FIRSTPARTY,LOCALFOLDER +skip_glob = **/migrations/*.py