Re:Django Command Extensions
by shakedown on Monday May 18, 2009 @10:33AM
(#615023)
Shell_plus is just what I was looking for. Shell driven coding really speeds up my development, and this helps a lot by relieving me of copying and pasting many imports every time I run a new shell.
Highlights:
* shell_plus - will open a Python shell with your models from the project already imported.
* runserver_plus - http://code.google.com/p/django-command-extensions/wiki/RunS... is a great debugging tool. It will give you an Ajax Python shell where the error occurred.
* dumpscript - is the most pythonic way to make backups of your database. "Generates a Python script that will repopulate the database using objects"
If you are using Django, use this project.
http://ericholscher.com/blog/2008/sep/12/screencast-django-c...
Pylons, repoze.bfg etc already use paste for generating project templates, custom shell and runserver.
It is quite easy to add this to any python project.