|
@@ -516,7 +516,7 @@ class EntityCreateView(RedirectToNextMix
|
|
|
# Raise authorisation denied exception for unmet permissions.
|
|
|
raise_exception = True
|
|
|
|
|
|
def get_form(self, form_class):
|
|
|
def get_form(self, form_class=EntityForm):
|
|
|
"""
|
|
|
Returns an instance of form that can be used by the view.
|
|
|
|
|
@@ -643,7 +643,7 @@ class InterfaceCreateView(RedirectToNext
|
|
|
# Raise authorisation denied exception for unmet permissions.
|
|
|
raise_exception = True
|
|
|
|
|
|
def get_form(self, form_class):
|
|
|
def get_form(self, form_class=InterfaceForm):
|
|
|
"""
|
|
|
Returns an instance of form that can be used by the view.
|
|
|
|
|
@@ -701,7 +701,7 @@ class InterfaceUpdateView(RedirectToNext
|
|
|
# Raise authorisation denied exception for unmet permissions.
|
|
|
raise_exception = True
|
|
|
|
|
|
def get_form(self, form_class):
|
|
|
def get_form(self, form_class=InterfaceForm):
|
|
|
"""
|
|
|
Returns an instance of form that can be used by the view.
|
|
|
|
|
@@ -799,7 +799,7 @@ class CommunicationCreateView(RedirectTo
|
|
|
# Raise authorisation denied exception for unmet permissions.
|
|
|
raise_exception = True
|
|
|
|
|
|
def get_form(self, form_class):
|
|
|
def get_form(self, form_class=CommunicationForm):
|
|
|
"""
|
|
|
Returns an instance of form that can be used by the view.
|
|
|
|
|
@@ -890,7 +890,7 @@ class CommunicationUpdateView(RedirectTo
|
|
|
# Raise authorisation denied exception for unmet permissions.
|
|
|
raise_exception = True
|
|
|
|
|
|
def get_form(self, form_class):
|
|
|
def get_form(self, form_class=CommunicationForm):
|
|
|
"""
|
|
|
Returns an instance of form that can be used by the view.
|
|
|
|