# Refactoring APITokenView

* refactors API Token view
* updates tests
This commit is contained in:
mpeltriaux committed 2025-11-28 11:53:43 +01:00
1 parent a16fc2eb91
commit 1ac73e4bbb
4 files changed
+18 -21

No files matched your search

+1
View File
@@ -22,6 +22,7 @@ class NewAPITokenModalForm(BaseModalForm):
def __init__(self, *args, **kwargs):
self.template = "modal/modal_form.html"
super().__init__(*args, **kwargs)
self.instance = self.user
self.form_title = _("Generate API Token")
self.form_caption = ""