Coder Social home page Coder Social logo

simudream / flask-superadmin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from syrusakbary/flask-superadmin

0.0 2.0 0.0 2.04 MB

The best admin interface framework for Flask. With scaffolding for MongoEngine, Django and SQLAlchemy.

License: Other

JavaScript 3.56% Makefile 2.56% Shell 0.12% Python 69.89% HTML 11.96% CSS 11.90%

flask-superadmin's Introduction

Flask-SuperAdmin

Join the chat at https://gitter.im/syrusakbary/Flask-SuperAdmin

image

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).

image

image

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.

flask-superadmin's People

Contributors

syrusakbary avatar mrjoes avatar wojcikstefan avatar iurisilvio avatar tonyseek avatar noirbizarre avatar martyanov avatar rochacbruno avatar plaes avatar briancappello avatar daniellawrence avatar dmedvinsky avatar nosovsh avatar ba0f3 avatar denniseijpe avatar hardtack avatar wilsaj avatar sv1jsb avatar burhan avatar dbluestein avatar itrurl avatar dorianux avatar jpvanhal avatar javaguirre avatar jbremer avatar psykzz avatar deepwalker avatar devxoul avatar gitter-badger avatar yigitbey avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.