[#2533] Il manquait la colonne 'qualite' dans la migration initiale
[auf_django_references.git] / tests / universite / urls.py
CommitLineData
a10aee41
EMS
1from __future__ import absolute_import
2
b8abf60c
EMS
3from django.conf.urls.defaults import patterns, url
4from django.views.generic import ListView, UpdateView
5
6from tests.universite.models import Universite
7from tests.universite.forms import UniversiteForm
8
9urlpatterns = patterns(
10 '',
11 url(r'^$', ListView.as_view(model=Universite), name='universite_list'),
12 url(r'^(?P<pk>\d+)$',
13 UpdateView.as_view(model=Universite, form_class=UniversiteForm),
14 name='universite_update'),
15)