On Tue, 2006-07-18 at 22:52 +0200, Maciej Bliziński wrote:
> I already checked the documentation for manage.py, but it doesn't
> mention anything about executing a script.

Magus- from #django @ Freenode provided a solution:

import sys,os
sys.path.append('/path/to/root/of/django/projects/')
os.environ['DJANGO_SETTINGS_MODULE'] = 'myproject.settings'

-- 
Maciej Bliziński <[EMAIL PROTECTED]>
http://automatthias.wordpress.com


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to