Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
authored
3  django_website/settings/main.py
@@ -24,6 +24,7 @@
24 24
 INSTALLED_APPS = (
25 25
     'django.contrib.sites',
26 26
     'django.contrib.auth',
  27
+    'django.contrib.admin',
27 28
     'django.contrib.comments',
28 29
     'django.contrib.contenttypes',
29 30
     'django.contrib.flatpages',
@@ -33,6 +34,7 @@
33 34
     'django_website.apps.docs',
34 35
     'django_website.apps.aggregator',
35 36
 )
  37
+ADMIN_MEDIA_PREFIX = 'http://media.djangoproject.com/admin/'
36 38
 MEDIA_ROOT = "/home/html/djangoproject.com/m/"
37 39
 MEDIA_URL = "http://www.djangoproject.com.com/m/"
38 40
 
@@ -55,4 +57,5 @@
55 57
 )
56 58
 TEMPLATE_LOADERS = (
57 59
     'django.template.loaders.filesystem.load_template_source',
  60
+    'django.template.loaders.app_directories.load_template_source',
58 61
 )
3  django_website/settings/urls/main.py
@@ -28,5 +28,8 @@
28 28
     (r'^comments/', include('django.contrib.comments.urls.comments')),
29 29
     (r'^community/$', 'django.views.generic.list_detail.object_list', aggregator_info_dict),
30 30
     (r'^rss/(?P<url>.*)/$', 'django.contrib.syndication.views.feed', {'feed_dict': feeds}),
  31
+    (r'^password_reset/', include('django.conf.urls.admin_password_reset')),
  32
+    (r'^r/', include('django.conf.urls.shortcut')),
  33
+    (r'^admin/', include('django.contrib.admin.urls')),
31 34
     (r'', include('django.contrib.flatpages.urls')),
32 35
 )

0 notes on commit 81e40a4

Please sign in to comment.
Something went wrong with that request. Please try again.