diff options
| author | Rolf Erik Lekang <me@rolflekang.com> | 2015-04-06 20:04:32 +0200 |
|---|---|---|
| committer | Rolf Erik Lekang <me@rolflekang.com> | 2015-04-07 13:33:46 +0200 |
| commit | 645ee6c1223e45571fcd27525fedfc81055f3c46 (patch) | |
| tree | f2c42705d5ae9d03903ff2576ad3340e990eab22 /contact | |
| parent | 6b8b6b92e167c763142912ecad8aa240e0b15226 (diff) | |
Add isort settings and sort imports
Diffstat (limited to 'contact')
| -rw-r--r-- | contact/forms.py | 3 | ||||
| -rw-r--r-- | contact/urls.py | 1 | ||||
| -rw-r--r-- | contact/views.py | 3 |
3 files changed, 2 insertions, 5 deletions
diff --git a/contact/forms.py b/contact/forms.py index f53c43b3..a471b73f 100644 --- a/contact/forms.py +++ b/contact/forms.py @@ -1,13 +1,12 @@ import logging import django +from contact_form.forms import ContactForm from django import forms from django.conf import settings from django.contrib.sites.models import Site from django.utils.encoding import force_bytes - from pykismet3 import Akismet, AkismetServerError -from contact_form.forms import ContactForm logger = logging.getLogger(__name__) diff --git a/contact/urls.py b/contact/urls.py index 56c6a324..a032e469 100644 --- a/contact/urls.py +++ b/contact/urls.py @@ -3,7 +3,6 @@ from django.views.generic import TemplateView from .views import ContactFoundation - urlpatterns = [ url(r'^foundation/$', ContactFoundation.as_view(), name='contact_foundation'), url(r'^sent/$', TemplateView.as_view(template_name='contact/sent.html'), name='contact_form_sent'), diff --git a/contact/views.py b/contact/views.py index b57114b6..7715ab46 100644 --- a/contact/views.py +++ b/contact/views.py @@ -1,6 +1,5 @@ -from django.core import urlresolvers - from contact_form.views import ContactFormView +from django.core import urlresolvers from .forms import FoundationContactForm |
