Skip to content

Instantly share code, notes, and snippets.

@allieus
Created January 7, 2012 14:53
Show Gist options
  • Save allieus/1574944 to your computer and use it in GitHub Desktop.
Save allieus/1574944 to your computer and use it in GitHub Desktop.
run django-script from shell
# coding: utf-8
from django.core.management import setup_environ
import settings
setup_environ(settings)
# blah blah ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment