We're working on a Django app for a library. In our views.py, there are three functions: index, books, and authors which renders templates with the same names. Write URL patterns for application's urls.py file (you can name the route parameter as you want).
Intro to views in Django
URL patterns
Report a typo
Write a program in Python 3
urlpatterns = [
...
]
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.