Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 465 Bytes

File metadata and controls

12 lines (11 loc) · 465 Bytes

project_recipe

API:

/users/ - list all the users
/users/{username}/ - view a user instance and the recipe related to the user

/recipes/ - list all the recipes and create a new recipe
/recipes/{name}/ - update and delete a recipe

  • A new user can be created in the django admin site. Multiple recipes cannot be added to a particular user since the Recipe and User Models have a one to one relationship.