Last change
on this file since 9142 was 9139, checked in by dennisw, 14 years ago |
Structure overhaul part 2; added website folder with the template, changes to urls.py and settings.py.
|
File size:
432 bytes
|
Rev | Line | |
---|
[9139] | 1 | from django.conf.urls.defaults import *
|
---|
| 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 | # Example:
|
---|
| 10 | (r'^website/', include('website.urls')),
|
---|
| 11 | (r'^gheat/', include('gheat.urls')),
|
---|
| 12 | (r'^admin/', include(admin.site.urls)),
|
---|
| 13 | )
|
---|
| 14 | urlpatterns += staticfiles_urlpatterns()
|
---|
| 15 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.