author | Madhusudan.C.S <madhusudancs@gmail.com> |
Tue, 13 Jul 2010 17:59:47 +0530 | |
changeset 94 | 87e77aa18610 |
parent 93 | e86755df35da |
child 96 | 178b89a3ca4f |
permissions | -rw-r--r-- |
1
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
1 |
#django |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
2 |
from django.conf.urls.defaults import include |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
3 |
from django.conf.urls.defaults import patterns |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
4 |
from django.conf import settings |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
5 |
from django.contrib import admin |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
6 |
from django.views.generic.simple import direct_to_template |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
7 |
from django.conf.urls.defaults import * |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
8 |
|
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
9 |
#basic.blog |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
10 |
from basic.blog.feeds import BlogPostsFeed |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
11 |
|
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
12 |
feeds = { |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
13 |
'blog': BlogPostsFeed, |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
14 |
} |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
15 |
|
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
16 |
admin.autodiscover() |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
17 |
|
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
18 |
# Blog & Admin |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
19 |
urlpatterns = patterns( |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
20 |
'', |
40
c8414e2b34ce
Added my talks list page.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
33
diff
changeset
|
21 |
url(r'^$', direct_to_template, {"template": "home.html"}, name='home'), |
1
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
22 |
(r'^feeds/(?P<url>.*)/$', 'django.contrib.syndication.views.feed', {'feed_dict': feeds}), |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
23 |
(r'^comments/', include('django.contrib.comments.urls')), |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
24 |
(r'^admin/(.*)', admin.site.root), |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
25 |
) |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
26 |
|
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
27 |
# Talks, etc. |
94
87e77aa18610
Moved the files to new Django app named scipycon and modified settings.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
93
diff
changeset
|
28 |
urlpatterns += patterns('project.scipycon.talk.views', |
87e77aa18610
Moved the files to new Django app named scipycon and modified settings.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
93
diff
changeset
|
29 |
url(r'^talks/$', 'list_talks', name='list_talks'), |
87e77aa18610
Moved the files to new Django app named scipycon and modified settings.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
93
diff
changeset
|
30 |
url(r'^talks/talk/(?P<id>\d+)/$', 'talk', name='talk_detail'), |
87e77aa18610
Moved the files to new Django app named scipycon and modified settings.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
93
diff
changeset
|
31 |
url(r'^submit-talk/$', 'submit_talk', name='scipycon_submit_talk'), |
87e77aa18610
Moved the files to new Django app named scipycon and modified settings.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
93
diff
changeset
|
32 |
url(r'^edit-talk/(?P<id>\d+)/$', 'edit_talk', name='scipycon_edit_talk'), |
87e77aa18610
Moved the files to new Django app named scipycon and modified settings.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
93
diff
changeset
|
33 |
url(r'^talks-cfp/list-talks/(?P<id>\d+)/$', 'list_talks', |
87e77aa18610
Moved the files to new Django app named scipycon and modified settings.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
93
diff
changeset
|
34 |
name='scipycon_list_talk'), |
1
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
35 |
) |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
36 |
|
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
37 |
# Registration |
94
87e77aa18610
Moved the files to new Django app named scipycon and modified settings.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
93
diff
changeset
|
38 |
urlpatterns += patterns('project.scipycon.registration.views', |
87e77aa18610
Moved the files to new Django app named scipycon and modified settings.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
93
diff
changeset
|
39 |
url(r'^registrations/$', 'registrations', name='scipycon_registrations'), |
87e77aa18610
Moved the files to new Django app named scipycon and modified settings.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
93
diff
changeset
|
40 |
url(r'^submit-registration/$', 'submit_registration', name='scipycon_submit_registration'), |
87e77aa18610
Moved the files to new Django app named scipycon and modified settings.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
93
diff
changeset
|
41 |
url(r'^edit-registration/(?P<id>\d+)/$', 'edit_registration', |
87e77aa18610
Moved the files to new Django app named scipycon and modified settings.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
93
diff
changeset
|
42 |
name='scipycon_edit_registration'), |
1
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
43 |
url(r'^download_csv/', 'download_csv', name="download_csv"), |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
44 |
) |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
45 |
|
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
46 |
|
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
47 |
# Authentication and Profile |
94
87e77aa18610
Moved the files to new Django app named scipycon and modified settings.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
93
diff
changeset
|
48 |
urlpatterns += patterns('project.scipycon.user.views', |
87e77aa18610
Moved the files to new Django app named scipycon and modified settings.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
93
diff
changeset
|
49 |
url(r'^login/$', 'login', name='scipycon_login'), |
87e77aa18610
Moved the files to new Django app named scipycon and modified settings.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
93
diff
changeset
|
50 |
url(r'^logout/$', 'logout', name='scipycon_logout'), |
87e77aa18610
Moved the files to new Django app named scipycon and modified settings.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
93
diff
changeset
|
51 |
url(r'^account/$', 'account', name='scipycon_account'), |
87e77aa18610
Moved the files to new Django app named scipycon and modified settings.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
93
diff
changeset
|
52 |
url(r'^password/$', 'password', name='scipycon_password'), # change pwd |
87e77aa18610
Moved the files to new Django app named scipycon and modified settings.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
93
diff
changeset
|
53 |
url(r'^username/$', 'username', name='scipycon_username'), # change uname |
87e77aa18610
Moved the files to new Django app named scipycon and modified settings.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
93
diff
changeset
|
54 |
url(r'^edit-profile/$', 'edit_profile', name='scipycon_edit_profile'), |
87e77aa18610
Moved the files to new Django app named scipycon and modified settings.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
93
diff
changeset
|
55 |
url(r'^get-usernames/$', 'get_usernames', name='scipycon_get_usernames'), |
1
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
56 |
) |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
57 |
|
89
4ad0ba26ba48
Added URL mappers for proceedings to urls.py.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
85
diff
changeset
|
58 |
# Proceedings |
94
87e77aa18610
Moved the files to new Django app named scipycon and modified settings.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
93
diff
changeset
|
59 |
urlpatterns += patterns('project.scipycon.proceedings.views', |
93
e86755df35da
Add admin interface and views for proceedings. Booklet is also setup to generate paper.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
89
diff
changeset
|
60 |
url(r'^proceedings/submit/$', 'submit', |
94
87e77aa18610
Moved the files to new Django app named scipycon and modified settings.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
93
diff
changeset
|
61 |
name='scipycon_submit_proceedings'), |
93
e86755df35da
Add admin interface and views for proceedings. Booklet is also setup to generate paper.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
89
diff
changeset
|
62 |
url(r'^proceedings/submit/(?P<id>\d+)/$', 'submit', |
94
87e77aa18610
Moved the files to new Django app named scipycon and modified settings.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
93
diff
changeset
|
63 |
name='scipycon_submit_proceedings'), |
93
e86755df35da
Add admin interface and views for proceedings. Booklet is also setup to generate paper.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
89
diff
changeset
|
64 |
url(r'^proceedings/show_paper/(?P<id>\d+)/$', 'show_paper', |
94
87e77aa18610
Moved the files to new Django app named scipycon and modified settings.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
93
diff
changeset
|
65 |
name='scipycon_show_paper'), |
89
4ad0ba26ba48
Added URL mappers for proceedings to urls.py.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
85
diff
changeset
|
66 |
) |
4ad0ba26ba48
Added URL mappers for proceedings to urls.py.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
85
diff
changeset
|
67 |
|
1
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
68 |
# About pages and all other static html pages |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
69 |
urlpatterns += patterns('', |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
70 |
url(r'^about/accommodation/$', |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
71 |
direct_to_template, {"template": "about/accommodation.html"}, |
94
87e77aa18610
Moved the files to new Django app named scipycon and modified settings.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
93
diff
changeset
|
72 |
name='scipycon_accommodation'), |
1
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
73 |
url(r'^about/food/$', |
94
87e77aa18610
Moved the files to new Django app named scipycon and modified settings.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
93
diff
changeset
|
74 |
direct_to_template, {"template": "about/food.html"}, name='scipycon_food'), |
1
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
75 |
url(r'^about/venue/$', |
94
87e77aa18610
Moved the files to new Django app named scipycon and modified settings.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
93
diff
changeset
|
76 |
direct_to_template, {"template": "about/venue.html"}, name='scipycon_venue'), |
1
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
77 |
url(r'^about/reaching/$', |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
78 |
direct_to_template, {"template": "about/reaching.html"}, |
94
87e77aa18610
Moved the files to new Django app named scipycon and modified settings.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
93
diff
changeset
|
79 |
name='scipycon_reaching'), |
1
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
80 |
url(r'^talks-cfp/$', |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
81 |
direct_to_template, {"template": "talk/talks-cfp.html"}, |
94
87e77aa18610
Moved the files to new Django app named scipycon and modified settings.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
93
diff
changeset
|
82 |
name='scipycon_talks_cfp'), |
1
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
83 |
url(r'^talks-cfp/schedule/$', |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
84 |
direct_to_template, {"template": "talk/schedule.html"}, |
94
87e77aa18610
Moved the files to new Django app named scipycon and modified settings.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
93
diff
changeset
|
85 |
name='scipycon_schedule'), |
76
c1f967c47334
Added tutorial schedule.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
73
diff
changeset
|
86 |
url(r'^talks-cfp/tutorial/$', |
c1f967c47334
Added tutorial schedule.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
73
diff
changeset
|
87 |
direct_to_template, {"template": "talk/tutorial-schedule.html"}, |
94
87e77aa18610
Moved the files to new Django app named scipycon and modified settings.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
93
diff
changeset
|
88 |
name='scipycon_tutorial_schedule'), |
73
05e834df29ff
Added split schedule for tutorial and sprint.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
40
diff
changeset
|
89 |
url(r'^talks-cfp/sprint/$', |
05e834df29ff
Added split schedule for tutorial and sprint.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
40
diff
changeset
|
90 |
direct_to_template, {"template": "talk/sprint-schedule.html"}, |
94
87e77aa18610
Moved the files to new Django app named scipycon and modified settings.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
93
diff
changeset
|
91 |
name='scipycon_sprint_schedule'), |
33
7dc40ba1b35c
Added speakers section.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
24
diff
changeset
|
92 |
url(r'^talks-cfp/speakers/$', |
7dc40ba1b35c
Added speakers section.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
24
diff
changeset
|
93 |
direct_to_template, {"template": "talk/speakers.html"}, |
94
87e77aa18610
Moved the files to new Django app named scipycon and modified settings.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
93
diff
changeset
|
94 |
name='scipycon_speakers'), |
24 | 95 |
(r'^accounts/', include('registration.urls')), |
1
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
96 |
) |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
97 |
|
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
98 |
# Password reset |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
99 |
urlpatterns += patterns('django.contrib.auth.views', |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
100 |
url(r'^password-reset/$', 'password_reset', name='kiwipycon_password_reset'), |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
101 |
url(r'^password-reset-done/$', 'password_reset_done'), |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
102 |
url(r'^password-reset-confirm/(?P<uidb36>[-\w]*)/(?P<token>[-\w]*)$', 'password_reset_confirm'), |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
103 |
url(r'^password-reset-complete/$', 'password_reset_complete'), |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
104 |
) |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
105 |
|
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
106 |
# Serve static files in DEBUG = True mode |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
107 |
if settings.DEBUG: |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
108 |
urlpatterns += patterns('', |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
109 |
(r'^media/(?P<path>.*)$', 'django.views.static.serve', |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
110 |
{'document_root': settings.MEDIA_ROOT}), |
85
07b48746fe29
Changed the URL mapper for loading static content in debug mode. Appended static/.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
76
diff
changeset
|
111 |
(r'^static/(?P<path>.*)$', 'django.views.static.serve', |
1
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
112 |
{'document_root': settings.STATIC_ROOT}), |
fda1c66b25f9
Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
113 |
) |