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/local/bim/python
from testproject.testapp.models import Testee
from testproject.others.modules import utils
utils.do(Testee)

i dont know how to import manage.py

thank you!
-- 
Believing is Everything.

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

Reply via email to