Browse Source

User admin needs to be in a module, now.

master
Nick Sergeant 7 years ago
parent
commit
2caa1acbb2
  1. 15
      settings.py
  2. 2
      urls.py
  3. 0
      user-admin/__init__.py
  4. 0
      user-admin/admin.py

15
settings.py

@ -78,29 +78,30 @@ USE_L10N = True
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 = {

2
urls.py

@ -14,8 +14,6 @@ from utils.views import SniptRegistrationView
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())

0
user-admin/__init__.py

0
admin.py → user-admin/admin.py

Loading…
Cancel
Save