Skip to content

Instantly share code, notes, and snippets.

@durgeshm
Created May 11, 2011 15:42
Show Gist options
  • Save durgeshm/966709 to your computer and use it in GitHub Desktop.
Save durgeshm/966709 to your computer and use it in GitHub Desktop.
Django command line script
# Set up the Django Enviroment
from django.core.management import setup_environ
import settings
setup_environ(settings)
# Normal inports, and code here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment