Skip to main content

User messages for Django REST Framework

Project description

User messages for Django REST Framework

PyPI PyPI - Python Version PyPI - License Workflows Documentation Status

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

drf_sendables-0.0.2.tar.gz (36.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

drf_sendables-0.0.2-py3-none-any.whl (39.8 kB view details)

Uploaded Python 3

File details

Details for the file drf_sendables-0.0.2.tar.gz.

File metadata

  • Download URL: drf_sendables-0.0.2.tar.gz
  • Upload date:
  • Size: 36.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for drf_sendables-0.0.2.tar.gz
Algorithm Hash digest
SHA256 4558c47b73f21628502907db4d3810423216cb4fed4335ffd9c7644b3a02a2d8
MD5 e74d076597a8f9085b64e30c54736d3f
BLAKE2b-256 a86c2971d1a89823f52f756324f8d82cb8a7449025b9f4b9ac1137eae37f89d3

See more details on using hashes here.

File details

Details for the file drf_sendables-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: drf_sendables-0.0.2-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

Hashes for drf_sendables-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 72ca1b6de20ee825a1396f89e002e6e64628dd386541c9728e9d2e48e39f0c94
MD5 72f4fd1135c2c12b071de7b75365dc91
BLAKE2b-256 2955ca2f07bf59996157f807fcf9c4ee46bfcb8f5e78b438321b1abaa9a5bc27

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page