Coverage for website/documents/apps.py: 100.00%

8 statements  

« 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 _ 

4 

5 

6class DocumentsConfig(AppConfig): 

7 name = "documents" 

8 verbose_name = _("Documents") 

9 

10 def menu_items(self): 

11 return { 

12 "categories": [{"name": "association", "title": "Association", "key": 1}], 

13 "items": [ 

14 { 

15 "category": "association", 

16 "title": "Documents", 

17 "url": reverse("documents:index"), 

18 "key": 3, 

19 }, 

20 ], 

21 }