1👍
✅
Can you put the dataType
in javascript between quotes, change:
dataType: JSON
to
dataType: 'json'
What does your browser do when you access /BitProject/ajaxrequest/
directly?
0👍
You also have a typo in the view's
code. Replace:
mimetype=”applicaton/json”
for:
mimetype=”application/json”
- [Answer]-How to get the same date result from Model.objects.create and Model.objects.get in Django?
- [Answer]-Django 1.6: Edit Profile: column username is not unique
- [Answer]-_mysql.pyd module is mishandling host name
- [Answer]-XML Rendering in DIV
Source:stackexchange.com