Tested ajax get and post - working now, after csrf token is given from
jquery to django.