[Answered ]-Forbidden (403) CSRF verification failed Request aborted

2👍

https://docs.djangoproject.com/en/1.10/releases/1.10/#features-removed-in-1-10

The dictionary and context_instance parameters for the following functions are removed:

  • django.shortcuts.render()
  • django.shortcuts.render_to_response()
  • django.template.loader.render_to_string()

Use render instead.

https://docs.djangoproject.com/en/1.10/topics/http/shortcuts/#render

Leave a comment