Monday, June 13, 2011

Re: Making command-line clients to Django data

On Mon, Jun 13, 2011 at 7:05 PM, creecode <creecode@gmail.com> wrote:
> I started out with straight shell scripts and have switched over to
> management commands.

same here. i feel dumb every time i have to maintain those old
scripts, things are much easier with management commands.


if you don't want your users to see the "python /project/manage.py
...." part of the command, it's easier to write a management command
_and_ a wrapper shell script than a single 'straight' script.

--
Javier

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate