Friday, March 25, 2011

Re: How to run a file.py in the django environement

On Friday, March 25, 2011 06:06:39 pm José António Silva wrote:

> Is there any command like
> python manage.py shell filename.py (I know this particular command
> isn't allowed, but is there any other?)
>
> thanks,
> JA

how about turning filename.py into a django command?

http://docs.djangoproject.com/en/dev/howto/custom-management-commands/


Mike
--
Paranoid Club meeting this Friday. Now ... just try to find out where!

--
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.

No comments:

Post a Comment