Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/erdem/django-admino
Admino is a django package that provides a REST API for admin endpoints.
https://github.com/erdem/django-admino
Last synced: 3 days ago
JSON representation
Admino is a django package that provides a REST API for admin endpoints.
- Host: GitHub
- URL: https://github.com/erdem/django-admino
- Owner: erdem
- License: mit
- Created: 2016-01-23T12:57:16.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-23T13:45:46.000Z (over 7 years ago)
- Last Synced: 2025-01-09T03:11:50.704Z (10 days ago)
- Language: Python
- Homepage:
- Size: 83 KB
- Stars: 205
- Watchers: 18
- Forks: 25
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- starred-awesome - django-admino - Admino is a django package that provides a REST API for admin endpoints. (Python)
README
### Django Admino (Alpha)
Admino is a django package that provides a REST API for admin endpoints. It allows you to customize django admin panel.
http://admino.io
### Problem?
Django admin is good solution for development tests and i/o, but django admin needs to be more customizable and extendable.
### Solution:
if you want to implement a custom widget or ui for django admin, you may need a REST API to handle records.
Admino added to new api views to django admin genericly. You don't need to change default admin files.
Every API endpoint will generate your "ModelAdmin" configurations.##### EXAMPLE:
**Visible Books list page url:** /admin/books/book/?is_visible__exact=1
![](http://oi67.tinypic.com/2dqkfbs.jpg)
**Visible Books api url:** /admin/**api**/books/book/?is_visible__exact=1
![](http://oi65.tinypic.com/2nu3779.jpg)
**Book detail page url:** /admin/books/book/1/
![](http://oi66.tinypic.com/4jx4d0.jpg)
**Book detail api url:** /admin/**api**/books/book/1/
![](http://oi65.tinypic.com/9jisus.jpg)
#### Install
pip install django-admino
settings.py
INSTALLED_APPS = [
'admino',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'books',
]urls.py
from django.contrib import admin
import admino
admin.site = admino.site.activated(admin.site)
urlpatterns = [
url(r'^admin/', admin.site.urls),
]Add custom admin Mixin class:
settings.py
ADMINO_MIXIN_CLASS = "app.module.AdminMixinClass"