File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 5
5
/lib
6
6
/local
7
7
/share
8
+ * .pyc
Original file line number Diff line number Diff line change 117
117
'django.contrib.staticfiles' ,
118
118
'fileupload' ,
119
119
# Uncomment the next line to enable the admin:
120
- # 'django.contrib.admin',
120
+ 'django.contrib.admin' ,
121
121
# Uncomment the next line to enable admin documentation:
122
122
# 'django.contrib.admindocs',
123
123
)
Original file line number Diff line number Diff line change 1
1
from django .conf .urls .defaults import patterns , include , url
2
2
3
3
# 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 ()
6
6
7
7
urlpatterns = patterns ('' ,
8
8
# Examples:
13
13
# url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
14
14
15
15
# Uncomment the next line to enable the admin:
16
- # url(r'^admin/', include(admin.site.urls)),
16
+ url (r'^admin/' , include (admin .site .urls )),
17
17
)
18
18
19
19
import os
You can’t perform that action at this time.
0 commit comments