A simple HTTP interface over Django ORM
Project description
django_http_orm
Http Interface over Django ORM
This library provides a simple HTTP interface over the Django ORM:
It proveds the following endpoints:
This returns a list of all the Django DB Models in APP_NAME
This returns schema information about FULL_MODEL_NAME
This performs a search for FULL_MODEL_NAME filtering by "email" and "name"
- PUT https://your.server.com/orm/query/[FULL_MODEL_NAME]/[ID] -d '{"first_name": "randi"}'
This performs an update on the Model instance with "ID" and updates "first_name" to "randi"
This performa s delete
- POST https://your.server.com/orm/query/[FULL_MODEL_NAME] - d '{"first_name" ...}'
This creates a FUKLL_MODEL_NAME with the attributes specified in the POST body.
INSTALLTION
You will need to include "django_http_orm" in your INSTALLED_APPS and also include "django_http_orm.urls" in your urls file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_http_orm-0.0.1.tar.gz.
File metadata
- Download URL: django_http_orm-0.0.1.tar.gz
- Upload date:
- Size: 1.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/44.1.0 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/2.7.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16c54ea42c73243413d6af3e4c5f44aed03e5e7b51517ebbbcf707e3867d45c0
|
|
| MD5 |
349713e4cab2cb4a4c02c1320a10e6fc
|
|
| BLAKE2b-256 |
59280c7efe1b330425de27d4f9850419925037f373bc4cabc15be3b1e3e70d1a
|
File details
Details for the file django_http_orm-0.0.1-py2-none-any.whl.
File metadata
- Download URL: django_http_orm-0.0.1-py2-none-any.whl
- Upload date:
- Size: 1.7 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/44.1.0 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/2.7.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ae3ef380bfc05fed3a456dddc8d0b1b1a6757ebdafc520f68c0326b212919ef
|
|
| MD5 |
ab37f7be4f20fb58b929e566dd5e3d3e
|
|
| BLAKE2b-256 |
0722ebf3980caedee610f55340863e5affb909426e28c7aa672e8352f5d2b8d4
|