csrf_token problem django
Make sure the CSRF token template variable is inside your form. If you're sure it is, view the page's HTML source to make sure that it's actually printing out the hidden input field. If all else fails, check your settings to make sure the CSRF middleware is enabled and configured properly.
Additionally, having the source (or at least a few lines of context) would be greatly helpful in figuring out your problem.
I have put in the {% csrf_token %} and the context_instance=RequestContext(request)) but I still get the error CSRF token missing or incorrect. Thanks in advance! or not.