3 ms·
This looks great! In a similar vein - does anyone know of a project that will allow for a Django shell in the browser? I know Jupyter exists - but a solution l
by dacox 5y ago
This looks great! In a similar vein - does anyone know of a project that will allow for a Django shell in the browser?
I know Jupyter exists - but a solution like this with the permissions would be valuable.
- photojosh 5y agoThat is an excellent idea. The number of times I've fired up an SSH shell on my phone to do a quick fix for a client...
- westurner 5y agoThis 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.