mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 03:56:43 +00:00
21 lines
441 B
Python
21 lines
441 B
Python
# -*- coding: utf-8 -*-
|
|
from __future__ import unicode_literals
|
|
|
|
from django.contrib import admin
|
|
|
|
from .models import ReportTemplate, ReportAsset
|
|
|
|
|
|
class ReportTemplateAdmin(admin.ModelAdmin):
|
|
|
|
list_display = ('template', 'description')
|
|
|
|
|
|
class ReportAssetAdmin(admin.ModelAdmin):
|
|
|
|
list_display = ('asset', 'description')
|
|
|
|
|
|
admin.site.register(ReportTemplate, ReportTemplateAdmin)
|
|
admin.site.register(ReportAsset, ReportAssetAdmin)
|