Skip to content

Commit a37e98c

Browse files
author
Dan Johnson
committed
Enabled admin and updated git ignore
1 parent 57f1693 commit a37e98c

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
/lib
66
/local
77
/share
8+
*.pyc

settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
'django.contrib.staticfiles',
118118
'fileupload',
119119
# Uncomment the next line to enable the admin:
120-
# 'django.contrib.admin',
120+
'django.contrib.admin',
121121
# Uncomment the next line to enable admin documentation:
122122
# 'django.contrib.admindocs',
123123
)

urls.py

Lines changed: 3 additions & 3 deletions
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)