Django application to create messages based on markdown
Project description
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 migrate
to 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! :-)
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 django-markdown-messaging-0.1.0.tar.gz
.
File metadata
- Download URL: django-markdown-messaging-0.1.0.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.12 CPython/3.7.3 Linux/5.1.9-arch1-1-ARCH
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccd688cc2ef258461eba767b17a320cb818e98e06eed14cc3089a1e336850186 |
|
MD5 | 6c5a5610ac4619259d0315e66803050f |
|
BLAKE2b-256 | 6fe6005118a8c149e03b42271914fb70a4c67c0b9c1734712c6deb4d92fff69f |
File details
Details for the file django_markdown_messaging-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: django_markdown_messaging-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.12 CPython/3.7.3 Linux/5.1.9-arch1-1-ARCH
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29e62d86c2905cdcf5f40b9b6d8b1d869ace1d4c19a4c5d069bce05ee460c7d8 |
|
MD5 | 8dc022eb322d6e3118d725285a8ea289 |
|
BLAKE2b-256 | 2fee6ad696ef6e59d46b26def2fe92ef17519047b9f24dc1443a84a9fa8ff85d |