thank you all!
On Wed, Mar 17, 2010 at 12:33 AM, aditya wrote:
> Thanks for the link, that was an interesting read.
>
> On Mar 16, 9:07 am, Preston Holmes wrote:
> > On Mar 15, 10:27 pm, pyleaf wrote:
> >
> >
> >
> > > I want to use manage.py as a command in script file.
> > > e.g,
> >
> > > >
Thanks for the link, that was an interesting read.
On Mar 16, 9:07 am, Preston Holmes wrote:
> On Mar 15, 10:27 pm, pyleaf wrote:
>
>
>
> > I want to use manage.py as a command in script file.
> > e.g,
>
> > >> python manage.py shell
> > >>from testproject.testapp.models import Testee
> > >>from
On Mar 15, 10:27 pm, pyleaf wrote:
> I want to use manage.py as a command in script file.
> e.g,
>
> >> python manage.py shell
> >>from testproject.testapp.models import Testee
> >>from testproject.others.modules import utils
> >>utils.do(Testee)
>
> Above are commands in command window manually
On Mar 16, 5:27 am, pyleaf wrote:
> I want to use manage.py as a command in script file.
> e.g,
>
> >> python manage.py shell
> >>from testproject.testapp.models import Testee
> >>from testproject.others.modules import utils
> >>utils.do(Testee)
>
> Above are commands in command window manually.
>
I want to use manage.py as a command in script file.
e.g,
>> python manage.py shell
>>from testproject.testapp.models import Testee
>>from testproject.others.modules import utils
>>utils.do(Testee)
Above are commands in command window manually.
but, how to make these like :
#my_script.py
#!/usr/lo
5 matches
Mail list logo