Premier jet d'une contrib de gestion de matériels pour a-d-u.
[progfou.git] / gestionmateriel / urls.py
1 #from django.conf import settings
2 from django.conf.urls.defaults import *
3 from django.views.generic.simple import direct_to_template, redirect_to
4
5 # Uncomment the next two lines to enable the admin:
6 from django.contrib import admin
7 admin.autodiscover()
8
9 urlpatterns = patterns('',
10 #(r'^$', direct_to_template, {'template': 'index.html'}),
11 (r'^$', redirect_to, {'url': '/materiel/'}),
12 (r'^materiel/', include('materiel.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/(.*)', admin.site.root),
20 )