#NEWLINE# def get_success_url( self ) : #NEWLINE# #INDENT# 'Returns the url to redirect to on success.' #NEWLINE# if self . success_url : #NEWLINE# #INDENT# url = self . success_url #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# raise ImproperlyConfigured ( 'No URL to redirect to. Provide a success_url.' ) #NEWLINE# #UNINDENT# return self