Permalink
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...
1 parent a270288 commit 81e40a474ba5a9e31922e1a64f291f787336fdf5 jacob committed Jun 19, 2006
Showing with 6 additions and 0 deletions.
  1. +3 −0 django_website/settings/main.py
  2. +3 −0 django_website/settings/urls/main.py
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')),
)

0 comments on commit 81e40a4

Please sign in to comment.