mirror of
https://github.com/inventree/InvenTree.git
synced 2025-12-16 17:28:11 +00:00
Admin integration
This commit is contained in:
@@ -6,6 +6,13 @@ import common.models
|
|||||||
import common.validators
|
import common.validators
|
||||||
|
|
||||||
|
|
||||||
|
@admin.register(common.models.ParameterTemplate)
|
||||||
|
class ParameterTemplateAdmin(admin.ModelAdmin):
|
||||||
|
"""Admin interface for ParameterTemplate objects."""
|
||||||
|
|
||||||
|
list_display = ('name', 'description', 'units')
|
||||||
|
|
||||||
|
|
||||||
@admin.register(common.models.Attachment)
|
@admin.register(common.models.Attachment)
|
||||||
class AttachmentAdmin(admin.ModelAdmin):
|
class AttachmentAdmin(admin.ModelAdmin):
|
||||||
"""Admin interface for Attachment objects."""
|
"""Admin interface for Attachment objects."""
|
||||||
|
|||||||
Reference in New Issue
Block a user