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 framework. It is functionally similar to the mezzanine.blog.

Usage

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

Then install this package using pip:

pip install mezzanine-mezz

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

INSTALLED_APPS = (
    # ...

    'mezzpaste',
    'dpaste',
)

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

For example, if you added ('^pastes/', include('dpaste.urls')) to your base urls.py, 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.

Source Distribution

mezzanine-dpaste-1.0.0.tar.gz (18.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page