mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
parent
b79f0052a4
commit
11c3ac8bf8
@ -6,4 +6,9 @@ from django.contrib import admin
|
||||
import plugin.models as models
|
||||
|
||||
|
||||
admin.site.register(models.PluginConfig, admin.ModelAdmin)
|
||||
class PluginConfigAdmin(admin.ModelAdmin):
|
||||
"""Custom admin with restricted id fields"""
|
||||
readonly_fields = ["key", "name", ]
|
||||
|
||||
|
||||
admin.site.register(models.PluginConfig, PluginConfigAdmin)
|
||||
|
Loading…
Reference in New Issue
Block a user