'Go to the article view page when the article has been saved'

def get_success_url(self):

    if self.urlpath:
        return redirect(u'wiki:get', path=self.urlpath.path)
    return redirect(u'wiki:get', article_id=self.article.id)
