Skip to main content

export Django Admin API by restful style

Project description

English | 简体中文


Requirements

  • Python (3.5, 3.6, 3.7, 3.8, 3.9)
  • Django (2.2, 3.0, 3.1, 3.2)

Step 1: Installation

Install using pip...

pip install django-admin-api

Add to your INSTALLED_APPS setting as followed.

INSTALLED_APPS = [
    ...
    'rest_framework',
    'django_filters',
    'admin_api',
]

Step 2: Startup up a demo project

Startup up a new project like so...

django-admin startproject example
cd example
./manage.py migrate
./manage.py createsuperuser

Step 3: export API with 'api' end-point

# example/urls.py
...
import admin_api
urlpatterns = [
  ...
  path('api/', admin_api.site.urls),
]

Frontend framework

framework project
ant-design(vue) antd-django

helper links

helper link
api detail document

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-admin-api-0.0.3.tar.gz (10.7 kB view hashes)

Uploaded Source

Built Distribution

django_admin_api-0.0.3-py3-none-any.whl (12.3 kB view hashes)

Uploaded Python 3

Supported by

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