'Checks from querystring data that the edit form is actually being saved,
otherwise removes the \'data\' and \'files\' kwargs from form initialisation.'

def get_form(self, form_class=None):

    if (form_class is None):
        form_class = self.get_form_class()
    kwargs = self.get_form_kwargs()
    if ((self.request.POST.get(u'save', u'') != u'1') and (self.request.POST.get(u'preview') != u'1')):
        kwargs[u'data'] = None
        kwargs[u'files'] = None
        kwargs[u'no_clean'] = True
    return form_class(self.request, self.article.current_revision, **kwargs)
