Jira-13 sonar fixes

This commit is contained in:
jain
2023-06-27 11:44:00 +05:30
parent 9bd31f9e86
commit 44b25dde3e
19 changed files with 188 additions and 89 deletions

View File

@ -1,9 +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