Skip to main content

A Mezzanine app to integrate dpaste, a Django pastebin.

Project description

MezzPaste is a Mezzanine app that integrates the Django pastebin dpaste into the Mezzanine framework.


First follow the dpaste instructions for integrating dpaste into an existing Django project.

Then install this package using pip:

pip install mezzanine-dpaste

Add the package to your INSTALLED_APPS, above the dpaste app:

    # ...


To enable syntax highlighting, generate a pygments CSS file and include it in your base.html:

pygmentize -S default -f html -a highlight > pygments.css

If you want to include a link in a Navigation menu, create a RichTextPage in Mezzanine with the same URL as the dpaste URL you added to

For example, if you added ('^pastes/', include('dpaste.urls')) to your base, you would need to create a RichTextPage with the name Pastes. If instead you added ('^foo/pastes/', include('dpaste.urls')), you would create a Pastes page under a Foo page.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for mezzanine-dpaste, version 1.0.3
Filename, size File type Python version Upload date Hashes
Filename, size mezzanine-dpaste-1.0.3.tar.gz (19.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page