|
@@ -30,7 +30,8 @@ class UpdateDashboardModuleView(SuccessMessageMixin, UpdateView):
|
|
|
|
|
|
def get_settings_form_kwargs(self):
|
|
def get_settings_form_kwargs(self):
|
|
kwargs = {
|
|
kwargs = {
|
|
- 'initial': self.module.settings
|
|
|
|
|
|
+ 'initial': self.module.settings,
|
|
|
|
+ 'module': self.module
|
|
}
|
|
}
|
|
|
|
|
|
if self.request.method in ('POST', 'PUT'):
|
|
if self.request.method in ('POST', 'PUT'):
|