Jun 20, 2011

Setup django environment in standalone script

from django.core.management import setup_environ
import settings
setup_environ(settings)

No comments: