mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 12:06:44 +00:00
12 lines
296 B
Python
12 lines
296 B
Python
from django.contrib import admin
|
|
|
|
from .models import Supplier, SupplierPart, Customer
|
|
|
|
|
|
class CompanyAdmin(admin.ModelAdmin):
|
|
list_display = ('name', 'URL', 'contact')
|
|
|
|
admin.site.register(Customer, CompanyAdmin)
|
|
admin.site.register(Supplier, CompanyAdmin)
|
|
admin.site.register(SupplierPart)
|