def get_user_edit_form(): form_setting = "WAGTAIL_USER_EDIT_FORM" if hasattr(settings, form_setting): return get_custom_form(form_setting) else: return UserEditForm
def get_user_login_form(): form_setting = 'WAGTAILADMIN_USER_LOGIN_FORM' if hasattr(settings, form_setting): return get_custom_form(form_setting) else: return LoginForm
def get_user_creation_form(): form_setting = "WAGTAIL_USER_CREATION_FORM" if hasattr(settings, form_setting): return get_custom_form(form_setting) else: return UserCreationForm
def get_user_login_form(): form_setting = 'WAGTAILADMIN_USER_LOGIN_FORM' if hasattr(settings, form_setting): return get_custom_form(form_setting) else: return forms.LoginForm
def get_password_reset_form(): form_setting = "WAGTAILADMIN_USER_PASSWORD_RESET_FORM" if hasattr(settings, form_setting): return get_custom_form(form_setting) else: return PasswordResetForm
def get_user_edit_form(): form_setting = 'WAGTAIL_USER_EDIT_FORM' if hasattr(settings, form_setting): return get_custom_form(form_setting) else: return UserEditForm
def get_user_creation_form(): form_setting = 'WAGTAIL_USER_CREATION_FORM' if hasattr(settings, form_setting): return get_custom_form(form_setting) else: return UserCreationForm