from django.urls import reverse import dashboard from dashboard import Link @dashboard.register class RentalsDashboardFragment(dashboard.LinksCardDashboardFragment): name = "Rentals" template = "dashboard/links_card.dj.html" links = [Link("Locker Index", reverse("rentals:index"), permission=None)]