News for hackers. Stuff that matters.
Re:Django Command Extensions by gourneau on Monday May 18, 2009 @10:17AM (#615002)
This is an indispensable tool for my Django development.

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.

Re:Django Command Extensions by tvon on Monday May 18, 2009 @10:16AM (#615000)
Re:Django Command Extensions by FraaJad on Monday May 18, 2009 @10:35AM (#615027)
You can add these kind of command extensions to your python projects by using http://pythonpaste.org/

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.

Re:Django Command Extensions by FraaJad on Monday May 18, 2009 @01:10PM (#615290)
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.
Re:Django Command Extensions by j2d2 on Monday May 18, 2009 @09:57AM (#614967)
I discovered this via pinax and love it. It's trivial to setup for django users.