parent
cfb2ceb2c3
commit
805c7d3dc0
10 changed files with 151 additions and 15 deletions
|
@ -25,7 +25,7 @@ class StatementForm(NummiForm):
|
|||
]
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
_user = kwargs.get("user")
|
||||
_user = kwargs.pop("user")
|
||||
_disable_account = kwargs.pop("disable_account", False)
|
||||
super().__init__(*args, **kwargs)
|
||||
self.fields["account"].queryset = _user.account_set.exclude(archived=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue