Sobes.tech
Junior — Senior

Display of archived articles upon request

livecode

Task condition

A boolean attribute archived is introduced into the article model. When attempting to open an article, if its archived field is True, instead of the usual text, a notification should be displayed indicating that the article is archived.

# views.py
# TODO: check the archived flag of the article and, if it is True, return a template or message "Article is archived"