Permalink
Browse files

User admin needs to be in a module, now.

  • Loading branch information...
nicksergeant committed Sep 24, 2015
1 parent 60eaf04 commit 2caa1acbb24cc55293371d824339ad19c16f9cf1
Showing with 8 additions and 9 deletions.
  1. +8 βˆ’7 settings.py
  2. +0 βˆ’2 urls.py
  3. 0 user-admin/__init__.py
  4. 0 { β†’ user-admin}/admin.py
View
@@ -78,29 +78,30 @@
USE_TZ = True
INSTALLED_APPS = (
- 'gunicorn',
- 'raven.contrib.django.raven_compat',
+ 'accounts',
+ 'blogs',
+ 'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.humanize',
+ 'django.contrib.messages',
'django.contrib.sessions',
'django.contrib.sites',
- 'django.contrib.messages',
'django.contrib.staticfiles',
- 'django.contrib.admin',
'django_bcrypt',
+ 'gunicorn',
'haystack',
'markdown_deux',
'pagination',
'postmark',
+ 'raven.contrib.django.raven_compat',
'registration',
+ 'snipts',
'storages',
'taggit',
'tastypie',
'typogrify',
- 'accounts',
- 'blogs',
- 'snipts',
+ 'user-admin',
'utils',
)
LOGGING = {
View
@@ -14,8 +14,6 @@
from views import (homepage, lexers, login_redirect, pro, sitemap, tags,
pro_complete, user_api_key, for_teams, for_teams_complete)
-admin.autodiscover()
-
public_api = Api(api_name='public')
public_api.register(PublicSniptResource())
public_api.register(PublicTagResource())
View
No changes.
File renamed without changes.

0 comments on commit 2caa1ac

Please sign in to comment.