- Setup a virtual environment.
- Fork the repository and Clone it.
- Install the packages from the requirements file.
- The list view function has been partially written for you. Provide the dictionary key
restaurants
with the list of allRestaurant
objects. - Render the list of
Restaurant
objects to the HTML file provided. In the list view, you'll want to display minimum data (restaurant name and description). - The detail view function has been partially written for you. Provide the dictionary key
restaurant
with the specificRestaurant
object using theid
. - Render the
Restaurant
object to the HTML file provided. In the detail view, you'll want to display all data. - Adjust the URLs so that they'll correctly call the views.
- Using the
URL tag
, hyperlink the restaurant objects in the list page, so that when a user clicks on a restaurant it takes the user to the detail page. - Pass the tests.
- Push your code.
anhtudotinfo / task_05 Goto Github PK
View Code? Open in Web Editor NEWThis project forked from joincoded/task_05
Django Task 05