summaryrefslogtreecommitdiff
path: root/ishtar/furnitures/forms.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2011-02-01 00:19:36 +0100
committerÉtienne Loks <etienne.loks@peacefrogs.net>2011-02-01 00:19:36 +0100
commitd53fe70a3458cc8cd02367997c63bb17718dd45d (patch)
treeea588f9231d6c5cdf69ca0547aa9b901f1a3092f /ishtar/furnitures/forms.py
parent603b94b71f230cccfc1edd325c884c701660c473 (diff)
downloadIshtar-d53fe70a3458cc8cd02367997c63bb17718dd45d.tar.bz2
Ishtar-d53fe70a3458cc8cd02367997c63bb17718dd45d.zip
Export tables as CSV (closes #158)
Diffstat (limited to 'ishtar/furnitures/forms.py')
-rw-r--r--ishtar/furnitures/forms.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ishtar/furnitures/forms.py b/ishtar/furnitures/forms.py
index db440081c..e436d0664 100644
--- a/ishtar/furnitures/forms.py
+++ b/ishtar/furnitures/forms.py
@@ -681,7 +681,7 @@ class FileFormSelection(forms.Form):
associated_models = {'pk':models.File}
currents = {'pk':models.File}
pk = forms.IntegerField(label="", required=False,
- widget=widgets.JQueryJqGrid(reverse_lazy('json-file'),
+ widget=widgets.JQueryJqGrid(reverse_lazy('get-file'),
FileSelect(), ['file_type', 'year']),
validators=[models.valid_id(models.File)])
@@ -1168,7 +1168,7 @@ class OperationFormSelection(forms.Form):
associated_models = {'pk':models.Operation}
currents = {'pk':models.Operation}
pk = forms.IntegerField(label="", required=False,
- widget=widgets.JQueryJqGrid(reverse_lazy('json-operation'),
+ widget=widgets.JQueryJqGrid(reverse_lazy('get-operation'),
OperationSelect(), ['operation_type', 'year']),
validators=[models.valid_id(models.Operation)])