nautilus-scripts : compression de PDF
[progfou.git] / gestionmateriel / urls.py
CommitLineData
4d91d52c
P
1#from django.conf import settings
2from django.conf.urls.defaults import *
3from django.views.generic.simple import direct_to_template, redirect_to
4
5# Uncomment the next two lines to enable the admin:
6from django.contrib import admin
7admin.autodiscover()
8
9urlpatterns = 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)