3 ms·
This launches the web-based Werkzeug debugger on Exception: pip install django-extensions python manage.py runserver_plus https://django-extensions.readth
by westurner 6y ago
This launches the web-based Werkzeug debugger on Exception:
pip install django-extensions
python manage.py runserver_plus
https://django-extensions.readthedocs.io/en/latest/runserver_plus.html#usage https://django-extensions.readthedocs.io/en/latest/runserver...
This should run IPython Notebook with database models already imported :
python manage.py shell_plus --notebook
But writing fixtures, tests and (celery / dask-labextension) tasks is probably the better way to do things. Django-rest-assured is one way to get a tested REST API with DRF and e.g. factory_boy for generating test data.