On 01/23/2012 03:58 PM, JJ Zolper wrote:
Yes I knew I was in the Python shell I just never saw anything that described you couldn't make Django commands within the Python interpreter. I mean it is based on Python isn't it? That's where I thought logically you could make Django calls from in Python?

SO....

Shells run commands. Python is not a shell. If you want to run the Python /command/ from inside of the Python interpreter prompt, the closest you can get is:
>>> import os
>>> os.system('python ./manage.py')

--
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to