Coverage for website/merchandise/apps.py: 100.00%
8 statements
« prev ^ index » next coverage.py v7.6.7, created at 2025-08-14 10:31 +0000
« prev ^ index » next coverage.py v7.6.7, created at 2025-08-14 10:31 +0000
1"""Contains the appconfig for the merchandise module."""
3from django.apps import AppConfig
4from django.urls import reverse
5from django.utils.translation import gettext_lazy as _
8class MerchandiseConfig(AppConfig):
9 """Configuration for the merchandise module."""
11 name = "merchandise"
12 verbose_name = _("Merchandise")
14 def menu_items(self):
15 return {
16 "categories": [{"name": "association", "title": "Association", "key": 1}],
17 "items": [
18 {
19 "category": "association",
20 "title": "Merchandise",
21 "url": reverse("merchandise:index"),
22 "key": 4,
23 },
24 ],
25 }