Skip to content
This repository has been archived by the owner on Apr 14, 2019. It is now read-only.

ENH: add fixture for San Diego reporting periods, 2015 & 2016. #249

Merged
merged 1 commit into from
Jul 14, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions data/fixtures/2016_05_02_ballot.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions data/fixtures/2016_05_02_locality.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions disclosure/migrations/0001_initial.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

def load_ballot_data(apps, schema_editor):
fixtures = (
('locality', op.join(settings.FIXTURES_DIR, '2016_03_27_locality.json')),
('ballot', op.join(settings.FIXTURES_DIR, '2016_03_27_ballot.json')),)
('locality', op.join(settings.FIXTURES_DIR, '2016_05_02_locality.json')),
('ballot', op.join(settings.FIXTURES_DIR, '2016_05_02_ballot.json')),)

for app, path in fixtures:
call_command('loaddata', path, app=app)
Expand Down