author | nishanth |
Tue, 20 Apr 2010 01:31:45 +0530 | |
changeset 7 | dfedb369f32e |
parent 6 | 8929b82c1dbb |
child 10 | 7535305b1104 |
permissions | -rw-r--r-- |
0 | 1 |
from django.conf.urls.defaults import * |
2 |
||
6 | 3 |
from offline.feedback import views as feed_views |
4 |
from offline.event import views as event_views |
|
5 | 5 |
|
0 | 6 |
# Uncomment the next two lines to enable the admin: |
7 |
# from django.contrib import admin |
|
8 |
# admin.autodiscover() |
|
9 |
||
10 |
urlpatterns = patterns('', |
|
11 |
# Example: |
|
12 |
# (r'^offline/', include('offline.foo.urls')), |
|
13 |
||
14 |
# Uncomment the admin/doc line below and add 'django.contrib.admindocs' |
|
15 |
# to INSTALLED_APPS to enable admin documentation: |
|
16 |
# (r'^admin/doc/', include('django.contrib.admindocs.urls')), |
|
17 |
||
18 |
# Uncomment the next line to enable the admin: |
|
19 |
# (r'^admin/', include(admin.site.urls)), |
|
7
dfedb369f32e
first fixed on the urls and then gave the admin_key in settings and then created main admin page.
nishanth
parents:
6
diff
changeset
|
20 |
|
6 | 21 |
(r'^$', event_views.event_home), |
7
dfedb369f32e
first fixed on the urls and then gave the admin_key in settings and then created main admin page.
nishanth
parents:
6
diff
changeset
|
22 |
(r'^event/admin/(\w+)$', event_views.event_admin), |
dfedb369f32e
first fixed on the urls and then gave the admin_key in settings and then created main admin page.
nishanth
parents:
6
diff
changeset
|
23 |
(r'^event/create/(\w+)$', event_views.event_create), |
dfedb369f32e
first fixed on the urls and then gave the admin_key in settings and then created main admin page.
nishanth
parents:
6
diff
changeset
|
24 |
(r'^feedback/submit$', feed_views.submit_feedback), |
dfedb369f32e
first fixed on the urls and then gave the admin_key in settings and then created main admin page.
nishanth
parents:
6
diff
changeset
|
25 |
(r'^feedback/open/(\w+)$', feed_views.open_feedback), |
dfedb369f32e
first fixed on the urls and then gave the admin_key in settings and then created main admin page.
nishanth
parents:
6
diff
changeset
|
26 |
(r'^feedback/close/(\w+)$', feed_views.close_feedback), |
0 | 27 |
) |