djangocms-mdeditor
djangocms-mdeditor is a ready-for-use addon for django CMS text editor using Martor as markdown-enabled text editor. The addon provides simple text editing using markdown, or the WYSIWYG-style setup provided by Martor (supports Bootstrap and Semantic-UI).
Requirements
djangocms-mdeditor is only tested with the following requirements.
Django>=3.2Martor>=1.6.4django-cms>=3.9
Installation
djangocms-mdeditor is available directly from PyPi.
- Install the package into your project via e.g.
pip install djangocms-mdeditor. - Add
djangocms-mdeditorand its requirementmartorto yourINSTALLED_APPS, similar to:
# settings.py
INSTALLED_APPS = [
...
'djangocms-mdeditor',
'martor',
]
- To be able to use the editors preview-function and more, you need to add the following to your
urls.py.
Be sure to place it before thecms.urls-include:
urlpatterns = [
...
re_path(r'martor/', include('martor.urls')),
re_path(r'^', include('cms.urls')),
]
- Perform a database migration with
python manage.py migrate djangocms-mdeditor. - If you don't have automatic static-collection configured for deployments, then remember to perform a
python manage.py collectstatic.
Usage / Settings
For extra settings regarding the editor - please see the Martor project.
Changelog
The release history / changelog is listed in the CHANGES.md-file.
CHANGES
Contributing
This is an open-source project. We'll be delighted to receive your feedback in the form of bug reports, bug fixes and new features in the form of issues and pull requests. These can be contributed on the projects GitHub-page.
- Fork the repository on GitHub.
- Make a new branch from the
main-branch (git checkout -b feature/fooBar). - And commit your changes to it (
git commit -am 'Add some fooBar'). - WIP (install dev-requirements with pipenv and run tests)
- Create a Pull Request with your contribution.
WIP - contribution guidelines / code-of-conduct?
Contributors
The djangocms-mdeditor project was started and developed by Danni Randeris in 2021.
Distributed under the MIT license. See LICENSE for more information.
Metadata
Release files for djangocms-mdeditor 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 | Actions |
|---|---|---|---|---|
| djangocms-mdeditor-0.1.0.tar.gz | 8.2 kB | Without provenance | Details for djangocms-mdeditor-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| djangocms_mdeditor-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for djangocms_mdeditor-0.1.0-py3-none-any.whl |
Total release size: 16.2 kB
Release files / djangocms-mdeditor-0.1.0.tar.gz
| Download URL | djangocms-mdeditor-0.1.0.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3d722757c83f6f9b5c94f97b531f2c5a4f73745baf874a33b86332402144d4fe
|
|
BLAKE2b-256 checksum How to use checksums |
e9b7aa8c04917e694f87b1acfaced04631268b3b6e4b7bef69f8fc701c4941cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.5
|
Release files / djangocms_mdeditor-0.1.0-py3-none-any.whl
| Download URL | djangocms_mdeditor-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
edb26d9086f8a2d6f863c0c75c78858f0dc4424498d89f4a8ba4fc7e93f6f9a4
|
|
BLAKE2b-256 checksum How to use checksums |
546c79c6422e2ff1847c55338b6c63514d84388afe69a7ea944edfd46da9d139
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.5
|
Security for djangocms-mdeditor 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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.