Files @ 35b75b6f963c
Branch filter:

Location: symposion_app/dev-env.sh

James Polley
Badger should fail gracefully if auth_groups hasn't been populated

Let's say you've just installed symposion for the first time, and
you're running the intial `./manage.py migrate`

In that circumstance, there isn't an auth_group table. Naturally this
means you get Some Errors when trying to look for a particular group.

This change handles that error and drives on.
1
2
3
4
5
6
# source this for fake developer settings

export DJANGO_SECRET_KEY=`uuidgen -r`
export STRIPE_PUBLIC_KEY=`uuidgen -r`
export STRIPE_SECRET_KEY=`uuidgen -r`
export DATABASE_URL='sqlite:////tmp/symposion.sqlite'