Initial commit from monorepo
This commit is contained in:
10
suppliers/admin.py
Normal file
10
suppliers/admin.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from django.contrib import admin
|
||||
from .models import SupplierProfile
|
||||
|
||||
|
||||
@admin.register(SupplierProfile)
|
||||
class SupplierProfileAdmin(admin.ModelAdmin):
|
||||
list_display = ['name', 'country', 'is_verified', 'is_active', 'created_at']
|
||||
list_filter = ['is_verified', 'is_active', 'country']
|
||||
search_fields = ['name', 'description', 'team_uuid']
|
||||
readonly_fields = ['uuid', 'created_at', 'updated_at']
|
||||
Reference in New Issue
Block a user