feat: add school management auth and student CRUD UI
This commit is contained in:
@@ -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',)
|
||||
|
||||
Reference in New Issue
Block a user