How can I be certain that my application is running on development server or not? I suppose I could check value of settings.DEBUG and assume if DEBUG
settings.DEBUG
DEBUG
If you want to switch your settings files automatically dependent on the runtime environment you could just use something that differs in environ, e.g.
from os import environ if environ.get('_', ''): print "This is dev - not Apache mod_wsgi"