admin: add view to test rules
This commit is contained in:
10
passbook/admin/forms/rule.py
Normal file
10
passbook/admin/forms/rule.py
Normal file
@ -0,0 +1,10 @@
|
||||
"""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())
|
||||
Reference in New Issue
Block a user