feat: add school management auth and student CRUD UI

This commit is contained in:
Sina
2026-09-24 23:34:21 +03:30
parent 12e9efcb5c
commit 8a196f8c4f
20 changed files with 326 additions and 9 deletions

View File

@@ -1,3 +1,10 @@
from django.contrib import admin
# Register your models here.
from .models import Student
@admin.register(Student)
class StudentAdmin(admin.ModelAdmin):
list_display = ('first_name', 'last_name', 'age', 'grade', 'created_at')
search_fields = ('first_name', 'last_name')
list_filter = ('grade',)