Sobes.tech
Junior — Senior

Determining the appropriate generic‑view for displaying an article

livecode

Task condition

It is required to decide which generic view should be used to display a single article by its identifier and pass the necessary data to the template.

# views.py
# TODO: choose the appropriate generic view (e.g., DetailView) for displaying Article