from django.contrib import admin
from .models import Student
# Register your models here.
# admin.site.register(Student)

@admin.register(Student)
class StudentAdmin(admin.ModelAdmin):
    # list all fields in table(Admin UI)
    # id : default field created by django
    list_display = ['id', 'name', 'roll', 'city']
