Mercurial > hg-website
view hgscm/urls.py @ 66:f45f8c7fb0f3
Add ugly 'this is a development edition' notice to the frontpage.
author | David Soria Parra <dsp@php.net> |
---|---|
date | Wed, 18 Feb 2009 06:03:09 +0100 |
parents | b3d9cbb33d54 |
children | e8119809dfab |
line wrap: on
line source
import os from django.conf.urls.defaults import * from django.conf import settings urlpatterns = patterns('', (r'^', include('hgscm.apps.www.urls')), (r'^media/(?P<path>.*)$', 'django.views.static.serve', { 'document_root': os.path.join(settings.MEDIA_ROOT) }), # Uncomment the next line to enable the admin: # (r'^admin/(.*)', admin.site.root), )