User messages for Django REST Framework
Project description
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.14
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.
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
File details
Details for the file drf-sendables-0.0.1.tar.gz
.
File metadata
- Download URL: drf-sendables-0.0.1.tar.gz
- Upload date:
- Size: 37.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1859ebc8c4346b85e8bd20ac5e8c2136b1b49b196325eb97a04212fa67664968 |
|
MD5 | 178587ce9442b9136df100fa68f6cad5 |
|
BLAKE2b-256 | b836e094ac3e59ab75122039adfcf16c1d7c22c98a23aeb7ec7c1ea860b01b20 |
File details
Details for the file drf_sendables-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: drf_sendables-0.0.1-py3-none-any.whl
- Upload date:
- Size: 39.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca47d5cbdf8633dad21b691955a80c66bc40cb62999b25719eba53074c5bcd7b |
|
MD5 | 84bec392ffe5372291c510055bd1df7b |
|
BLAKE2b-256 | 9f55beb3212bd5e877ef2a27ad335113987ae157246ee99cbaeb1ba2dda5f909 |