momo: add new __fields__ attribute, required for django 1.8 (#10578)
This commit is contained in:
parent
04d09a6ddf
commit
1a7a9e73da
|
@ -263,6 +263,7 @@ def generate(request, **kwargs):
|
|||
|
||||
class OptionsUpdateView(UpdateView):
|
||||
model = MomoOptions
|
||||
fields = '__all__'
|
||||
|
||||
def get_object(self, *args, **kwargs):
|
||||
return MomoOptions.get_object()
|
||||
|
|
Loading…
Reference in New Issue