Hello,
I'm developing an app using django and Openlayers javascript code. When I'm trying to post something via openlayers javascript code, it raises a 403 FORBIDDEN ERROR.
I don't use a form in my html file, the post applied by openlayers code. It runs successfully, only if I remove the 'django.middleware.csrf.CsrfViewMiddleware' from my settings.py.
How can I fix it ?
And how unprotected I am, without the 'django.middleware.csrf.CsrfViewMiddleware' in my settings.py ?
Thank you in advance,
George