da

django-admino

Admino is a django package that provides a REST API for admin endpoints.

Showing:

Popularity

Downloads/wk

0

GitHub Stars

208

Maintenance

Last Commit

4yrs ago

Contributors

4

Package

Dependencies

0

License

MIT

Categories

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

Visible Books api url: /admin/api/books/book/?is_visible__exact=1

Book detail page url: /admin/books/book/1/

Book detail api url: /admin/api/books/book/1/

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"

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100