-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathurls.py~
More file actions
28 lines (23 loc) · 934 Bytes
/
urls.py~
File metadata and controls
28 lines (23 loc) · 934 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
from django.conf.urls.defaults import *
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
# Example:
#(r'^blog/$', 'index'),
#(r'^blog/(?P<blog_id>\d+)/$', 'readblog'),
#(r'^blog/(?P<blog_id>\d+)/comment/$', 'comment'),
#(r'^blog/(?P<blog_id>\d+)/comment/add/$', 'addComment'),
#(r'^blog/(?P<blog_id>\d+)/postComment/$', 'postComment'),
#(r'^blog/writeBlog/$', 'writeBlog'),
#(r'^blog/postEntry/$', 'postEntry'),
# (r'^simpleblog/$', 'simpleblog.views.index'),
# Uncomment the admin/doc line below to enable admin documentation:
# (r'^admin/doc/', include('django.contrib.admindocs.urls')),
# Uncomment the next line to enable the admin:
(r'^blog/', include('dblog.urls')),
(r'^admin/', include(admin.site.urls)),
)
#urlpatterns += patterns('',
# (r'^admin/', include(admin.site.urls)),
#)