Project

General

Profile

Download (658 Bytes) Statistics
| Branch: | Tag: | Revision:

calebasse / calebasse / dossiers / urls.py @ f3407c83

1
from django.conf.urls import patterns, url
2

    
3
from calebasse.cbv import ListView, CreateView, DeleteView, UpdateView
4

    
5
from models import PatientRecord
6
from views import (PatientRecordsHomepageView, PatientRecordView,
7
                    patient_record)
8
from forms import EditPatientRecordForm
9

    
10
urlpatterns = patterns('',
11
        url(r'^$', PatientRecordsHomepageView.as_view()),
12
        url(r'^view/(?P<pk>\d+)/$', patient_record),
13
)
14

    
15
#    url(r'^new/$', CreateView.as_view(model=PatientRecord,
16
#        form_class=CreatePatientRecordForm,
17
#        template_name_suffix='_new')),
18
#    url(r'^(?P<pk>\d+)/delete/$', DeleteView.as_view(model=PatientRecord)),
19
#)
(7-7/8)