# Path: account/languages.py
# LANGUAGES = [
#     ("af", "Afrikaans"),
#     ("ar", "العربيّة"),
#     ("ast", "asturian"),
#     ("az", "Azərbaycanca"),
#     ("bg", "български"),
#     ("be", "беларуская"),
#     ("bn", "বাংলা"),
#     ("br", "brezhoneg"),
#     ("bs", "bosanski"),
#     ("ca", "català"),
#     ("cs", "česky"),
#     ("cy", "Cymraeg"),
#     ("da", "dansk"),
#     ("de", "Deutsch"),
#     ("el", "Ελληνικά"),
#     ("en", "English"),
#     ("en-au", "Australian English"),
#     ("en-gb", "British English"),
#     ("eo", "Esperanto"),
#     ("es", "español"),
#     ("es-ar", "español de Argentina"),
#     ("es-mx", "español de Mexico"),
#     ("es-ni", "español de Nicaragua"),
#     ("es-ve", "español de Venezuela"),
#     ("et", "eesti"),
#     ("eu", "Basque"),
#     ("fa", "فارسی"),
#     ("fi", "suomi"),
#     ("fr", "français"),
#     ("fy", "frysk"),
#     ("ga", "Gaeilge"),
#     ("gl", "galego"),
#     ("he", "עברית"),
#     ("hi", "Hindi"),
#     ("hr", "Hrvatski"),
#     ("hu", "Magyar"),
#     ("ia", "Interlingua"),
#     ("id", "Bahasa Indonesia"),
#     ("io", "ido"),
#     ("is", "Íslenska"),
#     ("it", "italiano"),
#     ("ja", "日本語"),
#     ("ka", "ქართული"),
#     ("kk", "Қазақ"),
#     ("km", "Khmer"),
#     ("kn", "Kannada"),
#     ("ko", "한국어"),
#     ("lb", "Lëtzebuergesch"),
#     ("lt", "Lietuviškai"),
#     ("lv", "latvieš"),
#     ("mk", "Македонски"),
#     ("ml", "Malayalam"),
#     ("mn", "Mongolian"),
#     ("mr", "मराठी"),
#     ("my", "မြန်မာဘာသာ"),
#     ("nb", "norsk (bokmål)"),
#     ("ne", "नेपाली"),
#     ("nl", "Nederlands"),
#     ("nn", "norsk (nynorsk)"),
#     ("os", "Ирон"),
#     ("pa", "Punjabi"),
#     ("pl", "polski"),
#     ("pt", "Português"),
#     ("pt-br", "Português Brasileiro"),
#     ("ro", "Română"),
#     ("ru", "Русский"),
#     ("sk", "slovenský"),
#     ("sl", "Slovenščina"),
#     ("sq", "shqip"),
#     ("sr", "српски"),
#     ("sr-latn", "srpski (latinica)"),
#     ("sv", "svenska"),
#     ("sw", "Kiswahili"),
#     ("ta", "தமிழ்"),
#     ("te", "తెలుగు"),
#     ("th", "ภาษาไทย"),
#     ("tr", "Türkçe"),
#     ("tt", "Татарча"),
#     ("udm", "Удмурт"),
#     ("uk", "Українська"),
#     ("ur", "اردو"),
#     ("vi", "Tiếng Việt"),
#     ("zh-cn", "简体中文"),
#     ("zh-hans", "简体中文"),
#     ("zh-hant", "繁體中文"),
#     ("zh-tw", "繁體中文")
# ]


import importlib
from django.conf import settings  # noqa
from django.core.exceptions import ImproperlyConfigured
from account.languages import LANGUAGES
from account.timezones import TIMEZONES
from appconf import AppConf

    OPEN_SIGNUP = True
    LOGIN_URL = "account_login"
    LOGOUT_URL = "account_logout"
    SIGNUP_REDIRECT_URL = "/"
    LOGIN_REDIRECT_URL = "/"
    LOGOUT_REDIRECT_URL = "/"
    PASSWORD_CHANGE_REDIRECT_URL = "account_password"
    PASSWORD_RESET_REDIRECT_URL = "account_login"
    PASSWORD_RESET_TOKEN_URL = "account_password_reset_token"
    PASSWORD_EXPIRY = 0
    PASSWORD_USE_HISTORY = False
    PASSWORD_STRIP = True
    REMEMBER_ME_EXPIRY = 60 * 60 * 24 * 365 * 10
    USER_DISPLAY = lambda user: user.username  # noqa
    CREATE_ON_SAVE = True
    EMAIL_UNIQUE = True
    EMAIL_CONFIRMATION_REQUIRED = False
    EMAIL_CONFIRMATION_EMAIL = True
    EMAIL_CONFIRMATION_EXPIRE_DAYS = 3
    EMAIL_CONFIRMATION_AUTO_LOGIN = False
    EMAIL_CONFIRMATION_ANONYMOUS_REDIRECT_URL = "account_login"
    EMAIL_CONFIRMATION_AUTHENTICATED_REDIRECT_URL = None
    EMAIL_CONFIRMATION_URL = "account_confirm_email"
    SETTINGS_REDIRECT_URL = "account_settings"
    NOTIFY_ON_PASSWORD_CHANGE = True
    DELETION_EXPUNGE_HOURS = 48
    DEFAULT_HTTP_PROTOCOL = "https"
    HOOKSET = "account.hooks.AccountDefaultHookSet"
    TIMEZONES = TIMEZONES

