Mercurial > hg-website
view 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 |
line wrap: on
line source
from django.conf.urls.defaults import * urlpatterns = patterns('hgscm.apps.www.views', url(r'^$', 'frontpage', name='frontpage'), url(r'^about$', 'about', name='about'), url(r'^thepage$', 'thepage', name='thepage'), url(r'^downloads$', 'downloads', name='downloads'), url(r'^download/(?P<version>.*?)/(?P<platform>.*?)$', 'download', name='download'), )