File diff 2f79a5b24a36 → 3d702d4d7154
conntrackt/views.py
Show inline comments
 
@@ -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.