python manage.py loaddata $PATH_TO_FIXTURES_JSON
The fixtures.json is created by running python manage.py dumpdata --indent=2 users proposals events
python manage.py loaddata $PATH_TO_FIXTURES_JSON
The fixtures.json is created by running python manage.py dumpdata --indent=2 users proposals events
[ | |
{ | |
"model": "events.time", | |
"pk": "2020-09-05T03:30:00Z", | |
"fields": {} | |
}, | |
{ | |
"model": "events.time", | |
"pk": "2020-09-05T04:00:00Z", | |
"fields": {} | |
}, | |
{ | |
"model": "events.proposedtalkevent", | |
"pk": 1, | |
"fields": { | |
"conference": "pycontw-2020", | |
"location": "6-r2", | |
"begin_time": "2020-09-05T03:30:00Z", | |
"end_time": "2020-09-05T04:00:00Z", | |
"proposal": 1220169774806335489 | |
} | |
}, | |
{ | |
"model": "users.user", | |
"pk": 1220180201107881986, | |
"fields": { | |
"password": "pbkdf2_sha256$180000$MPlGGpruWzT8$B1bC+DlW7GLvukbVYeTsCV6KMW8FlGPhPCp3fyI8a6Y=", | |
"last_login": null, | |
"is_superuser": false, | |
"email": "speaker@example.com", | |
"speaker_name": "John Doe", | |
"bio": "\"John Doe\" (for males) and \"Jane Doe\" (for females) are multiple-use names that are used when the true name of a person is unknown or is being intentionally concealed.", | |
"photo": "", | |
"facebook_profile_url": "", | |
"twitter_id": "", | |
"github_id": "", | |
"verified": true, | |
"is_staff": false, | |
"is_active": true, | |
"date_joined": "2019-12-31T16:00:00Z", | |
"groups": [], | |
"user_permissions": [] | |
} | |
}, | |
{ | |
"model": "proposals.talkproposal", | |
"pk": 1220169774806335489, | |
"fields": { | |
"conference": "pycontw-2020", | |
"title": "Schedule of PyCon TW: We are using Google Spreadsheet at the moment", | |
"category": "COM", | |
"language": "ENEN", | |
"abstract": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec interdum ipsum sed venenatis tristique. Fusce tristique molestie lorem. Maecenas eu ligula sodales, euismod urna vel, viverra urna. Pellentesque eu enim non odio laoreet gravida. In quis varius mauris. Nullam vestibulum sagittis est, eget tempus est imperdiet pharetra. Pellentesque aliquam lectus sagittis, lacinia ligula eu, pretium dolor. Mauris aliquet tortor dui, et interdum purus posuere ut. Nam malesuada posuere luctus. Donec quam erat, tempor eu congue in, fermentum in lectus. Donec laoreet sollicitudin maximus. Curabitur vehicula sem eu eleifend mollis. Etiam aliquet volutpat fermentum. Aliquam suscipit tortor vitae pretium posuere. Proin nulla diam, imperdiet sit amet maximus a, finibus in dui.", | |
"python_level": "NOVICE", | |
"detailed_description": "", | |
"recording_policy": true, | |
"referring_policy": false, | |
"slide_link": "https://docs.google.com/spreadsheets/d/1efjxIesuNWaXBPwnaM8XPNpVF9Fo6dStGDjXVNG8AVo/", | |
"slido_embed_link": "", | |
"created_at": "2020-07-12T07:35:23.984Z", | |
"last_updated_at": "2020-07-12T07:54:10.461Z", | |
"remoting_policy": true, | |
"submitter": 1220180201107881986, | |
"outline": "", | |
"objective": "Integer non tortor ultrices, gravida lacus quis, gravida ante. Pellentesque purus lorem, tincidunt et fringilla at, rhoncus non nisi. Quisque imperdiet et ligula vitae convallis. Sed urna eros, tincidunt non elit a, convallis dignissim lorem. Nulla ullamcorper fringilla arcu, eu sagittis purus. Nullam ac mi at arcu consequat dapibus eget id sem. Fusce aliquet sapien id auctor laoreet. Nunc ex nisl, venenatis sed nunc sit amet, aliquet pretium augue. Sed diam magna, tristique in nisl sit amet, vehicula mollis nibh. Vestibulum a nibh tortor.", | |
"supplementary": "", | |
"cancelled": false, | |
"accepted": true, | |
"labels": "", | |
"duration": "PREF30" | |
} | |
} | |
] |