Mercurial > hg-website
annotate hgscm/apps/www/urls.py @ 70:bef09338eceb
downloads: add initial handling for downloads
We are using json as a format to store our download information
as the format is rather simple and can be parsed without problems
and dependencies.
author | David Soria Parra <dsp@php.net> |
---|---|
date | Wed, 18 Feb 2009 15:32:57 +0100 |
parents | 57ece5687f92 |
children | 7395ca01d978 |
rev | line source |
---|---|
26
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
1 from django.conf.urls.defaults import * |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
2 |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
3 urlpatterns = patterns('hgscm.apps.www.views', |
b3d9cbb33d54
adding basic django project, just renders the frontpage right now
Jesper Noehr <jesper@noehr.org>
parents:
diff
changeset
|
4 url(r'^$', 'frontpage', name='frontpage'), |
45
7276388fc71b
about: integrate about page in django version
David Soria Parra <dsp@php.net>
parents:
26
diff
changeset
|
5 url(r'^about$', 'about', name='about'), |
65 | 6 url(r'^thepage$', 'thepage', name='thepage'), |
70
bef09338eceb
downloads: add initial handling for downloads
David Soria Parra <dsp@php.net>
parents:
65
diff
changeset
|
7 url(r'^downloads$', 'downloads', name='downloads'), |
bef09338eceb
downloads: add initial handling for downloads
David Soria Parra <dsp@php.net>
parents:
65
diff
changeset
|
8 url(r'^download/(?P<version>.*?)/(?P<platform>.*?)$', 'download', name='download'), |
45
7276388fc71b
about: integrate about page in django version
David Soria Parra <dsp@php.net>
parents:
26
diff
changeset
|
9 ) |