This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

A hallo js markdown editor wrapper for Django. Made for use in FeinCMS, supports multiple editors on the same page.

Installation

You can install django-hallo-markdown either via the Python Package Index (PyPI) or from source.

To install using pip,:

$ pip install -U django-hallo-markdown

To install using easy_install,:

$ easy_install -U django-hallo-markdown

Example Usage with FeinCMS

from django import forms
from django.utils.translation import ugettext_lazy as _
from django.contrib.markup.templatetags.markup import markdown
from django.db import models

from feincms.module.page.models import Page
from feincms.admin.item_editor import ItemEditorForm

from djhallo.widgets import HalloInput


class MarkdownContentAdminForm(ItemEditorForm):
    content = forms.CharField(widget=HalloInput(),
        required=False, label=_('text'))


class MarkdownPageContent(models.Model):

    form = MarkdownContentAdminForm
    feincms_item_editor_form = MarkdownContentAdminForm

    content = models.TextField()

    class Meta:
        abstract = True

    def render(self, **kwargs):
        return markdown(self.content)

Page.create_content_type(MarkdownPageContent)
Release History

Release History

0.1.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-hallo-markdown-0.1.1.tar.gz (24.4 kB) Copy SHA256 Checksum SHA256 Source Mar 29, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting