Small improvements to user list

This commit is contained in:
Raphael Michel
2018-01-29 13:25:33 +01:00
parent 219c2c94e8
commit 8143999803
2 changed files with 2 additions and 1 deletions

View File

@@ -21,6 +21,7 @@ from pretix.control.views.user import RecentAuthenticationRequiredMixin
class UserListView(AdministratorPermissionRequiredMixin, ListView):
template_name = 'pretixcontrol/users/index.html'
context_object_name = 'users'
paginate_by = 30
def get_queryset(self):
qs = User.objects.all()