diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-12-02 14:51:09 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-12-02 14:59:06 +0100 |
commit | 6326867adb72dd9ded160769ef09e77b2e482784 (patch) | |
tree | e7c44902b0dc74675ae3dda5658fc29c14ec71ba /ishtar_common/views.py | |
parent | de9fbce423f780a02b73a9e943995b0b7efb0008 (diff) | |
download | Ishtar-6326867adb72dd9ded160769ef09e77b2e482784.tar.bz2 Ishtar-6326867adb72dd9ded160769ef09e77b2e482784.zip |
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
Diffstat (limited to 'ishtar_common/views.py')
-rw-r--r-- | ishtar_common/views.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ishtar_common/views.py b/ishtar_common/views.py index 46ea938de..31f5f688b 100644 --- a/ishtar_common/views.py +++ b/ishtar_common/views.py @@ -608,9 +608,6 @@ def action(request, action_slug, obj_id=None, *args, **kwargs): globals_dct = globals() if action_slug in globals_dct: return globals_dct[action_slug](request, dct, obj_id, *args, **kwargs) - elif hasattr(ishtar_forms, action_slug + "_wizard"): - return getattr(ishtar_forms, action_slug+"_wizard")(request, *args, - **kwargs) return render_to_response('index.html', dct, context_instance=RequestContext(request)) |