authentik/passbook/admin/forms/policies.py

11 lines
245 B
Python
Raw Normal View History

2018-11-30 14:50:27 +00:00
"""passbook administration forms"""
from django import forms
from passbook.core.models import User
2019-02-16 09:24:31 +00:00
class PolicyTestForm(forms.Form):
"""Form to test policies against user"""
2018-11-30 14:50:27 +00:00
user = forms.ModelChoiceField(queryset=User.objects.all())