Opened 6 years ago

Closed 6 years ago

#12863 closed (fixed)

POST data example broken by CSRF middleware

Reported by: JirkaV Owned by: nobody
Component: Uncategorized Version: 1.2-beta
Severity: Keywords: csrf
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation:
Needs tests: Patch needs improvement:
Easy pickings: UI/UX:


The POST data example in the sample "hello" application does not work in Django 1.2beta. I guess the easiest solution is to put decorate [browser:django/trunk/examples/hello/ post_data] with @csrf_exempt.



Change History (1)

comment:1 Changed 6 years ago by lukeplant

  • Resolution set to fixed
  • Status changed from new to closed

(In [12438]) Fixed #12863 - bug in 'examples' app.

Fixed by removing the whole examples directory, since it provides poor
example code and poor documentation, both being catered for much better

Note: See TracTickets for help on using tickets.
Back to Top