Skip to content

Instantly share code, notes, and snippets.

View TheML9I's full-sized avatar
👨‍💻
Open to make of goodness! Python/Go -DM

Sierj Khaletski TheML9I

👨‍💻
Open to make of goodness! Python/Go -DM
  • U.S.
View GitHub Profile
@TheML9I
TheML9I / update_permissions.py
Created January 19, 2017 09:46 — forked from zaan/update_permissions.py
Update permissions in Django auth app.
from django.core.management import setup_environ
try:
import settings
except ImportError:
import sys
sys.stderr.write("Couldn't find the settings.py module.")
sys.exit(1)
setup_environ(settings)