- Setup a virtual environment.
- Fork the repository.
- Clone the repository you just forked.
- Install the packages from the requirements file.
- In your views.py file, you'll find the following:
- A
list view
has been partially created for you, complete it:- In your context dictionary, add an empty list with a key called "my_list".
- Add dictionaries/objects in your empty list that contain "restaurant_name" and "food_type" as keys and give them values. Add three restaurants to your list.
- Render the list of objects in the template provided to the view.
- A
detail view
has been partially created for you, complete it:- In your
context
dictionary, add an empty dictionary/object with a key called "my_object" - The object must have a
restaurant_name
andfood_type
. Add your favorite restaurant. - Render the object in the template provided to the view.
- In your
- The URLs for these views have already been provided for you. You do not need to create them.
- Pass the tests (python manage.py test).
- Push your code.