from typing import Any from django.urls import reverse import dashboard @dashboard.register class RentalsDashboardFragment(dashboard.DashboardFragment): name = "Rentals" template = "dashboard/links_card.dj.html" @property def context(self) -> Any: return {"links": {"Locker Index": reverse("rentals:index")}}