evaluation-customer modeli yaratildi va kerakli fiealdlr qoshildi
This commit is contained in:
@@ -0,0 +1 @@
|
||||
from .customer import * # noqa
|
||||
|
||||
21
core/apps/evaluation/admin/customer.py
Normal file
21
core/apps/evaluation/admin/customer.py
Normal file
@@ -0,0 +1,21 @@
|
||||
from django.contrib import admin
|
||||
from unfold.admin import ModelAdmin
|
||||
|
||||
from core.apps.evaluation.models import CustomerModel, PropertyOwnerModel
|
||||
|
||||
|
||||
@admin.register(CustomerModel)
|
||||
class CustomerAdmin(ModelAdmin):
|
||||
list_display = (
|
||||
"id",
|
||||
"__str__",
|
||||
)
|
||||
|
||||
|
||||
@admin.register(PropertyOwnerModel)
|
||||
class PropertyOwnerAdmin(ModelAdmin):
|
||||
list_display = (
|
||||
"id",
|
||||
"__str__",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user