User messages for Django REST Framework
drf-sendables is a Django reusable app providing the backend for dispatching and managing in-site message-like entities. It can be plugged into a Django project, utilizing any existing user authentication system. The HTTP REST API is implemented using Django REST framework.
Installation
The following versions are supported:
Python: 3.10 - 3.12
Django: 3.0 - 5.0
Django REST Framework: 3.10 - 3.15
Install via pip:
$ pip install drf-sendables
Add it to your INSTALLED_APPS:
INSTALLED_APPS = [
# ...
"sendables",
]
Register the app’s URLs under a path of your choice:
urlpatterns = [
# ...
path("some-path/", include("sendables.urls")),
]
where "some-path/" could be any URL.
Optionally, configure the app settings.
Generate and run the database migrations:
$ python manage.py makemigrations sendables
$ python manage.py migrate
Usage
You can find the description of the app’s endpoints in the documentation. For customized usage, see the relevant page.
License
Distributed under the MIT License.
Release files for drf-sendables 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| drf_sendables-0.0.2.tar.gz | 36.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| drf_sendables-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 76.4 kB
Release files / drf_sendables-0.0.2.tar.gz
| Download URL | drf_sendables-0.0.2.tar.gz |
|---|---|
| Size | 36.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4558c47b73f21628502907db4d3810423216cb4fed4335ffd9c7644b3a02a2d8
|
|
BLAKE2b-256 checksum How to use checksums |
a86c2971d1a89823f52f756324f8d82cb8a7449025b9f4b9ac1137eae37f89d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.12
|
Release files / drf_sendables-0.0.2-py3-none-any.whl
| Download URL | drf_sendables-0.0.2-py3-none-any.whl |
|---|---|
| Size | 39.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
72ca1b6de20ee825a1396f89e002e6e64628dd386541c9728e9d2e48e39f0c94
|
|
BLAKE2b-256 checksum How to use checksums |
2955ca2f07bf59996157f807fcf9c4ee46bfcb8f5e78b438321b1abaa9a5bc27
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.12
|