mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-11-26 16:44:54 +00:00
Initial Commit
This commit is contained in:
9
zod_bank/junior/admin.py
Normal file
9
zod_bank/junior/admin.py
Normal file
@ -0,0 +1,9 @@
|
||||
from django.contrib import admin
|
||||
from .models import Junior
|
||||
# Register your models here.
|
||||
@admin.register(Junior)
|
||||
class JuniorAdmin(admin.ModelAdmin):
|
||||
list_display = ['auth']
|
||||
|
||||
def __str__(self):
|
||||
return self.auth__email
|
||||
Reference in New Issue
Block a user