changement page admin et nom classe
This commit is contained in:
@@ -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"]
|
||||
|
Reference in New Issue
Block a user