Wrote the code, and seems to work some of the time. I think its a problem with the django-dev server. Committing and trying on production