Need help with django-admino?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

erdem
211 Stars 23 Forks MIT License 94 Commits 4 Opened issues

Description

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

Services available

!
?

Need anything else?

Contributors list

# 143,010
CSS
HTML
Shell
django-...
83 commits
# 744,541
Python
HTML
1 commit
# 1,460
image-f...
assembl...
netfram...
residua...
1 commit

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/?isvisible_exact=1

Visible Books api url: /admin/api/books/book/?isvisible_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"

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.