Merged in feature/show-hep-id (pull request #83)
Display hep_id in list view Approved-by: Ramon Wenger
This commit is contained in:
commit
96bbd9082b
|
|
@ -47,7 +47,7 @@ class CustomUserAdmin(UserAdmin):
|
||||||
add_form = CustomUserCreationForm
|
add_form = CustomUserCreationForm
|
||||||
form = CustomUserChangeForm
|
form = CustomUserChangeForm
|
||||||
model = User
|
model = User
|
||||||
list_display = ('username', 'first_name', 'last_name', 'school_classes_list', 'is_superuser')
|
list_display = ('username', 'first_name', 'last_name', 'school_classes_list', 'is_superuser', 'hep_id')
|
||||||
list_filter = ('school_classes', 'is_superuser')
|
list_filter = ('school_classes', 'is_superuser')
|
||||||
ordering = ['pk']
|
ordering = ['pk']
|
||||||
search_fields = ('username', 'first_name', 'last_name')
|
search_fields = ('username', 'first_name', 'last_name')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue