template_name="cbv/CreateViewCustom.html" ), name='create' ), url(r'^update-(?P<pk>\d+)$', UpdateViewCustom.as_view( model=UserProfile, success_url="users:list", url_name="users:update", form_class=UserFormNoPassw, template_name="cbv/UpdateViewCustom.html" ), name='update' ), url(r'^delete-(?P<pk>\d+)$', DeleteViewCustom.as_view( model=UserProfile, url_name="users:delete", success_url="users:list", template_name="cbv/DeleteViewCustom.html" ), name='delete' ), url(r'^detail-(?P<pk>\d+)$', detail, name='detail'), url(r'^repartition_temps-(?P<pk>\d+)$', repartition_temps, name='repartition_temps'), url(r'^repartition_temps-(?P<pk>\d+)_(?P<start>(\d+-\d+-\d+)?)_(?P<end>(\d+-\d+-\d+)?)$', repartition_temps, name='repartition_temps'), url(r'^repartition_project-(?P<pk>\d+)$', repartition_project, name='repartition_project'), url(r'^repartition_project-(?P<pk>\d+)_(?P<start>(\d+-\d+-\d+)?)_(?P<end>(\d+-\d+-\d+)?)$', repartition_project, name='repartition_project'), url(r'^export-csv-(?P<pk>\d+)$', export_csv, name='export_csv'), url(r'^export-csv-(?P<pk>\d+)_(?P<start>(\d+-\d+-\d+)?)_(?P<end>(\d+-\d+-\d+)?)$', export_csv, name='export_csv'), ]
), url(r'^create$', CreateViewCustom.as_view( model=Project, success_url="projects:list", url_name="projects:create", template_name="cbv/CreateViewCustom.html", fields={'name', 'customer', } ), name='create' ), url(r'^update-(?P<pk>\d+)$', UpdateViewCustom.as_view( model=Project, success_url="projects:list", url_name="projects:update", template_name="cbv/UpdateViewCustom.html" ), name='update' ), url(r'^delete-(?P<pk>\d+)$', DeleteViewCustom.as_view( model=Project, url_name="projects:delete", success_url="projects:list", template_name="cbv/DeleteViewCustom.html" ), name='delete' ), url(r'^detail-(?P<pk>\d+)$', detail, name='detail'), ]
name='list'), url(r'^create$', TaskCreate.as_view( model=Task, success_url="tasks:list", url_name="tasks:create", template_name="cbv/CreateViewCustom.html", form_class=TaskForm, ), name='create'), url(r'^update-(?P<pk>\d+)$', UpdateViewCustom.as_view( model=Task, success_url="tasks:list", url_name="tasks:update", template_name="cbv/UpdateViewCustom.html", form_class=TaskForm, ), name='update'), url(r'^delete-(?P<pk>\d+)$', DeleteViewCustom.as_view(model=Task, url_name="tasks:delete", success_url="tasks:list", template_name="cbv/DeleteViewCustom.html"), name='delete'), url(r'^detail-(?P<pk>\d+)$', DetailViewCustom.as_view(model=Task, url_name="tasks:detail", template_name="tasks/detail.html"), name='detail'), ]
), name='create' ), url(r'^update-(?P<pk>\d+)$', UpdateViewCustom.as_view( model=Task, success_url="tasks:list", url_name="tasks:update", template_name="cbv/UpdateViewCustom.html", form_class = TaskForm, ), name='update' ), url(r'^delete-(?P<pk>\d+)$', DeleteViewCustom.as_view( model=Task, url_name="tasks:delete", success_url="tasks:list", template_name="cbv/DeleteViewCustom.html" ), name='delete' ), url(r'^detail-(?P<pk>\d+)$', DetailViewCustom.as_view( model=Task, url_name="tasks:detail", template_name="tasks/detail.html" ), name='detail' ), ]
UserCreate.as_view(model=UserProfile, success_url="users:list", url_name="users:create", form_class=UserForm, template_name="cbv/CreateViewCustom.html"), name='create'), url(r'^update-(?P<pk>\d+)$', UpdateViewCustom.as_view(model=UserProfile, success_url="users:list", url_name="users:update", form_class=UserFormNoPassw, template_name="cbv/UpdateViewCustom.html"), name='update'), url(r'^delete-(?P<pk>\d+)$', DeleteViewCustom.as_view(model=UserProfile, url_name="users:delete", success_url="users:list", template_name="cbv/DeleteViewCustom.html"), name='delete'), url(r'^detail-(?P<pk>\d+)$', detail, name='detail'), url(r'^repartition_temps-(?P<pk>\d+)$', repartition_temps, name='repartition_temps'), url(r'^repartition_temps-(?P<pk>\d+)_(?P<start>(\d+-\d+-\d+)?)_(?P<end>(\d+-\d+-\d+)?)$', repartition_temps, name='repartition_temps'), url(r'^repartition_project-(?P<pk>\d+)$', repartition_project, name='repartition_project'), url(r'^repartition_project-(?P<pk>\d+)_(?P<start>(\d+-\d+-\d+)?)_(?P<end>(\d+-\d+-\d+)?)$', repartition_project, name='repartition_project'),
url_delete_name="projects:delete", url_update_name="projects:update", url_create_name="projects:create", url_list_name="projects:list", url_detail_name="projects:detail", template_name="cbv/ListViewCustom.html"), name='list'), url(r'^create$', CreateViewCustom.as_view(model=Project, success_url="projects:list", url_name="projects:create", template_name="cbv/CreateViewCustom.html", fields={ 'name', 'customer', }), name='create'), url(r'^update-(?P<pk>\d+)$', UpdateViewCustom.as_view(model=Project, success_url="projects:list", url_name="projects:update", template_name="cbv/UpdateViewCustom.html"), name='update'), url(r'^delete-(?P<pk>\d+)$', DeleteViewCustom.as_view(model=Project, url_name="projects:delete", success_url="projects:list", template_name="cbv/DeleteViewCustom.html"), name='delete'), url(r'^detail-(?P<pk>\d+)$', detail, name='detail'), ]