Skip to content

Instantly share code, notes, and snippets.

@stwind
Created March 27, 2014 17:46
Show Gist options
  • Save stwind/9813647 to your computer and use it in GitHub Desktop.
Save stwind/9813647 to your computer and use it in GitHub Desktop.
createsuperuser for sentry without password prompt
echo "from django.db import DEFAULT_DB_ALIAS as database; from sentry.models import User; User.objects.db_manager(database).create_superuser('<USER>', '<EMAIL>', '<PASSWORD>')" | sentry --config=/etc/sentry.conf.py shell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment