diff options
Diffstat (limited to 'ishtar_common')
| -rw-r--r-- | ishtar_common/views.py | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/ishtar_common/views.py b/ishtar_common/views.py index b2ced4295..a45d4ad08 100644 --- a/ishtar_common/views.py +++ b/ishtar_common/views.py @@ -1044,8 +1044,10 @@ class QRCodeView(IshtarMixin, LoginRequiredMixin, View):  class GlobalVarEdit(IshtarMixin, AdminLoginRequiredMixin, ModelFormSetView):      template_name = 'ishtar/formset.html'      model = models.GlobalVar -    extra = 1 -    can_delete = True +    factory_kwargs = { +        'extra': 1, +        'can_delete': True +    }      page_name = _(u"Global variables")      fields = ['slug', 'value', 'description'] | 
