Re: management.py application commands and one off scripts

2007-08-23 Thread Graham Carlyle
or maybe manage.py/django-admin.py could take an new option for an additional directory to search for commands (as well as the core dir, and application dir when it gets checked in again). Then the one off scripts could be written in the style of commands. Graham --~--~-~--~~---

Re: management.py application commands and one off scripts

2007-08-22 Thread George Vilches
Graham Carlyle wrote: > The pending ability to allow custom application commands made me think > about a few on-off scripts i have that i wouldn't want to have available > as a command but do django stuff from the command line. > > Maybe its worth adding a new core command for invoke these sorts

management.py application commands and one off scripts

2007-08-22 Thread Graham Carlyle
The pending ability to allow custom application commands made me think about a few on-off scripts i have that i wouldn't want to have available as a command but do django stuff from the command line. Maybe its worth adding a new core command for invoke these sorts of scripts? Rather than having t