Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/avelino/bottle-admin
Simple and extensible administrative interface framework for Bottle
https://github.com/avelino/bottle-admin
Last synced: about 2 months ago
JSON representation
Simple and extensible administrative interface framework for Bottle
- Host: GitHub
- URL: https://github.com/avelino/bottle-admin
- Owner: avelino
- License: mit
- Created: 2014-08-13T18:04:46.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-01-30T20:29:57.000Z (over 8 years ago)
- Last Synced: 2024-07-24T14:01:57.340Z (about 2 months ago)
- Language: Python
- Size: 48.8 KB
- Stars: 24
- Watchers: 3
- Forks: 5
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
bottle-admin
============
[![Build Status](https://travis-ci.org/avelino/bottle-admin.svg?branch=master)](https://travis-ci.org/avelino/bottle-admin) [![Coverage Status](https://coveralls.io/repos/avelino/bottle-admin/badge.svg?branch=master&service=github)](https://coveralls.io/github/avelino/bottle-admin?branch=master)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](https://github.com/avelino/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:
```python
from bottle_admin import site
site.setup(engine)
```
To register your SQLAlchemy models for using inside admin:
```python
site.register(YourModel)
```