author | anoop |
Sat, 05 Jun 2010 12:00:01 +0530 | |
branch | anoop |
changeset 33 | e17ac1365fb2 |
parent 31 | ec540dfbfe78 |
child 40 | aa5abe1664ce |
permissions | -rw-r--r-- |
0 | 1 |
from django.conf.urls.defaults import * |
2 |
||
3 |
# Uncomment the next two lines to enable the admin: |
|
16 | 4 |
from django.contrib import admin |
5 |
admin.autodiscover() |
|
0 | 6 |
|
31 | 7 |
from sage_days.sdi.views import register, homepage, schedule, organizers, venue, contact, about |
10
e6aac19d8a25
created site.urls in sdi and mapped urls.py accordingly
nishanth
parents:
0
diff
changeset
|
8 |
from sage_days.settings import APACHE_URL_PREFIX as aup |
e6aac19d8a25
created site.urls in sdi and mapped urls.py accordingly
nishanth
parents:
0
diff
changeset
|
9 |
|
0 | 10 |
urlpatterns = patterns('', |
11 |
# Example: |
|
12 |
# (r'^sage_days/', include('sage_days.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: |
|
16 | 19 |
(r'^administration/', include(admin.site.urls)), |
26
212fcba4459e
changed the app to work with apache + added base.html, and did needed changes.
anoop
parents:
16
diff
changeset
|
20 |
(r'^$',homepage), |
31 | 21 |
(r'^schedule/',schedule), |
22 |
(r'^organizers/',organizers), |
|
23 |
(r'^venue/',venue), |
|
24 |
(r'^contact/',contact), |
|
25 |
(r'^about/',about), |
|
10
e6aac19d8a25
created site.urls in sdi and mapped urls.py accordingly
nishanth
parents:
0
diff
changeset
|
26 |
(r'^registration/', include('sage_days.sdi.site.urls')), |
0 | 27 |
) |