1👍
You’re setting ALLOWEDHOSTS
, which is incorrect.
The proper name is ALLOWED_HOSTS
, as seen in the documentation.
- [Answer]-Backbone.js appending [] to key name on fetch
- [Answer]-Tracking of field changes in Django
- [Answer]-Where to put object creation logic?
- [Answer]-Sending JSON from Android
- [Answer]-Django server stops during for loop
0👍
Your allowed host should be your ip, or domain name something like this format
ALLOWED_HOSTS =['.domainname',]
- [Answer]-Nginx redirects www. to wrong Vhost
- [Answer]-Have custom manager but keep objects keyword available
- [Answer]-Troubles with dynamic filtering in generic-display Django
- [Answer]-Single Address Linked to Multiple Users Even when Using OneToOneField(User)
Source:stackexchange.com