Project

General

Profile

« Previous | Next » 

Revision d4eb7e7f

Added by Jérôme Schneider about 12 years ago

templates: update names

View differences:

calebasse/dossiers/urls.py
7 7

  
8 8
urlpatterns = patterns('',
9 9
    url(r'^$', ListView.as_view(model=PatientRecord)),
10
    url(r'^nouveau/$', CreateView.as_view(model=PatientRecord,
10
    url(r'^new/$', CreateView.as_view(model=PatientRecord,
11 11
        form_class=CreateDossierForm,
12
        template_name_suffix='_nouveau.html')),
12
        template_name_suffix='_new.html')),
13 13
    url(r'^(?P<pk>\d+)/$', UpdateView.as_view(model=PatientRecord,
14 14
        form_class=EditDossierForm,
15 15
        template_name_suffix='_edit.html')),

Also available in: Unified diff