Coverage for website/education/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
1from django.apps import AppConfig
2from django.urls import reverse
3from django.utils.translation import gettext_lazy as _
6class EducationConfig(AppConfig):
7 """AppConfig for the education package."""
9 name = "education"
10 verbose_name = _("Education")
12 def menu_items(self):
13 return {
14 "categories": [{"name": "education", "title": "Education", "key": 5}],
15 "items": [
16 {
17 "category": "education",
18 "title": "Summaries & Exams",
19 "url": reverse("education:courses"),
20 "key": 0,
21 },
22 {
23 "category": "education",
24 "title": "Book Sale",
25 "url": reverse("education:books"),
26 "key": 1,
27 },
28 ],
29 }