| ▲ | bodge5000 17 hours ago | |||||||||||||
I'll add one; Add shell_plus. It makes the django shell so much nicer to use, especially on larger projects (mostly because it auto-imports all your models). IIRC, it involves adding ipython and django_extensions as a dependency, and then adding django-extensions (annoyingly, note that the underscore changes to a dash, this trips me up everytime I add it) to your installed apps. Saying that, I'm sure django-extensions does a lot more than shell_plus but I've never actually explored what those extra features are, so think I'll do that now Edit: Turns out you can use bpython, ptpython or none at all with shell_plus, so good to know if you prefer any of them to ipython | ||||||||||||||
| ▲ | el_io 17 hours ago | parent [-] | |||||||||||||
> mostly because it auto-imports all your models Django does this by default now. Since 5.0 if I'm remembering it correctly. | ||||||||||||||
| ||||||||||||||