3
votes
1answer
499 views

How would you rate this python code? (Django AJAX)

This code comes straight out from the example code in a Django book. I find it quite bad, mainly because the use of flags (if ajax then again if ajax) and unnecessarily bigger variable scope (set ...