Files @ 35b75b6f963c
Branch filter:

Location: symposion_app/fixtures/conference.json - annotation

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.
[
    {
        "pk": 1,
        "model": "symposion_conference.conference",
        "fields": {
            "timezone": "Australia/Sydney",
            "start_date": "2018-01-21",
            "end_date": "2018-01-26",
            "title": "linux.conf.au 2018"
        }
    },
    {
        "pk": 1,
        "model": "symposion_conference.section",
        "fields": {
            "conference": 1,
            "start_date": "2018-01-24",
            "name": "Main Conference",
            "end_date": "2018-01-26",
            "slug": "main"
        }
    },
    {
        "pk": 2,
        "model": "symposion_conference.section",
        "fields": {
            "conference": 1,
            "start_date": "2018-01-22",
            "name": "MiniConf",
            "end_date": "2018-01-23",
            "slug": "miniconf"
        }
    }
]