# Path: account/languages.py
# LANGUAGES = [
#     ("af", "Afrikaans"),
#     ("ar", "العربيّة"),
#     ("ast", "asturian"),
#     ("az", "Azərbaycanca"),
#     ("bg", "български"),
#     ("be", "беларуская"),
#     ("bn", "বাংলা"),
#     ("br", "brezhoneg"),
#     ("bs", "bosanski"),
#     ("ca", "català"),
#     ("cs", "česky"),
#     ("cy", "Cymraeg"),
#     ("da", "dansk"),
#     ("de", "Deutsch"),
#     ("el", "Ελληνικά"),
#     ("en", "English"),
#     ("en-au", "Australian English"),
#     ("en-gb", "British English"),
#     ("eo", "Esperanto"),
#     ("es", "español"),
#     ("es-ar", "español de Argentina"),
#     ("es-mx", "español de Mexico"),
#     ("es-ni", "español de Nicaragua"),
#     ("es-ve", "español de Venezuela"),
#     ("et", "eesti"),
#     ("eu", "Basque"),
#     ("fa", "فارسی"),
#     ("fi", "suomi"),
#     ("fr", "français"),
#     ("fy", "frysk"),
#     ("ga", "Gaeilge"),
#     ("gl", "galego"),
#     ("he", "עברית"),
#     ("hi", "Hindi"),
#     ("hr", "Hrvatski"),
#     ("hu", "Magyar"),
#     ("ia", "Interlingua"),
#     ("id", "Bahasa Indonesia"),
#     ("io", "ido"),
#     ("is", "Íslenska"),
#     ("it", "italiano"),
#     ("ja", "日本語"),
#     ("ka", "ქართული"),
#     ("kk", "Қазақ"),
#     ("km", "Khmer"),
#     ("kn", "Kannada"),
#     ("ko", "한국어"),
#     ("lb", "Lëtzebuergesch"),
#     ("lt", "Lietuviškai"),
#     ("lv", "latvieš"),
#     ("mk", "Македонски"),
#     ("ml", "Malayalam"),
#     ("mn", "Mongolian"),
#     ("mr", "मराठी"),
#     ("my", "မြန်မာဘာသာ"),
#     ("nb", "norsk (bokmål)"),
#     ("ne", "नेपाली"),
#     ("nl", "Nederlands"),
#     ("nn", "norsk (nynorsk)"),
#     ("os", "Ирон"),
#     ("pa", "Punjabi"),
#     ("pl", "polski"),
#     ("pt", "Português"),
#     ("pt-br", "Português Brasileiro"),
#     ("ro", "Română"),
#     ("ru", "Русский"),
#     ("sk", "slovenský"),
#     ("sl", "Slovenščina"),
#     ("sq", "shqip"),
#     ("sr", "српски"),
#     ("sr-latn", "srpski (latinica)"),
#     ("sv", "svenska"),
#     ("sw", "Kiswahili"),
#     ("ta", "தமிழ்"),
#     ("te", "తెలుగు"),
#     ("th", "ภาษาไทย"),
#     ("tr", "Türkçe"),
#     ("tt", "Татарча"),
#     ("udm", "Удмурт"),
#     ("uk", "Українська"),
#     ("ur", "اردو"),
#     ("vi", "Tiếng Việt"),
#     ("zh-cn", "简体中文"),
#     ("zh-hans", "简体中文"),
#     ("zh-hant", "繁體中文"),
#     ("zh-tw", "繁體中文")
# ]


# Path: account/conf.py
import importlib
from django.conf import settings  # noqa
from django.core.exceptions import ImproperlyConfigured
from account.languages import LANGUAGES
from account.timezones import TIMEZONES
from appconf import AppConf


    OPEN_SIGNUP = True
    LOGIN_URL = "account_login"
    LOGOUT_URL = "account_logout"
    SIGNUP_REDIRECT_URL = "/"
    LOGIN_REDIRECT_URL = "/"
    LOGOUT_REDIRECT_URL = "/"
    PASSWORD_CHANGE_REDIRECT_URL = "account_password"
    PASSWORD_RESET_REDIRECT_URL = "account_login"
    PASSWORD_RESET_TOKEN_URL = "account_password_reset_token"
    PASSWORD_EXPIRY = 0
    PASSWORD_USE_HISTORY = False
    PASSWORD_STRIP = True
    REMEMBER_ME_EXPIRY = 60 * 60 * 24 * 365 * 10
    USER_DISPLAY = lambda user: user.username  # noqa
    CREATE_ON_SAVE = True
    EMAIL_UNIQUE = True
    EMAIL_CONFIRMATION_REQUIRED = False
    EMAIL_CONFIRMATION_EMAIL = True
    EMAIL_CONFIRMATION_EXPIRE_DAYS = 3
    EMAIL_CONFIRMATION_AUTO_LOGIN = False
    EMAIL_CONFIRMATION_ANONYMOUS_REDIRECT_URL = "account_login"
    EMAIL_CONFIRMATION_AUTHENTICATED_REDIRECT_URL = None
    EMAIL_CONFIRMATION_URL = "account_confirm_email"
    SETTINGS_REDIRECT_URL = "account_settings"
    NOTIFY_ON_PASSWORD_CHANGE = True
    DELETION_EXPUNGE_HOURS = 48
    DEFAULT_HTTP_PROTOCOL = "https"
    HOOKSET = "account.hooks.AccountDefaultHookSet"
    TIMEZONES = TIMEZONES

    LANGUAGES = LANGUAGES