adminka togirlandi
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
from django.contrib import admin
|
||||
from unfold.admin import ModelAdmin # noqa
|
||||
|
||||
from apps.geology.models import Geology
|
||||
|
||||
|
||||
@admin.register(Geology)
|
||||
class GeologyAdmin(ModelAdmin):
|
||||
class GeologyAdmin(admin.ModelAdmin):
|
||||
list_display = ("name", "category", "created_at", "updated_at")
|
||||
search_fields = ("name", "title", "body1", "body2", "body3")
|
||||
list_filter = ("category", "created_at", "updated_at")
|
||||
|
||||
Reference in New Issue
Block a user