diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-10-31 14:00:38 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-10-31 14:00:38 +0100 |
commit | cdfcbddf13e02ceec6946da01b08cccb40d8cb9e (patch) | |
tree | 900e454a4f176caffcdab664b54400ff8ebb1047 | |
parent | d1d3f6457eeaf9114396d8cc1f1937ca6202772c (diff) | |
download | Ishtar-cdfcbddf13e02ceec6946da01b08cccb40d8cb9e.tar.bz2 Ishtar-cdfcbddf13e02ceec6946da01b08cccb40d8cb9e.zip |
Disable all CSV exports
-rw-r--r-- | ishtar_common/widgets.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ishtar_common/widgets.py b/ishtar_common/widgets.py index 4efb4c3fb..1ddabe7c7 100644 --- a/ishtar_common/widgets.py +++ b/ishtar_common/widgets.py @@ -776,8 +776,10 @@ class JQueryJqGrid(forms.RadioSelect): except NoReverseMatch: logger.warning('Cannot resolve source for {} widget'.format( self.form)) - if unicode(self.source_full) and unicode(self.source_full) != 'None': - dct['source_full'] = unicode(self.source_full) + + # full CSV export currently disabled + #if unicode(self.source_full) and unicode(self.source_full) != 'None': + # dct['source_full'] = unicode(self.source_full) dct['extra_sources'] = [] if self.associated_model: |