11 lines
405 B
Python
11 lines
405 B
Python
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']
|