(self, data=None, files=None)
Get initialised create form or 404.

        Same as ``get_initialised_create_form`` but raises
        ``django.http.Http404`` on errors.
Get initialised create form or 404.
Get initialised create form or 404 .
def get_initialised_create_form_or_404(self, data=None, files=None):
        """Get initialised create form or 404.

        Same as ``get_initialised_create_form`` but raises
        ``django.http.Http404`` on errors.
        """
        plugin_form = self.get_form()
        if plugin_form:
            try:
                return self.get_initialised_create_form(data=data, files=files)
            except Exception as e:
                if DEBUG:
                    logger.debug(e)
                raise Http404(e)
def get_initialised_create_form_or_404 ( self , data = None , files = None ) : plugin_form = self . get_form ( ) if plugin_form : try : return self . get_initialised_create_form ( data = data , files = files ) except Exception as e : if DEBUG : logger . debug ( e ) raise Http404 ( e )