Nettoyage, 1ère passe…
[auf_paf.git] / paf / urls.py
1 from django.conf.urls import patterns, include, url
2 from paf.admin import StudentAdmin
3 from paf.models import Student
4 from paf.views import register, edit_info, student_list, student_info
5
6 urlpatterns = patterns('',
7 url(r'^register/', register, name='register'),
8 url(r'^edit_info/$', edit_info, name='edit_info'),
9 url(r'^student_list/$', student_list, name='student_list'),
10 url(r'^student_list/(\d?)/$', student_info, name='student_info'),
11 url(r'^student_info/$', student_info, name='student_info2'),
12 )