mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-04-16 11:52:16 +00:00
Update forms.py
This commit is contained in:
parent
ca0a95ba9e
commit
bd76c280ec
@ -23,7 +23,7 @@ from .models import Profile, Club, Membership
|
||||
class CustomAuthenticationForm(AuthenticationForm):
|
||||
permission_mask = forms.ModelChoiceField(
|
||||
label=_("Permission mask"),
|
||||
queryset=PermissionMask.objects.order_by("rank"),
|
||||
queryset=PermissionMask.objects.order_by("-rank"),
|
||||
empty_label=None,
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user