Skip to content

Commit

Permalink
Move fixtures to correct directory
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBirdie authored and TheBirdie committed Jan 29, 2016
1 parent 4cec627 commit cbe3885
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions resetdb.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
python3 manage.py reset_db && \
python3 manage.py migrate && \
python3 manage.py loaddata fixtures_prod.json && \
python3 manage.py loaddata fixtures.json
python3 manage.py loaddata sigma_core/fixtures/fixtures_prod.json && \
python3 manage.py loaddata sigma_core/fixtures/fixtures.json
Empty file added sigma_core/fixtures/__init__.py
Empty file.
File renamed without changes.
4 changes: 2 additions & 2 deletions fixtures_prod.json → sigma_core/fixtures/fixtures_prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
"fields": {
"display_name": "Text",
"html_name": "text",
"values": "{ 'message' : 'Error message', 'regex' : 'Regex'}"
"values": { "message" : "Error message", "regex" : "Regex"}
}
},
{
"model": "sigma_core.validator",
"fields": {
"display_name": "No validation",
"html_name": "none",
"values": "{}"
"values": {}
}
}
]

0 comments on commit cbe3885

Please sign in to comment.