# Expose Django's admin as a RESTFUL service
- Support all of restful api
- Auto generat serializers
- Use [Django Rest Framework](http://www.django-rest-framework.org/)
- 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/', admin.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.
Release files for django-restful-admin 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-restful-admin-1.0.0.tar.gz | 3.6 kB | Details |
Release files / django-restful-admin-1.0.0.tar.gz
| Download URL | django-restful-admin-1.0.0.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e2fb6077461fcbcd55362570e66bf3621fd6ea0b24781484624a2602d01e658b
|
|
BLAKE2b-256 checksum How to use checksums |
32c4c6c6c94aea71e6594228767345a4ecc5a2666966dc02a148de06101bccae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |