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.

Source Distribution

django-restful-admin-1.0.2.tar.gz (3.7 kB view details)

Uploaded Source

File details

Details for the file django-restful-admin-1.0.2.tar.gz.

File metadata

File hashes

Hashes for django-restful-admin-1.0.2.tar.gz
Algorithm Hash digest
SHA256 55057cb01f34d6c91430534c5735f0d2ce1a01a13b71679f4bccc6be476dc533
MD5 b304b812838af02bb202b7b644ed9e84
BLAKE2b-256 6c7b5bc52add2f2ae8809797acc584ac47c555ad70d68c0ef010afda69f728a3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page