Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write Custom Django Function for Import Database #50

Open
3 tasks
mingye-christina-wang opened this issue Nov 22, 2019 · 0 comments
Open
3 tasks

Write Custom Django Function for Import Database #50

mingye-christina-wang opened this issue Nov 22, 2019 · 0 comments
Assignees
Labels
backend Issues in the backend system

Comments

@mingye-christina-wang
Copy link
Contributor

Write custom Django functions (so you can run "python manage.py ") to:

  1. import PeopleDatabase pickle file into DjangoPerson database (by calling import_peopledb_to_person_model in models.py)
  2. import csv file of docs into Document database (by calling import_csv_to_document_model in models.py, likely on the file data/documents/docs_1970s_5k.csv)
  • create the .pickle file to be used for import
  • write custom Django function (an example is load_db in rereading)
  • test the functions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Issues in the backend system
Projects
None yet
Development

No branches or pull requests

3 participants