mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-06 10:21:18 +00:00
Add subclass models for report types
This commit is contained in:
1 parent
251a23d127
commit
174c4cc591
3 files changed
+37
-4
No files matched your search
@@ -4,7 +4,7 @@ from __future__ import unicode_literals
|
||||
from django.contrib import admin
|
||||
|
||||
from .models import ReportTemplate, ReportAsset
|
||||
|
||||
from .models import TestReport
|
||||
|
||||
class ReportTemplateAdmin(admin.ModelAdmin):
|
||||
|
||||
@@ -17,4 +17,5 @@ class ReportAssetAdmin(admin.ModelAdmin):
|
||||
|
||||
|
||||
admin.site.register(ReportTemplate, ReportTemplateAdmin)
|
||||
admin.site.register(TestReport, ReportTemplateAdmin)
|
||||
admin.site.register(ReportAsset, ReportAssetAdmin)
|
||||
Reference in new issue
Block a user