Commits

megaman821  committed 0093090

cleaned up and ordered imports

  • Participants
  • Parent commits 9070076

Comments (0)

Files changed (3)

File accounts/__init__.py

 __version_info__ = {
     'major': 0,
     'minor': 2,
-    'micro': 0,
+    'micro': 1,
     'releaselevel': 'beta',
-    'serial': 12
+    'serial': 13
 }
 
+
 def get_version(short=False):
     assert __version_info__['releaselevel'] in ('alpha', 'beta', 'final')
     vers = ["%(major)i.%(minor)i" % __version_info__, ]

File accounts/urls.py

-from django.conf.urls import patterns, include, url
-from accounts import views
+from . import views
+from django.conf.urls import patterns, url
 
 
 urlpatterns = patterns('accounts.views',

File accounts/views.py

+from .forms import UserForm
+from django.conf import settings
+from django.contrib import messages
+from django.contrib.auth import REDIRECT_FIELD_NAME, login, logout
+from django.contrib.auth.decorators import login_required
+from django.contrib.auth.forms import AuthenticationForm, PasswordResetForm, SetPasswordForm
+from django.contrib.auth.tokens import default_token_generator
+from django.contrib.auth.models import User
+from django.core.urlresolvers import reverse_lazy
 from django.http import Http404
-from django.views.generic.edit import FormView, UpdateView
-from django.views.generic.base import RedirectView
-from django.core.urlresolvers import reverse_lazy
-from django.contrib import messages
-from django.views.decorators.debug import sensitive_post_parameters
+from django.utils.decorators import method_decorator
+from django.utils.http import base36_to_int
 from django.views.decorators.cache import never_cache
 from django.views.decorators.csrf import csrf_protect
-from django.contrib.auth.decorators import login_required
-from django.utils.decorators import method_decorator
-from django.contrib.auth import REDIRECT_FIELD_NAME, login, logout
-from django.contrib.auth.tokens import default_token_generator
-from django.contrib.auth.forms import AuthenticationForm, PasswordResetForm, SetPasswordForm
-from accounts.forms import UserForm
-from django.contrib.auth.models import User
+#from django.views.decorators.debug import sensitive_post_parameters
+from django.views.generic.base import RedirectView
+from django.views.generic.edit import FormView, UpdateView
 import urlparse
-from django.utils.http import base36_to_int
-from django.conf import settings
 
 
 class Login(FormView):