Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

A few tweaks to djangoproject.com settings

git-svn-id: http://code.djangoproject.com/svn/djangoproject.com@3153 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 81e40a474ba5a9e31922e1a64f291f787336fdf5 1 parent a270288
jacob authored
View
3  django_website/settings/main.py
@@ -24,6 +24,7 @@
INSTALLED_APPS = (
'django.contrib.sites',
'django.contrib.auth',
+ 'django.contrib.admin',
'django.contrib.comments',
'django.contrib.contenttypes',
'django.contrib.flatpages',
@@ -33,6 +34,7 @@
'django_website.apps.docs',
'django_website.apps.aggregator',
)
+ADMIN_MEDIA_PREFIX = 'http://media.djangoproject.com/admin/'
MEDIA_ROOT = "/home/html/djangoproject.com/m/"
MEDIA_URL = "http://www.djangoproject.com.com/m/"
@@ -55,4 +57,5 @@
)
TEMPLATE_LOADERS = (
'django.template.loaders.filesystem.load_template_source',
+ 'django.template.loaders.app_directories.load_template_source',
)
View
3  django_website/settings/urls/main.py
@@ -28,5 +28,8 @@
(r'^comments/', include('django.contrib.comments.urls.comments')),
(r'^community/$', 'django.views.generic.list_detail.object_list', aggregator_info_dict),
(r'^rss/(?P<url>.*)/$', 'django.contrib.syndication.views.feed', {'feed_dict': feeds}),
+ (r'^password_reset/', include('django.conf.urls.admin_password_reset')),
+ (r'^r/', include('django.conf.urls.shortcut')),
+ (r'^admin/', include('django.contrib.admin.urls')),
(r'', include('django.contrib.flatpages.urls')),
)
Please sign in to comment.
Something went wrong with that request. Please try again.