generated from dhmit/boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated update_db to work with load_responders
- Also added update_config for loading responders and responses
- Loading branch information
1 parent
d8c0615
commit df115b6
Showing
2 changed files
with
78 additions
and
27 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
backend/app/data/database_update_config/loknitiresponders.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"config_type": "management_command", | ||
"command_name": "load_responders", | ||
"model_names": ["LoknitiResponders", "LoknitiResponses"], | ||
"file_names": [ | ||
"lokniti_data/NES_2004_Data_file.csv", | ||
"lokniti_data/NES_2009_Data_file.csv", | ||
"lokniti_data/NES_2014_Data_file.csv", | ||
"lokniti_data/NES_2019_Data_file.csv" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters