This repository was archived by the owner on Jul 30, 2024. It is now read-only.
Open
Conversation
jirikuncar
reviewed
May 14, 2017
|
|
||
| 2. Configure Flask-Security to use the correct I18N_DOMAIN:: | ||
|
|
||
| app.config['SECURITY_I18N_DOMAIN'] = 'flask_security' |
Contributor
There was a problem hiding this comment.
This is already a default (see https://github.com/mattupstate/flask-security/blob/develop/flask_security/core.py#L48)
jirikuncar
reviewed
May 14, 2017
|
|
||
| 1. Install Flask-BabelEx:: | ||
|
|
||
| pip install flask-babelex |
Contributor
There was a problem hiding this comment.
It is always installed (see https://github.com/mattupstate/flask-security/blob/develop/setup.py#L53).
jirikuncar
reviewed
May 14, 2017
Contributor
jirikuncar
left a comment
There was a problem hiding this comment.
IMHO we should focus more on customisation (e.g. when one should change the default domain).
Contributor
Author
|
I agree on focusing more on the customization part. 👍 I'll work on it once I'll find the time! :) |
jasco
pushed a commit
to jasco/flask-security
that referenced
this pull request
Oct 3, 2023
Now return errors is always a simple list of errors. we also return field_errors - which is the old wtforms dict of errors. Support new wtforms 3.0 form level errors. Convert some view code to utilize form level errors.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I added a very simple piece of i18n/Flask-BabelEx documentation
This (at least partly) closes #626