Last change
on this file since 292 was 291, checked in by Rick van der Zwet, 14 years ago |
Project import and intial application 'running' import, which combines django with protovis.
|
File size:
722 bytes
|
Rev | Line | |
---|
[291] | 1 | from django.conf.urls.defaults import patterns, include, url
|
---|
| 2 | from django.contrib.staticfiles.urls import staticfiles_urlpatterns
|
---|
| 3 |
|
---|
| 4 | # Uncomment the next two lines to enable the admin:
|
---|
| 5 | from django.contrib import admin
|
---|
| 6 | admin.autodiscover()
|
---|
| 7 |
|
---|
| 8 | urlpatterns = patterns('',
|
---|
| 9 | # Examples:
|
---|
| 10 | # url(r'^$', 'foobar.views.home', name='home'),
|
---|
| 11 | # url(r'^foobar/', include('foobar.foo.urls')),
|
---|
| 12 | url(r'^running/', include('foobar.running.urls')),
|
---|
| 13 |
|
---|
| 14 | # Uncomment the admin/doc line below to enable admin documentation:
|
---|
| 15 | url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
|
---|
| 16 |
|
---|
| 17 | # Uncomment the next line to enable the admin:
|
---|
| 18 | url(r'^admin/', include(admin.site.urls)),
|
---|
| 19 | )
|
---|
| 20 |
|
---|
| 21 | urlpatterns += staticfiles_urlpatterns()
|
---|
Note:
See
TracBrowser
for help on using the repository browser.