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.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


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.1.tar.gz (37.0 kB view hashes)

Uploaded Source

Built Distribution

drf_sendables-0.0.1-py3-none-any.whl (39.8 kB view hashes)

Uploaded Python 3

Supported by

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