I have a situation in my project where i need to make a redirection of the user to an url containing a parameter, (it is declared in the urls.py like:
url(r
If you are submitting to the same URL, you can use the following to pass parameters.
template_name = '/classroom/notamember.html' return render( request, self.template_name, {'classname': 'classname', 'secondvariable': 'variable' } )