Merge branch 'master' of https://bitbucket.org/enreda/back-latienda
This commit is contained in:
@@ -8,6 +8,6 @@ from . import models
|
||||
class UserAdmin(admin.ModelAdmin):
|
||||
list_display = ('email', 'full_name', 'role', 'company', 'email_verified', 'is_active', 'is_staff', 'created', 'last_visit')
|
||||
list_filter = ('is_active', 'is_staff', 'email_verified')
|
||||
search_fields = ('email', 'full_name', 'company')
|
||||
search_fields = ('email', 'full_name', 'company__short_name')
|
||||
|
||||
admin.site.register(models.CustomUser, UserAdmin)
|
||||
|
||||
Reference in New Issue
Block a user