view hgscm/urls.py @ 40:4725663ced4b

Added dummy download link for others OSs than OSX and Linux and changed the Python requirement to the 2.4 which is required by TortoiseHG (Mercurial itself only needs 2.3).
author Arne Babenhauserheide <bab@draketo.de>
date Mon, 16 Feb 2009 11:37:12 +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),
)