# Django study group ## Week 1 - Create a django web app capable of controlling the stock of ur products - Ur products must contain **at least** the following fields: - name - price - quantity - Ur application must contain **at least** the following routes: - /products list the products registered on ur application - /products/create show the form to create a product and creates the product - /products/<product_id> show the details of a given product - /products/<product_id>/edit edit the product info - /products/<product_id>/delete delete the product - Interesting links: - [Django Project](https://www.djangoproject.com/) - [Django Tutorial Part 1](https://docs.djangoproject.com/en/3.0/intro/tutorial01/) ## Week 2 - Extend ur web application so we could be registering the suppliers for ur products - Your supplier must contain **at least** the following fields: - name - U will need to register the supplier on a different model and **relate** the **product* with its **supplier** - Ur application must contain **at least** the following **new** routes: - /suppliers list the suppliers registered on ur application - /suppliers/create show the form to create a supplier and creates the supplier - /suppliers/<supplier_id> show the details of a given supplier - /suppliers/<supplier_id>/edit edit the supplier info - /suppliers/<supplier_id>/delete delete the supplier - Interesting links: - [Django Tutorial Part 2](https://docs.djangoproject.com/en/3.0/intro/tutorial02/) - [Tipos de relacionamento](https://sites.google.com/site/uniplibancodedados1/aulas/aula-7---tipos-de-) ## Week 3 - Sepcs: - Extend ur web application to become an `API`. Its contents must be return as `JSON` - U must use `Django Rest Framework` to complete this task - U are not allowed to use `ModelViewSet` - Tips: - Install `Postman` to send requests to your application - Interesting links: - [Django Rest Framework](https://www.django-rest-framework.org/)