changement page admin et nom classe

This commit is contained in:
Ambulance Clerc
2023-08-12 19:11:20 +02:00
parent 0cbb72dfa2
commit 577ad4d125
3 changed files with 13 additions and 12 deletions

View File

@@ -4,11 +4,12 @@ from studenteval.models import cl_Student_eval
class _cl_Student_eval_admin(admin.ModelAdmin):
list_display = ('uuid', 'sStudent', "get_ref_of_eval", "nEval_Type", "nEval_Mode", "sAuthor")
list_display = ('sStudent', "get_ref_of_eval", "nEval_Type", "nEval_Mode", "sAuthor")
search_fields = ['Student']
search_fields = ['sStudent', 'sRef']
list_filter = ['sStudent',"sAuthor", "nEval_Type", "nEval_Mode"]
#fields = ["Vehicle", "nType",'sTitle', "sDesc","dtStart", "dtEnd", "Author"]