RE: a very simple beginners question

2012-05-07 Thread walter capio
just import it: python manage.py shell import this_is_a_module_I_made in python, code will be executed on import. cheers From: spa...@gmail.com Date: Wed, 2 May 2012 19:11:23 +0530 Subject: Re: a very simple beginners question To: django-users@googlegroups.com 1. Can you please tell us what

Re: a very simple beginners question

2012-05-02 Thread Shawn Milochik
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

Re: a very simple beginners question

2012-05-02 Thread Scott Gould
Are you looking for custom management commands? https://docs.djangoproject.com/en/dev/howto/custom-management-commands/ On May 2, 8:59 am, alon wrote: > running > > $python manager.py shell > > opens a python shell > is there any way (a parameter) to make the manager run

Re: a very simple beginners question

2012-05-02 Thread spawgi
1. Can you please tell us what the context is or why you want to do that? 2. I suppose you might want to check the source of manage.py and change the way arguments to this file are handled. On Wed, May 2, 2012 at 6:29 PM, alon wrote: > running > > $python manager.py

a very simple beginners question

2012-05-02 Thread alon
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 -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to