Message from Python discussions

December 2018

— I don't use if clauses in my answer *read*

— 

If clauses should be used when you take any decision depending on it, not when you just need the actual boolean.

— This is like an exclusive or.. sort of

— Https://hastebin.com/ayacevopey.py I did as in the example, but the page does not change

— Mmmm

— Did you get any error?

— You maybe have to redo your ajax function filling the success part, i don't know,

— Also mind you are only sending two variables, not all your locals

— Check both javascript console and django debug console

— I get ajax request

— Nice, What does the js console say? What variables are received in that response?

— I don't understand that error :D