Optional: good to know Step 2 of 16 on the Backend Developer (Django) roadmap

Decorators

A decorator wraps a function to add extra behaviour, like Django's @login_required. You do not need to write your own early on, but you should recognise them when you see them.

More in Python essentials

See it on the Backend Developer (Django) roadmap