first commit

This commit is contained in:
2026-03-19 22:54:29 +03:30
parent 1a178f39b7
commit 035bc6f74d
91 changed files with 3821 additions and 130 deletions
+19
View File
@@ -0,0 +1,19 @@
from django.contrib import admin
from .models import Plant
@admin.register(Plant)
class PlantAdmin(admin.ModelAdmin):
list_display = (
"id",
"name",
"light",
"soil",
"temperature",
"planting_season",
"created_at",
)
list_filter = ("planting_season",)
search_fields = ("name",)
readonly_fields = ("created_at", "updated_at")