Skip to main content

Django Markdown View

Serve .md pages as Django templates.

Requirements

Tested with:

  • Python: 3.5, 3.6, 3.7, 3.8

  • Django: 2.0, 2.1, 2.2, 3.0

Installation

  1. Install with pip install django-markdown-view.

  2. Add 'markdown_view' to your INSTALLED_APPS setting.

    INSTALLED_APPS = [
        ...,
        'markdown_view',
        ...
    ]
  3. (OPTIONAL) Add BASE_DIR setting (dictionary of app base), for example:

    BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(__file__)))

Usage

Views

Use one of MarkdownView, LoggedInMarkdownView, or StaffMarkdownView to serve a .md file

from markdown_view import StaffMarkdownView

path('readme/',
    StaffMarkdownView.as_view(file_name='my_app/README.md'),
    name="readme"),

Authors

Wharton Computing

  • Ryan J. Sullivan

Other

Changelog

0.0.1 (2020-06-16)

  1. Initial release.

Metadata

Release files for django-markdown-view 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-markdown-view 0.0.1
File Size Uploaded Provenance Actions
django-markdown-view-0.0.1.tar.gz 10.6 kB Without provenance Details for django-markdown-view-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-markdown-view 0.0.1
File Interpreter ABI Platform Actions
django_markdown_view-0.0.1-py2.py3-none-any.whl Python 2, Python 3 none any Details for django_markdown_view-0.0.1-py2.py3-none-any.whl

Total release size: 23.9 kB

Release files / django-markdown-view-0.0.1.tar.gz

Download URL django-markdown-view-0.0.1.tar.gz
Size 10.6 kB
Tags Source
SHA-256 checksum
How to use checksums
54d86a97ab9f73f50b626022c1d39c656bc35f48f120acc2a23ef7b652f4d0c7
BLAKE2b-256 checksum
How to use checksums
a7664f152b37a63d58039cf52d0da58c4dc93e75ce8186f0b3d60135f5e9d3aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

Release files / django_markdown_view-0.0.1-py2.py3-none-any.whl

Download URL django_markdown_view-0.0.1-py2.py3-none-any.whl
Size 13.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
0f351411821138dbd6d76be7f81173b83087f3e6a1a3d659d895ca2b582dfeb4
BLAKE2b-256 checksum
How to use checksums
e9f187c3b32c8be180160e019be0e8b12836522488f2df3db8b81981f2bfe44a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

Security for django-markdown-view 0.0.1

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page