From 6326867adb72dd9ded160769ef09e77b2e482784 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 2 Dec 2013 14:51:09 +0100 Subject: Manage document template * ooo_replace: generate a document by mapping ooo variables with a given dict * DocumentTemplate model: store templates associated with a type of objects * get_values method: generate a dict of value from a model * new form/view to generate document from administrativ acts --- archaeological_files/urls.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'archaeological_files/urls.py') diff --git a/archaeological_files/urls.py b/archaeological_files/urls.py index 72a6e2df7..9d1f4f56f 100644 --- a/archaeological_files/urls.py +++ b/archaeological_files/urls.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# Copyright (C) 2010-2012 Étienne Loks +# Copyright (C) 2010-2013 Étienne Loks # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as @@ -59,5 +59,8 @@ urlpatterns += patterns('archaeological_files.views', 'show_file', name='show-historized-file'), url(r'revert-file/(?P.+)/(?P.+)$', 'revert_file', name='revert-file'), - url(r'dashboard_file/$', 'dashboard_file', name='dashboard-file') + url(r'dashboard_file/$', 'dashboard_file', name='dashboard-file'), + url(r'file_administrativeact_document/$', + 'file_administrativeactfile_document', + name='administrativeact_document'), ) -- cgit v1.2.3