Skip to content

Latest commit

 

History

History
26 lines (24 loc) · 1 KB

README.md

File metadata and controls

26 lines (24 loc) · 1 KB

bottle-admin

Build Status Coverage Status

Simple and extensible administrative interface framework for Bottle, based on the bottle-boilerplate. Bottle-admin uses the project and app structures from bottle-boilerplate.

How to use

Install bottle-admin

pip install git+git://github.com/avelino/bottle-admin.git@master

Start your project and app with bottle-boilerplate

bottle-boilerplate startproject YOUR-PROJECT
cd YOUR-PROJECT
python manage.py startapp YOUR-APP

Edit the manage.py file and add the following line:

from bottle_admin import site
site.setup(engine)

To register your SQLAlchemy models for using inside admin:

site.register(YourModel)