Skip to main content

Django Markdown View

Serve .md pages as Django templates.

Requirements

Tested with:

The Tested With section describes aspirational goals.

  • Python: 3.5, 3.6, 3.7, 3.8

  • Django: 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.2 (2020-07-06)

  1. Remove support for Django pre-2.2

  2. Adds missing file markdown_view/markdown_extensions.py

0.0.1 (2020-06-16)

  1. Initial release.

Metadata

Release files for django-markdown-view 0.0.2

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.2
File Size Uploaded Provenance Actions
django-markdown-view-0.0.2.tar.gz 10.6 kB Without provenance Details for django-markdown-view-0.0.2.tar.gz

Built distribution (wheel)

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

Total release size: 24.1 kB

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

Download URL django-markdown-view-0.0.2.tar.gz
Size 10.6 kB
Tags Source
SHA-256 checksum
How to use checksums
74ae9d3b755ab815fa7e293f4260b321e38799e9832921114ce927b0521b5b09
BLAKE2b-256 checksum
How to use checksums
09b17dcdc05d53c3bf111c41bbad40af83946fc44bbc9d80e3aaf49adf49f677
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.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.2-py2.py3-none-any.whl

Download URL django_markdown_view-0.0.2-py2.py3-none-any.whl
Size 13.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
7f905d3302ddf8a0c057ee0e1ab01b811e5b8d3bbd4354706ce2ded388045f34
BLAKE2b-256 checksum
How to use checksums
e54be97a31374051bde637ddfa1cd74eeb216cff89c6ae5448dae434bcea8f7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.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.2

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