source: subversion/applications/editors/django/osmeditor/urls.py

Last change on this file was 13451, checked in by crschmidt, 10 years ago

add static directory, with a simple map, that won't work right now, based
around the idea of proxying to a FeatureServer? setup atm.

File size: 631 bytes
RevLine 
[13349]1from django.conf.urls.defaults import *
2
3# Uncomment the next two lines to enable the admin:
4# from django.contrib import admin
5# admin.autodiscover()
6
7urlpatterns = patterns('',
8    # Example:
9    (r'^', include('osmeditor.simple.urls')),
[13451]10    (r'^static/(?P<path>.*)$', 'django.views.static.serve',
11        {'document_root': 'static'})
[13349]12
13    # Uncomment the admin/doc line below and add 'django.contrib.admindocs'
14    # to INSTALLED_APPS to enable admin documentation:
15    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
16
17    # Uncomment the next line to enable the admin:
18    # (r'^admin/(.*)', admin.site.root),
19)
Note: See TracBrowser for help on using the repository browser.