registered issues

This commit is contained in:
uttamthummala 2023-10-03 17:46:31 +05:30
parent 37615876d6
commit 59c1a0a59e
1 changed files with 9 additions and 0 deletions

View File

@ -217,3 +217,12 @@ class Placement(InternAdmin):
search_fields = (COMPANY_NAME, CONTACT_PERSON_NAME) search_fields = (COMPANY_NAME, CONTACT_PERSON_NAME)
ordering = ('updated_at', COMPANY_NAME, CONTACT_PERSON_NAME, 'stipend') ordering = ('updated_at', COMPANY_NAME, CONTACT_PERSON_NAME, 'stipend')
@admin.register(Issues)
class Issues(admin.ModelAdmin):
list_display = ('id', 'title', 'description')
search_fields = ('id', 'title', 'description')
ordering = ('id', 'title', 'description')
# list_filter = ('status',)
def Student(self, obj):
return model_admin_url(obj.student)