Re: DJANGO_SETTINGS_MODULE in a setup with only individual Django components

2012-12-01 Thread Stefan Schwarzburg
ARRGH, sorry for the spam. The problem was that I have imported other django modules before calling execute_from_commandline... Cheers, Stefan On Saturday, December 1, 2012 5:57:31 PM UTC+1, Stefan Schwarzburg wrote: > > Hi, > > I'm looking for help with the following problem: > > I have a p

DJANGO_SETTINGS_MODULE in a setup with only individual Django components

2012-12-01 Thread Stefan Schwarzburg
Hi, I'm looking for help with the following problem: I have a project, in which I only use the django ORM and no other parts of django. In previous versions of that project (django < 1.4) I used code similar to manage.py but I called 'settings.configure' before calling 'execute_manager'. Thi