Coverage for apis_core/documentation/views.py: 62%

8 statements  

« prev     ^ index     » next       coverage.py v7.6.8, created at 2024-12-20 09:24 +0000

1from django.views.generic.base import TemplateView 

2 

3from apis_core.documentation.utils import Datamodel 

4 

5 

6class Documentation(TemplateView): 

7 template_name = "documentation.html" 

8 

9 def get_context_data(self): 

10 ctx = super().get_context_data() 

11 ctx["datamodel"] = Datamodel() 

12 return ctx