Skip to content

Instantly share code, notes, and snippets.

@philwo
Created October 1, 2012 02:23
Show Gist options
  • Save philwo/3809132 to your computer and use it in GitHub Desktop.
Save philwo/3809132 to your computer and use it in GitHub Desktop.
Django manage.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "airforce.settings")
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment