File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 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)
Original file line number Diff line number Diff line change 11from 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
77urlpatterns = patterns ('' ,
88 # Examples:
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
1919import os
You can’t perform that action at this time.
0 commit comments