5👍
✅
You may be missing the port binding, try to run python manage.py runserver 0.0.0.0:8000
to be sure that the app is running on localhost:8000
9👍
If you use django with Dockerfile, you won’t miss that env var PYTHONUNBUFFERED set by 1.
- Multiple USERNAME_FIELD in django user model
- Force delete of any previous test database (autoclobber) when running Django unit tests, eg, in PyCharm
1👍
Using Git Bash run:
$ python manage.py runserver 127.0.0.1:8000
In my case, it showed the same behavior (‘Stuck in watching…’).
However, after that I opened a browser and I typed:
127.0.01:8000. The Django webpage works properly.
-1👍
Probably autoreload does not work well in your environment, if you don’t need it – better turn it off by starting django with –noreload arg.
- Django select related in raw request
- Converting Boolean value from Javascript to Django?
- Migrate datetime w. timezone in PostgreSQL to UTC timezone to use Django 1.4
- Create UUID on client and save primary key with Django REST Framework and using a POST
Source:stackexchange.com