Skip to content

Commit 569279b

Browse files
committed
Django administration enabled
1 parent 9b5d8cc commit 569279b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

settings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
'django.contrib.staticfiles',
120120
'fileupload',
121121
# Uncomment the next line to enable the admin:
122-
# 'django.contrib.admin',
122+
'django.contrib.admin',
123123
# Uncomment the next line to enable admin documentation:
124124
# 'django.contrib.admindocs',
125125
)

urls.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
from django.conf.urls.defaults import patterns, include, url
22

33
# Uncomment the next two lines to enable the admin:
4-
# from django.contrib import admin
5-
# admin.autodiscover()
4+
from django.contrib import admin
5+
admin.autodiscover()
66

77
urlpatterns = patterns('',
88
# Examples:
@@ -13,7 +13,7 @@
1313
# url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
1414

1515
# Uncomment the next line to enable the admin:
16-
# url(r'^admin/', include(admin.site.urls)),
16+
url(r'^admin/', include(admin.site.urls)),
1717
)
1818

1919
import os

0 commit comments

Comments
 (0)