urls.py
author nishanth
Tue, 20 Apr 2010 01:31:45 +0530
changeset 7 dfedb369f32e
parent 6 8929b82c1dbb
child 10 7535305b1104
permissions -rw-r--r--
first fixed on the urls and then gave the admin_key in settings and then created main admin page.
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),
0
33750f11199f initial commit.
nishanth
parents:
diff changeset
    27
)