Skip to main content

Python Django RestFul Admin

Project description

Expose Django’s admin as a RESTFUL service

  • Support all of restful api
  • Auto generat serializers
  • Use Django Rest Framework
  • Fully customization support

How To Install

pip install django-restful-admin

add to INSTALED_APPS

INSTALLED_APPS = [
  ...
  'rest_framework',
  'django_restful_admin',
  ...
]

How To use

you need only add the bellow code to admin.py in your apps

from django_restful_admin import site
from yourapp.models improt FisrtModel, ScoundModel

site.register(FisrtModel)
site.register(ScoundModel)

add url to your project urls.py

from django_restful_admin import site

urlpatterns = [
      ...
      path('apiadmin/', site.urls),
      ...
    ]

Run project and open url http://your-ip:port/apiadmin/

enjoy!

Customization

add more documentation about customization very soon ….

Contribute

if you think you can help me please let’s start.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-restful-admin, version 1.0.3
Назва файлу, розмір File type Версія Python Дата завантаження Hashes
Назва файлу, розмір django-restful-admin-1.0.3.tar.gz (3.8 kB) File type Source Версія Python Нема Дата завантаження Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page