1👍
✅
Can you try running:
python manage.py runserver 0:<port>
This will then allow you to go to 127.0.0.1:<port>
or localhost:<port>
in your browser.
Whichever one you choose between localhost
and 127.0.0.1
, you will need to add it inside your ALLOWED_HOSTS
list.
- [Answered ]-Matching Month and Year In Python with datetime
- [Answered ]-Why queryset attribute is only evaluated once in my cbv
- [Answered ]-Django Python: Today's date gives error "couldn't be interpreted in time zone America/Los_Angeles; it may be ambiguous or it may not exist."
- [Answered ]-Django Http404 returns status=200
Source:stackexchange.com