On 05/02/2012 08:59 AM, alon wrote:
> running
>
> $python manager.py shell
>
> opens a python shell
> is there any way (a parameter) to make the manager run a python file
> with my commands??
>
> thanks
>
If you have iPython installed then running manage.py shell will run in
iPython.
Then, you can use iPython's %run command to execute your script.
If you don't have iPython installed then you should.
--
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.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment