Browse Source

User admin needs to be in a module, now.

master
Nick Sergeant 6 years ago
parent
commit
2caa1acbb2
4 changed files with 8 additions and 9 deletions
  1. +8
    -7
      settings.py
  2. +0
    -2
      urls.py
  3. +0
    -0
      user-admin/__init__.py
  4. +0
    -0
      user-admin/admin.py

+ 8
- 7
settings.py View File

@@ -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 = {


+ 0
- 2
urls.py View File

@@ -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
- 0
user-admin/__init__.py View File


admin.py → user-admin/admin.py View File


Loading…
Cancel
Save