urls.py
author nishanth
Tue, 20 Apr 2010 09:55:46 +0530
changeset 11 afc41af983e5
parent 10 7535305b1104
child 12 81cd0140a0f2
permissions -rw-r--r--
added show_report functionality
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
33750f11199f initial commit.
nishanth
parents:
diff changeset
     1
from django.conf.urls.defaults import *
33750f11199f initial commit.
nishanth
parents:
diff changeset
     2
6
8929b82c1dbb added home page with minimum functionality
nishanth
parents: 5
diff changeset
     3
from offline.feedback import views as feed_views
8929b82c1dbb added home page with minimum functionality
nishanth
parents: 5
diff changeset
     4
from offline.event import views as event_views
5
9a671f3eb24c created the add feedback functionality
nishanth
parents: 0
diff changeset
     5
0
33750f11199f initial commit.
nishanth
parents:
diff changeset
     6
# Uncomment the next two lines to enable the admin:
33750f11199f initial commit.
nishanth
parents:
diff changeset
     7
# from django.contrib import admin
33750f11199f initial commit.
nishanth
parents:
diff changeset
     8
# admin.autodiscover()
33750f11199f initial commit.
nishanth
parents:
diff changeset
     9
33750f11199f initial commit.
nishanth
parents:
diff changeset
    10
urlpatterns = patterns('',
33750f11199f initial commit.
nishanth
parents:
diff changeset
    11
    # Example:
33750f11199f initial commit.
nishanth
parents:
diff changeset
    12
    # (r'^offline/', include('offline.foo.urls')),
33750f11199f initial commit.
nishanth
parents:
diff changeset
    13
33750f11199f initial commit.
nishanth
parents:
diff changeset
    14
    # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
33750f11199f initial commit.
nishanth
parents:
diff changeset
    15
    # to INSTALLED_APPS to enable admin documentation:
33750f11199f initial commit.
nishanth
parents:
diff changeset
    16
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
33750f11199f initial commit.
nishanth
parents:
diff changeset
    17
33750f11199f initial commit.
nishanth
parents:
diff changeset
    18
    # Uncomment the next line to enable the admin:
33750f11199f initial commit.
nishanth
parents:
diff changeset
    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
8929b82c1dbb added home page with minimum functionality
nishanth
parents: 5
diff changeset
    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),
10
7535305b1104 created list feedbacks page
nishanth
parents: 7
diff changeset
    27
    (r'^feedback/list/(\w+)$', feed_views.list_feedbacks),
11
afc41af983e5 added show_report functionality
nishanth
parents: 10
diff changeset
    28
    (r'^feedback/report/(\w+)$', feed_views.view_report),
0
33750f11199f initial commit.
nishanth
parents:
diff changeset
    29
)