project/urls.py
author Madhusudan.C.S <madhusudancs@gmail.com>
Tue, 13 Jul 2010 17:00:55 +0530
changeset 106 7ebd3a7e8ccf
parent 104 06b7e950a798
permissions -rw-r--r--
Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
    '',
106
7ebd3a7e8ccf Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 104
diff changeset
    21
    url(r'^$',  direct_to_template, {"template": "home.html"}, name='home'),
7ebd3a7e8ccf Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 104
diff changeset
    22
    (r'^feeds/(?P<url>.*)/$', 'django.contrib.syndication.views.feed', {'feed_dict': feeds}),
7ebd3a7e8ccf Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 104
diff changeset
    23
    (r'^comments/', include('django.contrib.comments.urls')),
7ebd3a7e8ccf Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 104
diff changeset
    24
    (r'^admin/(.*)', admin.site.root),
1
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.
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    28
urlpatterns += patterns('project.kiwipycon.talk.views',
106
7ebd3a7e8ccf Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 104
diff changeset
    29
    url(r'^talks/$',  'list_talks', name='list_talks'),
7ebd3a7e8ccf Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 104
diff changeset
    30
    url(r'^talks/talk/(?P<id>\d+)/$',  'talk', name='talk_detail'),
7ebd3a7e8ccf Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 104
diff changeset
    31
    url(r'^submit-talk/$',  'submit_talk', name='kiwipycon_submit_talk'),
7ebd3a7e8ccf Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 104
diff changeset
    32
    url(r'^edit-talk/(?P<id>\d+)/$',  'edit_talk', name='kiwipycon_edit_talk'),
7ebd3a7e8ccf Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 104
diff changeset
    33
    url(r'^talks-cfp/list-talks/(?P<id>\d+)/$',  'list_talks',
40
c8414e2b34ce Added my talks list page.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 33
diff changeset
    34
        name='kiwipycon_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
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    38
urlpatterns += patterns('project.kiwipycon.registration.views',
106
7ebd3a7e8ccf Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 104
diff changeset
    39
    url(r'^invoice/$',  'invoice', name='kiwipycon_invoice'),
7ebd3a7e8ccf Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 104
diff changeset
    40
    url(r'^pdf_invoice/$',  'pdf_invoice', name='kiwipycon_pdf_invoice'),
7ebd3a7e8ccf Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 104
diff changeset
    41
    url(r'^registrations/$',  'registrations', name='kiwipycon_registrations'),
7ebd3a7e8ccf Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 104
diff changeset
    42
    url(r'^submit-registration/$',  'submit_registration', name='kiwipycon_submit_registration'),
7ebd3a7e8ccf Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 104
diff changeset
    43
    url(r'^edit-registration/(?P<id>\d+)/$',  '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
    44
        name='kiwipycon_edit_registration'),
106
7ebd3a7e8ccf Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 104
diff changeset
    45
    url(r'^download_csv/', 'download_csv', name="download_csv"),
1
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
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    48
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    49
# Authentication and Profile
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    50
urlpatterns += patterns('project.kiwipycon.user.views',
106
7ebd3a7e8ccf Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 104
diff changeset
    51
    url(r'^login/$',  'login', name='kiwipycon_login'),
7ebd3a7e8ccf Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 104
diff changeset
    52
    url(r'^logout/$',  'logout', name='kiwipycon_logout'),
7ebd3a7e8ccf Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 104
diff changeset
    53
    url(r'^account/$',  'account', name='kiwipycon_account'),
7ebd3a7e8ccf Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 104
diff changeset
    54
    url(r'^password/$', 'password', name='kiwipycon_password'), # change pwd
7ebd3a7e8ccf Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 104
diff changeset
    55
    url(r'^username/$', 'username', name='kiwipycon_username'), # change uname
7ebd3a7e8ccf Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 104
diff changeset
    56
    url(r'^edit-profile/$', 'edit_profile', name='kiwipycon_edit_profile'),
1
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    57
    )
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    58
89
4ad0ba26ba48 Added URL mappers for proceedings to urls.py.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 85
diff changeset
    59
# Proceedings
4ad0ba26ba48 Added URL mappers for proceedings to urls.py.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 85
diff changeset
    60
urlpatterns += patterns('project.kiwipycon.proceedings.views',
106
7ebd3a7e8ccf Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 104
diff changeset
    61
    url(r'^proceedings/submit/$',  'submit', name='kiwipycon_submit_proceedings'),
7ebd3a7e8ccf Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 104
diff changeset
    62
    url(r'^proceedings/getusers/$',  'getUsers', name='kiwipycon_getusers_proceedings'),
7ebd3a7e8ccf Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 104
diff changeset
    63
    url(r'^proceedings/edit/$',  'edit', name='kiwipycon_edit_proceedings'),
89
4ad0ba26ba48 Added URL mappers for proceedings to urls.py.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 85
diff changeset
    64
    )
4ad0ba26ba48 Added URL mappers for proceedings to urls.py.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 85
diff changeset
    65
1
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    66
# 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
    67
urlpatterns += patterns('',
106
7ebd3a7e8ccf Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 104
diff changeset
    68
    url(r'^about/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
    69
        direct_to_template, {"template": "about/accommodation.html"},
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    70
        name='accommodation'),
106
7ebd3a7e8ccf Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 104
diff changeset
    71
    url(r'^about/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
    72
        direct_to_template, {"template": "about/food.html"}, name='food'),
106
7ebd3a7e8ccf Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 104
diff changeset
    73
    url(r'^about/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
    74
        direct_to_template, {"template": "about/venue.html"}, name='venue'),
106
7ebd3a7e8ccf Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 104
diff changeset
    75
    url(r'^about/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
    76
        direct_to_template, {"template": "about/reaching.html"},
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    77
        name='reaching'),
106
7ebd3a7e8ccf Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 104
diff changeset
    78
    url(r'^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
    79
        direct_to_template, {"template": "talk/talks-cfp.html"},
33
7dc40ba1b35c Added speakers section.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 24
diff changeset
    80
        name='talks-cfp'),
106
7ebd3a7e8ccf Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 104
diff changeset
    81
    url(r'^talks-cfp/schedule/$', 
1
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    82
        direct_to_template, {"template": "talk/schedule.html"},
33
7dc40ba1b35c Added speakers section.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 24
diff changeset
    83
        name='schedule'),
106
7ebd3a7e8ccf Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 104
diff changeset
    84
    url(r'^talks-cfp/tutorial/$', 
76
c1f967c47334 Added tutorial schedule.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 73
diff changeset
    85
        direct_to_template, {"template": "talk/tutorial-schedule.html"},
c1f967c47334 Added tutorial schedule.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 73
diff changeset
    86
        name='tutorial-schedule'),
106
7ebd3a7e8ccf Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 104
diff changeset
    87
    url(r'^talks-cfp/sprint/$', 
73
05e834df29ff Added split schedule for tutorial and sprint.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 40
diff changeset
    88
        direct_to_template, {"template": "talk/sprint-schedule.html"},
76
c1f967c47334 Added tutorial schedule.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 73
diff changeset
    89
        name='sprint-schedule'),
106
7ebd3a7e8ccf Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 104
diff changeset
    90
    url(r'^talks-cfp/speakers/$', 
33
7dc40ba1b35c Added speakers section.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 24
diff changeset
    91
        direct_to_template, {"template": "talk/speakers.html"},
7dc40ba1b35c Added speakers section.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 24
diff changeset
    92
        name='speakers'),
106
7ebd3a7e8ccf Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 104
diff changeset
    93
    (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
    94
    )
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    95
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    96
# 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
    97
urlpatterns += patterns('django.contrib.auth.views',
106
7ebd3a7e8ccf Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 104
diff changeset
    98
     url(r'^password-reset/$', 'password_reset', name='kiwipycon_password_reset'),
7ebd3a7e8ccf Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 104
diff changeset
    99
     url(r'^password-reset-done/$', 'password_reset_done'),
7ebd3a7e8ccf Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 104
diff changeset
   100
     url(r'^password-reset-confirm/(?P<uidb36>[-\w]*)/(?P<token>[-\w]*)$', 'password_reset_confirm'),
7ebd3a7e8ccf Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 104
diff changeset
   101
     url(r'^password-reset-complete/$', 'password_reset_complete'),
1
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   102
)
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   103
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   104
# 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
   105
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
   106
    urlpatterns += patterns('',
106
7ebd3a7e8ccf Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 104
diff changeset
   107
        (r'^/2009/media/(?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
   108
         {'document_root': settings.MEDIA_ROOT}),
106
7ebd3a7e8ccf Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 104
diff changeset
   109
        (r'^/2009/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
   110
         {'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
   111
    )