Django Messages DRF
Official Documentation - https://tarsil.github.io/django-messages-drf/
Table of Contents
About Django Messages DRF
Django Messages DRF is an alternative and based on pinax-messages but using Django Rest Framework by making it easier to integrate with your existing project.
A special thanks to pinax for inspiring me to do this and use some ideas.
Overview
django-messages-drf is an app for providing private user-to-user threaded
messaging.
Supported Django and Python Versions
| Django / Python | 3.6 | 3.7 | 3.8 | 3.9 | 3.10 |
|---|---|---|---|---|---|
| 2.2 | Yes | Yes | Yes | Yes | Yes |
| 3.0 | Yes | Yes | Yes | Yes | Yes |
| 3.1 | Yes | Yes | Yes | Yes | Yes |
| 3.2 | Yes | Yes | Yes | Yes | Yes |
| 4.0 | Yes | Yes | Yes | Yes | Yes |
Documentation
Installation
To install django-messages:
$ pip install django-messages-drf
Add django_messages_drf to your INSTALLED_APPS:
INSTALLED_APPS = [
# other apps
"django_messages_drf",
]
Run Django migrations to create django-messages-drf database tables:
$ python manage.py migrate
Add django_messages_drf.urls to your project urlpatterns:
urlpatterns = [
# other urls
path(r"^messages-drf/", include("django_messages_drf.urls", namespace="django_messages_drf")),
]
Reference Guide
URL–View–Template Matrix
| URL Name | View |
|---|---|
django_messages_drf:inbox |
InboxListApiView |
django_messages_drf:thread |
ThreadListApiView |
django_messages_drf:thread-create |
ThreadCRUDApiView |
django_messages_drf:thread-send |
ThreadCRUDApiView |
django_messages_drf:thread-delete |
ThreadCRUDApiView |
django_messages_drf:message-edit |
EditMessageApiView |
Documentation and Support
Full documentation for the project is available at https://tarsil.github.io/django-messages-drf/
License
Copyright (c) 2020-present Tiago Silva and contributors under the MIT license.
Metadata
Release files for django-messages-drf 1.0.6
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 | |
|---|---|---|---|---|
| django-messages-drf-1.0.6.tar.gz | 17.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_messages_drf-1.0.6-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 39.0 kB
Release files / django-messages-drf-1.0.6.tar.gz
| Download URL | django-messages-drf-1.0.6.tar.gz |
|---|---|
| Size | 17.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4cb1c4dfed3f196a7cdc83f106b4d9816a30994851dfa1e5fc2b74e4f25c46d0
|
|
BLAKE2b-256 checksum How to use checksums |
945dc351573b0d77a54236428f1f54b5ff9e84b3c0815e40daa80037d7ca0387
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.12
|
Release files / django_messages_drf-1.0.6-py2.py3-none-any.whl
| Download URL | django_messages_drf-1.0.6-py2.py3-none-any.whl |
|---|---|
| Size | 21.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
30297aa7116eb2bc5913ad29ce3974a0d7f157e05387ab43ec484df9b561f8ef
|
|
BLAKE2b-256 checksum How to use checksums |
d1a4cf25b616562cfdb97294f29da3a3bffa6e9265aac8bc7d0df4de5f2531e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.12
|
Security for django-messages-drf 1.0.6
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.