Django messaging application
This messaging app has to be integrated into an existing django website.
Quick start
- Add "messaging" to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [
...
'django_markdown_messaging',
]
- Include the messaging URLconf in your project urls.py like this:
path('msg/', include(('django_markdown_messaging.urls', 'messaging'))),
-
Run
python manage.py migrateto create the messaging models. -
Start the development server and visit http://127.0.0.1:8000/msg to check if everything is ok.
How to use
- Go to http://127.0.0.1:8000/msg and click on "new message"
- Write your message using plain text or markdown syntax
- You can choose to allow editing or deleting of this message
- Then, click on "Save" button
- Link of the message appears on screen, just copy and paste it to your friends! :-)
- If you go on the message page, you'll see your message and eventually a link to edit or delete this message.
Override those ugly templates
You can add a templates/messaging folder in your base application to override default templates.
There are four pages that you can override safely:
- base.html: the base page for all the messaging templates
- index.html: index page with a form to search a message
- message.html: page to display an existing message
- edit-message.html: page to add a new message or to edit an existing one
If you have any questions, I can help you! :-)
Metadata
Release files for django-markdown-messaging 0.1.0
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-markdown-messaging-0.1.0.tar.gz | 6.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_markdown_messaging-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.0 kB
Release files / django-markdown-messaging-0.1.0.tar.gz
| Download URL | django-markdown-messaging-0.1.0.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ccd688cc2ef258461eba767b17a320cb818e98e06eed14cc3089a1e336850186
|
|
BLAKE2b-256 checksum How to use checksums |
6fe6005118a8c149e03b42271914fb70a4c67c0b9c1734712c6deb4d92fff69f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.12 CPython/3.7.3 Linux/5.1.9-arch1-1-ARCH
|
Release files / django_markdown_messaging-0.1.0-py3-none-any.whl
| Download URL | django_markdown_messaging-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
29e62d86c2905cdcf5f40b9b6d8b1d869ace1d4c19a4c5d069bce05ee460c7d8
|
|
BLAKE2b-256 checksum How to use checksums |
2fee6ad696ef6e59d46b26def2fe92ef17519047b9f24dc1443a84a9fa8ff85d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.12 CPython/3.7.3 Linux/5.1.9-arch1-1-ARCH
|
Security for django-markdown-messaging 0.1.0
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.