ModelMagicAPI
DjangoCRUDify is a Django app that provides automatic generation of CRUD APIs for Django models.
Installation
To install crudify, use the following pip command:
pip install DjangoCRUDify
### `docs/configuration.md`
```markdown
# Configuration
After installing crudify, you need to configure it in your Django project.
1. Add 'ModelMagicAPI' to your `INSTALLED_APPS` in your Django project's `settings.py`:
```python
INSTALLED_APPS = [
# ...
'ModelMagicAPI',
# ...
]
from modelmagicapi.utils import router, generate_swagger_schema
urlpatterns = [
# Your other URL patterns
path('api/', include(router.urls)),
path('swagger/', generate_swagger_schema(title="Test Apis", version='v1').with_ui('swagger', cache_timeout=0), name='schema-swagger-ui')
]
(Optional) Configure the models you want to expose by adding the following to your project's settings.py:
AUTO_API_USER_MODELS = ['app_name.Model1', 'app_name.Model2']
### `docs/usage.md`
```markdown
# Usage
After completing the installation and configuration, the CRUD APIs for the specified models will be available at `/api/`.
Metadata
Release files for DjangoCRUDify 0.3.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 | Provenance | Actions |
|---|---|---|---|---|
| DjangoCRUDify-0.3.0.tar.gz | 8.0 kB | Without provenance | Details for DjangoCRUDify-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| DjangoCRUDify-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for DjangoCRUDify-0.3.0-py3-none-any.whl |
Total release size: 17.7 kB
Release files / DjangoCRUDify-0.3.0.tar.gz
| Download URL | DjangoCRUDify-0.3.0.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
642f35383cd3a0f49e256c38ee340b5f7146cdebf5c5c414041802742b55c119
|
|
BLAKE2b-256 checksum How to use checksums |
1959f574c0617340af5597f5735f0a2602c36c02bfcfd0fa92272567bfcc0728
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.13
|
Release files / DjangoCRUDify-0.3.0-py3-none-any.whl
| Download URL | DjangoCRUDify-0.3.0-py3-none-any.whl |
|---|---|
| Size | 9.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
41a0dc9494aa1d363ffa26536dfa2ebe3942223a2033c327cfeba59356be3f89
|
|
BLAKE2b-256 checksum How to use checksums |
db2e7d310be4121647b05d8477a8428ad1640948adb28f4b2af3270bef1d1a26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.13
|
Security for DjangoCRUDify 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.