Plain is headed towards 1.0! Subscribe for development updates →

 1"""
 2Typed field imports for better IDE and type checker support.
 3
 4This module provides password-specific field classes with a companion .pyi
 5stub file that makes type checkers interpret field assignments as their
 6primitive Python types.
 7
 8Usage:
 9    from plain.passwords.types import PasswordField
10
11    @models.register_model
12    class User(models.Model):
13        email: str = types.EmailField()
14        password: str = PasswordField()
15
16This is optional - you can continue using untyped field definitions.
17"""
18
19from plain.passwords.models import PasswordField
20
21__all__ = ["PasswordField"]