Compare commits
No commits in common. "a983aafba271cf5dd47c88b07530f886a54b3536" and "c2e58c4f92262fbefc135e2eb581bfdca9547ce3" have entirely different histories.
a983aafba2
...
c2e58c4f92
|
@ -10,7 +10,7 @@ class userprofile(admin.ModelAdmin):
|
|||
#list display
|
||||
list_display = ['user', 'score', 'last_submission_date', 'campus']
|
||||
# search list
|
||||
search_fields = ['score', 'user__username', 'campus__name']
|
||||
search_fields = ['score', 'user__username', 'campus']
|
||||
|
||||
@admin.register(Campus)
|
||||
class campus(admin.ModelAdmin):
|
||||
|
|
Loading…
Reference in New Issue