Revision 63:cf646349ba3e urls.py

b/urls.py
1 1
from django.conf.urls.defaults import *
2 2

  
3
# Uncomment the next two lines to enable the admin:
4
# from django.contrib import admin
5
# admin.autodiscover()
6

  
7 3
urlpatterns = patterns('',
8
    (r'^support/?$', 'wayf.wayf.views.support'),
9
    (r'^help/?$', 'wayf.wayf.views.support',{ 'mode': 'help' }),
10
    (r'^debug/?$', 'wayf.wayf.views.debug'),
11
    (r'^/?$', 'wayf.wayf.views.index'),
12
    (r'^wayf/?$', 'wayf.wayf.views.wayf'),
13
    (r'^setlanguage/(.*)', 'wayf.wayf.views.setlanguage'),
14
    (r'.*', 'wayf.wayf.views.static'),
15

  
16
    # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
17
    # to INSTALLED_APPS to enable admin documentation:
18
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
19

  
20
    # Uncomment the next line to enable the admin:
21
    # (r'^admin/(.*)', admin.site.root),
4
    (r'^support/?$', 'grnet_aai.aai.views.support'),
5
    (r'^help/?$', 'grnet_aai.aai.views.support',{ 'mode': 'help' }),
6
    (r'^debug/?$', 'grnet_aai.aai.views.debug'),
7
    (r'^/?$', 'grnet_aai.aai.views.index'),
8
    (r'^wayf/?$', 'grnet_aai.wayf.views.wayf'),
9
    (r'^setlanguage/(.*)', 'grnet_aai.aai.views.setlanguage'),
10
    (r'.*', 'grnet_aai.aai.views.static'),
22 11
)

Also available in: Unified diff