Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document Environment Variables #2338

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions doc/advanced.rst
Original file line number Diff line number Diff line change
Expand Up @@ -545,3 +545,20 @@ While the wrapped function should accept only one parameter - `ids`::
raise

flash(gettext('Failed to approve users. %(error)s', error=str(ex)), 'error')


Settings reference
------------------

This section list settings supported in the current release

FLASK_ADMIN_SWATCH
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Version 2 doesn't have this anymore.

Theme for bootswatch in order to customize you UI. See https://bootswatch.com/
Example : FLASK_ADMIN_SWATCH = "simplex"

FLASK_ADMIN_FLUID_LAYOUT
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Version 2 doesn't have this anymore.

Boolean. Use this if you want to use the bootstrap "container-fluid" (use the full width of the screen)

ADMIN_RAISE_ON_INTEGRITY_ERROR
Boolean. Control if any exeption is raised on integrity error or if flash messages are returned
Default = None (flash message)