Source

django-confirmation / confirmation / settings.py

Full commit
from string import ascii_lowercase, digits

from django.conf import settings


RAISE_404 = getattr(settings, "CONFIRMATION_RAISE_404", False)
DAYS_LIMIT = getattr(settings, "CONFIRMATION_DAYS_LIMIT", 30)
TOKEN_NAME = getattr(settings, "CONFIRMATION_TOKEN_NAME", "token")
KEY_NAME = getattr(settings, "CONFIRMATION_KEY_NAME", "confrimkey")
KEY_SYMBOLS = getattr(settings, "CONFIRMATION_KEY_SYMBOLS", digits + ascii_lowercase)
KEY_LENGTH = getattr(settings, "CONFIRMATION_KEY_SYMBOLS", 32)