Files
ibapp-backend/core/apps/wherehouse/admin/wherehouse.py
2025-09-22 11:08:02 +05:00

9 lines
252 B
Python

from django.contrib import admin
from core.apps.wherehouse.models.wherehouse import WhereHouse
@admin.register(WhereHouse)
class WhereHouseAdmin(admin.ModelAdmin):
list_display = ['id','name', 'address',]
search_fields = ['name', 'address']