Skip to main content

Flask-SuperAdmin

https://travis-ci.org/SyrusAkbary/Flask-SuperAdmin.png?branch=master

Flask-Superadmin is the best admin interface framework for Flask. As good as Django admin.

Batteries included:

  • Admin interface

  • Scaffolding for MongoEngine, Django and SQLAlchemy

  • File administrator (optional)

Requirements:

Admin interface

Influenced heavily by the Django admin, provides easy create/edit/delete functionality for your project’s models (MongoEngine, Django or SQLAlchemy).

https://raw.github.com/SyrusAkbary/Flask-SuperAdmin/master/screenshots/model-list.png https://raw.github.com/SyrusAkbary/Flask-SuperAdmin/master/screenshots/model-edit.png

Introduction

This is library for building adminstrative interface on top of Flask framework.

Instead of providing simple scaffolding for SQLAlchemy, MongoEngine or Django models, Flask-SuperAdmin provides tools that can be used to build adminstrative interface of any complexity, using consistent look and feel.

Small example (Flask initialization omitted):

from flask.ext.superadmin import Admin, model

app = Flask(__name__)
admin = Admin(app)

# For SQLAlchemy (User is a SQLAlchemy Model/Table)
admin.register(User, session=db.session)

# For MongoEngine Documents (User is a MongoEngine Document)
admin.register(User)

# For Django Models (User is a Django Model)
admin.register(User)


# Adding a custom view
admin.add_view(CustomView(name='Photos', category='Cats'))

admin.setup_app(app)

Installation

For installing you have to do:

pip install Flask-SuperAdmin

Or:

python setup.py install

Examples

Library comes with a lot of examples, you can find them in examples directory.

Documentation

Flask-SuperAdmin is extensively documented, you can find documentation here.

3rd Party Stuff

Flask-SuperAdmin is built with help of Twitter Bootstrap, Chosen, and jQuery.

Kudos

This library is a supervitamined fork of the Flask-Admin package by Serge S. Koval.

Metadata

Release files for Flask-SuperAdmin 1.7.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Flask-SuperAdmin 1.7.1
File Size Uploaded Provenance Actions
Flask-SuperAdmin-1.7.1.tar.gz 186.5 kB Without provenance Details for Flask-SuperAdmin-1.7.1.tar.gz

Release files / Flask-SuperAdmin-1.7.1.tar.gz

Download URL Flask-SuperAdmin-1.7.1.tar.gz
Size 186.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0444ebfc5f561be43a693216f30f1d4506485b27e4803a16b76319ec3fe175c8
BLAKE2b-256 checksum
How to use checksums
b79420512acf8f8df262e0fe3832b4782f5c731000be383a22aff3fa7b5e087b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for Flask-SuperAdmin 1.7.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page