Yay, the news system is looking good now. We'll re-visit it later to add searching/sorting by news categories and stuff.
This commit is contained in:
parent
762e0f83bc
commit
613edc774f
3 changed files with 13 additions and 11 deletions
|
|
@ -85,6 +85,10 @@ USE_I18N = False
|
|||
# lighttpd).
|
||||
SERVE_MEDIA = False
|
||||
|
||||
# The master urlconf file that contains all of the sub-branches to the
|
||||
# applications.
|
||||
ROOT_URLCONF = 'urls'
|
||||
|
||||
# Where users are redirected after logging in via contribu.auth.login.
|
||||
LOGIN_REDIRECT_URL = '/'
|
||||
|
||||
|
|
@ -123,12 +127,9 @@ MIDDLEWARE_CLASSES = (
|
|||
'django.contrib.sessions.middleware.SessionMiddleware',
|
||||
'django.contrib.auth.middleware.AuthenticationMiddleware',
|
||||
'django.middleware.doc.XViewMiddleware',
|
||||
'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware',
|
||||
)
|
||||
|
||||
# The master urlconf file that contains all of the sub-branches to the
|
||||
# applications.
|
||||
ROOT_URLCONF = 'urls'
|
||||
|
||||
# Context processors define context variables, generally for the template
|
||||
# system to use.
|
||||
TEMPLATE_CONTEXT_PROCESSORS = (
|
||||
|
|
@ -154,9 +155,11 @@ TEMPLATE_DIRS = (
|
|||
# refer to app models and perform DB syncs.
|
||||
INSTALLED_APPS = (
|
||||
'django.contrib.auth',
|
||||
'django.contrib.sites,
|
||||
'django.contrib.contenttypes',
|
||||
'django.contrib.sessions',
|
||||
'django.contrib.admin',
|
||||
'django.contrib.flatpages',
|
||||
'apps.config',
|
||||
'apps.objects',
|
||||
'apps.helpsys',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue