It works if you apply the filer 'escapejs'.
Thanks anyway.
On 26 Mar, 16:29, drk wrote:
> Just to rephrase it, I'm setting the data through a variable in a django
> template, maybe that's not the best way to do it, I guess.
>
> Segunda-feira, 26 de Março de 2012 16h23min15s UTC+1, drk escreveu:
Just to rephrase it, I'm setting the data through a variable in a django
template, maybe that's not the best way to do it, I guess.
Segunda-feira, 26 de Março de 2012 16h23min15s UTC+1, drk escreveu:
>
> Yea, that was it.
> Also changing the url to just '/logout'
>
> Thanks!
>
>
> I'm having oth
Yea, that was it.
Also changing the url to just '/logout'
Thanks!
I'm having other problem now, the data that is getting sent to the
javascript code from the server is json data, but the quote symbol " is
returned as "
and so I get an error when trying to parse it.
Segunda-feira, 26 de Março
Do you have CSRF protection enabled?
https://docs.djangoproject.com/en/dev/ref/contrib/csrf/
It will 403 POST requests unless they have the right token.
Jim
On Sun, Mar 25, 2012 at 11:24 PM, drk wrote:
> Hi, so I have a application that works offline (with localStorage),
> and now I'm trying t
4 matches
Mail list logo