This commit is contained in:
jain
2023-06-27 17:27:19 +05:30
parent 8ff142ce2f
commit ad582d77d7
50 changed files with 0 additions and 0 deletions

14
junior/admin.py Normal file
View File

@ -0,0 +1,14 @@
"""Junior admin"""
"""Third party Django app"""
from django.contrib import admin
"""Import Django app"""
from .models import Junior
# Register your models here.
@admin.register(Junior)
class JuniorAdmin(admin.ModelAdmin):
"""Junior Admin"""
list_display = ['auth']
def __str__(self):
"""Return email id"""
return self.auth__email