all: add more helpful help_text to models

This commit is contained in:
Jens Langhammer
2020-02-21 15:12:16 +01:00
parent e2f836feae
commit 26bf6fd22f
7 changed files with 127 additions and 12 deletions

View File

@ -10,7 +10,10 @@ from passbook.core.types import UIUserSettings
class PasswordFactor(Factor):
"""Password-based Django-backend Authentication Factor"""
backends = ArrayField(models.TextField())
backends = ArrayField(
models.TextField(),
help_text=_("Selection of backends to test the password against."),
)
password_policies = models.ManyToManyField(Policy, blank=True)
reset_factors = models.ManyToManyField(
Factor, blank=True, related_name="reset_factors"