mirror of
https://github.com/inventree/InvenTree.git
synced 2025-08-06 03:51:34 +00:00
Improved project admin
This commit is contained in:
@@ -3,11 +3,12 @@ from django.contrib import admin
|
||||
from .models import PartCategory, Part
|
||||
|
||||
class PartAdmin(admin.ModelAdmin):
|
||||
|
||||
list_display = ('name', 'IPN', 'category')
|
||||
|
||||
# Custom form for PartCategory
|
||||
class PartCategoryAdmin(admin.ModelAdmin):
|
||||
|
||||
|
||||
list_display = ('name', 'path')
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user