Package: oy-libs-Flask-Admin
Flask-AdminThe project was recently moved into its own organization. Please update your
references togit@github.com:flask-admin/flask-admin.git.IntroductionFlask-Admin is a batteries-included, simple-to-useFlaskextension that lets you
add admin interfaces to Flask applications. It is inspired by thedjango-adminpackage, but implemented in such
a way that the developer has total control of the look, feel and functionality of the resulting application.Out-of-the-box, Flask-Admin plays nicely with various ORM’s, includingSQLAlchemy,MongoEngine,pymongoandPeewee.It also boasts a simple file management interface and aredis clientconsole.The biggest feature of Flask-Admin is flexibility. It aims to provide a set of simple tools that can be used for
building admin interfaces of any complexity. So, to start off with you can create a very simple application in no time,
with auto-generated CRUD-views for each of your models. But then you can go further and customize those views & forms
as the need arises.Flask-Admin is an active project, well-tested and production ready.ExamplesSeveral usage examples are included in the/examplesfolder. Please add your own, or improve
on the existing examples, and submit apull-request.To run the examples in your local environment:1. Clone the repository::

      git clone https://github.com/flask-admin/flask-admin.git
      cd flask-admin

2. Create and activate a virtual environment::

      virtualenv env -p python3
      source env/bin/activate

3. Install requirements::

      pip install -r 'examples/sqla/requirements.txt'

4. Run the application::

      python examples/sqla/app.pyDocumentationFlask-Admin is extensively documented, you can find all of the documentation athttps://flask-admin.readthedocs.io/en/latest/.The docs are auto-generated from the.rstfiles in the/docfolder. So if you come across any errors, or
if you think of anything else that should be included, then please make the changes and submit them as apull-request.To build the docs in your local environment, from the project directory:tox -e docs-htmlAnd if you want to preview any.rstsnippets that you may want to contribute, go tohttp://rst.ninjs.org/.InstallationTo install Flask-Admin, simply:pip install flask-adminOr alternatively, you can download the repository and install manually by doing:git clone git@github.com:flask-admin/flask-admin.git
cd flask-admin
python setup.py installTestsTest are run withnose. If you are not familiar with this package you can get some more info fromtheir website.To run the tests, from the project directory, simply:pip install -r requirements-dev.txt
nosetestsYou should see output similar to:.............................................
----------------------------------------------------------------------
Ran 102 tests in 13.132s

OKFor all the tests to pass successfully, you’ll need Postgres & MongoDB to be running locally. For Postgres:> psql postgres
CREATE DATABASE flask_admin_test;
\q

> psql flask_admin_test
CREATE EXTENSION postgis;
CREATE EXTENSION hstore;You can also run the tests on multiple environments usingtox.3rd Party StuffFlask-Admin is built with the help ofBootstrap,Select2andBootswatch.If you want to localize your application, install theFlask-BabelExpackage.You can help improve Flask-Admin’s translations through Crowdin:https://crowdin.com/project/flask-adminChangelog1.5.3Fixed XSS vulnerabilitySupport nested categories in the navbar menuSQLAlchemysort on multiple columns withcolumn_default_sortsort on related models incolumn_sortable_listfix: inline model forms can now also be used for models with multiple primary keyssupport for using mappedcolumn_propertyUpgrade Leaflet and Leaflet.draw plugins, used for geoalchemy integrationSpecifyminimum_input_lengthfor ajax widgetPeewee: support composite keysMongoEngine: when searching/filtering the input is now regarded as case-insensitive by defaultFileAdminhandle special characters in filenamefix a bug with listing directories on Windowsavoid raising an exception when unknown sort parameter is encounteredWTForms 3 support1.5.2Fixed XSS vulnerabilityFixed Peewee supportAdded detail view column formattersUpdated Flask-Login example to work with the newer version of the libraryVarious SQLAlchemy-related fixesVarious Windows related fixes for the file admin1.5.1Dropped Python 2.6 supportFixed SQLAlchemy >= 1.2 compatibilityFixed Pewee 3.0 compatibilityFixed max year for a combo date inline editorLots of small bug fixes1.5.0Fixed CSRF generation logic for multi-process deploymentsAdded WTForms >= 3.0 supportFlask-Admin would not recursively save inline models, allowing arbitrary nestingAdded configuration properties that allow injection of additional CSS and JS dependencies into templates without overriding themSQLAlchemy backend
- Updated hybrid property detection using new SQLAlchemy APIs
- Added support for association proxies
- Added support for remote hybrid properties filters
- Added support for ARRAY column typeLocalization-related fixesMongoEngine backend is now properly formats model labelsImproved Google App Engine support:
- Added TextProperty, KeyProperty and SelectField support
- Added support for form_args, excluded_columns, page_size and after_model_updateFixed URL generation with localized named filtersFileAdmin has Bootstrap 2 support nowGeoalchemy fixes
- Use Google Places (by default) for place searchUpdated translationsBug fixes1.4.2Small bug fix release. Fixes regression that prevented usage of “virtual” columns with a custom formatter.1.4.1Official Python 3.5 supportCustomizable row actionsTablib support (exporting to XLS, XLSX, CSV, etc)Updated external dependencies (jQuery, x-editable, etc)Added settings that allows exceptions to be raised on view errorsBug fixes1.4.0Updated and reworked documentationFileAdmin went through minor refactoring and now supports remote file systems. Comes with the new, optional, AWS S3 file management interfaceConfigurable CSV export for model viewsAdded overridable URL generation logic. Allows using custom URLs with parameters for administrative viewsAdded column_display_actions to ModelView control visibility of the action column without overriding the templateAdded support for the latest MongoEngineNew SecureForm base class for easier CSRF validationLots of translation-related fixes and updated translationsBug fixes1.3.0New feature: Edit models in the list view in a popupNew feature: Read-only model details viewFixed XSS in column_editable_list valuesImproved navigation consistency in model create and edit viewsAbility to choose page size in model list viewUpdated client-side dependencies (jQuery, Select2, etc)Updated documentation and examplesUpdated translationsBug fixes