Homework of week1 for course Django REST Framework
Install the pip packages:
pip install -r requirements.txt
Users
For import users
use next command:
python manage.py import_users [-s source]
Default source
is https://raw.githubusercontent.com/stepik-a-w/drf-project-boxes/master/recipients.json
Items
For import items
use next command:
python manage.py import_items [-s source]
Default source
is https://raw.githubusercontent.com/stepik-a-w/drf-project-boxes/master/foodboxes.json
Reviews
For import reviews
use next command:
python manage.py import_reviews [-s source]
Default source
is https://raw.githubusercontent.com/stepik-a-w/drf-project-boxes/master/reviews.json