authentik/passbook/admin/forms/rule.py

11 lines
239 B
Python

"""passbook administration forms"""
from django import forms
from passbook.core.models import User
class RuleTestForm(forms.Form):
"""Form to test rule against user"""
user = forms.ModelChoiceField(queryset=User.objects.all())