~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to urls.py

  • Committer: Holger Rapp
  • Date: 2009-02-19 15:31:42 UTC
  • Revision ID: sirver@h566336-20090219153142-dc8xuabldnw5t395
Initial commit of new widelands homepage

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
from 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
 
 
7
# 3rd party
 
8
import wiki.urls
 
9
 
 
10
urlpatterns = patterns('',
 
11
    # Example:
 
12
    (r'main/$', include('widelands.mainpage.urls')),
 
13
 
 
14
    # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
 
15
    # to INSTALLED_APPS to enable admin documentation:
 
16
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
 
17
 
 
18
    # Uncomment the next line to enable the admin:
 
19
    (r'^admin/', include(admin.site.urls)),
 
20
    (r'^wiki/', include(wiki.urls)),
 
21
)