mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-09 18:37:50 +00:00
Admin integration
This commit is contained in:
1 parent
44b9398c5d
commit
5748c2e684
1 file changed
+7
@@ -6,6 +6,13 @@ import common.models
|
||||
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)
|
||||
class AttachmentAdmin(admin.ModelAdmin):
|
||||
"""Admin interface for Attachment objects."""
|
||||
|
||||
Reference in new issue
Block a user