In the panel to add information, you will see Lists are not currently supported in HTML input, that's it normal.
- Create your own environment (virtualenv, virtualenvwrapper, etc)
- pip install -r requirements.txt
- python manage.py makemigrations
- python manage.py migrate
- python manage.py runserver
Raw data
{
"ingredients": [],
"name": "",
"description": "",
"directions": ""
}
Adding existing ingredients, and recipe.
{
"ingredients": [
{"name":"pepper"},
{"name":"salt"}
],
"name": "Sandwich",
"description": "Make me a Sandwich",
"directions": "Sudo !!"
}
Adding exist ingredients and recipe
{
"ingredients": [
{"id": 1, "name":"pepper"},
{"id": 2, "name":"salt"}
],
"name": "Sandwich",
"description": "Make me a Sandwich",
"directions": "Sudo !!"
}