{ "info": { "author": "Remi Barraquand", "author_email": "dev@remibarraquand.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "django-epiceditor\n=================\n\nA django app that allows the easy addition of EpicEditor_ markdown editor to a django form field, whether in a custom app or the Django Admin.\n\n.. _EpicEditor: http://oscargodson.github.com/EpicEditor/\n\nPreview\n-------\n\nHere are a few screenshots of EpicEditor within django.\n\nStandard edition mode\n~~~~~~~~~~~~~~~~~~~~~\n\n.. image:: https://raw.github.com/barraq/django-epiceditor/master/editor.png\n :alt: A screenshot of EpicEditor standard edition mode in Django's admin\n\nFullscreen edition mode mode\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n.. image:: https://raw.github.com/barraq/django-epiceditor/master/fullscreen.png \n :alt: A screenshot of EpicEditor fullscree mode in Django's admin\")\n\n\nInstallation\n------------\n\n- Install via pip: `pip install -e https://github.com/barraq/django-epiceditor.git#egg=django-epiceditor` for the latest version, otherwise 'pip install django-epiceditor' \n- Add `epiceditor` to your `INSTALLED_APPS`\n\n.. note:: This package will install a cloned copy of the EpicEditor_ library from https://github.com/OscarGodson/EpicEditor\n\n\nUsage\n-----\n\nIf you want to use the EpicEditor editor in a django admin field, there are numerous possible approaches:\n\nTo use it in **all** `TextField`'s in you admin form:\n\n.. code:: python\n\n from django.db import models\n from epiceditor.widgets import AdminEpicEditorWidget\n \n class FooModelAdmin(models.ModelAdmin):\n formfield_overrides = {\n models.TextField: {'widget': AdminEpicEditorWidget },\n }\n \nAlternatively, to only use it on particular fields, first create a form (in `forms.py`): \n\n.. code:: python\n\n from django import forms\n from models import FooModel\n from epiceditor.widgets import AdminEpicEditorWidget \n class FooModelForm(forms.ModelForm):\n a_text_field = forms.CharField(widget=AdminEpicEditorWidget()) \n another_text_field = forms.CharField(widget=AdminEpicEditorWidget()) \n \n class Meta:\n model = FooModel\n \nand in your `admin.py`:\n\n.. code:: python\n\n from forms import FooModelForm\n \n class FooModelAdmin(models.ModelAdmin):\n form = FooModelForm \n \nThemes\n~~~~~~\n\nEpicEditor_ comes with different themes. In order to change the default themes EpicEditorWidget \nallows you to pass *themes* parameters. For instance if you want to use the light theme for the editor do as\nfollow:\n\n.. code:: python\n\n from django import forms\n from models import FooModel\n from epiceditor.widgets import AdminEpicEditorWidget \n class FooModelForm(forms.ModelForm):\n a_text_field = forms.CharField(widget=AdminEpicEditorWidget(themes={'editor':'epic-light.css'})) \n another_text_field = forms.CharField(widget=AdminEpicEditorWidget()) \n \n class Meta:\n model = FooModel\n \nNotes\n-----\n\nThis plugin was develop by taking inspiration from django-pagedown_ and is using the great EpicEditor_.\n\n.. _django-pagedown: https://github.com/timmyomahony/django-pagedown", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/barraq/django-epiceditor", "keywords": null, "license": "LICENSE", "maintainer": null, "maintainer_email": null, "name": "django-epiceditor", "package_url": "https://pypi.org/project/django-epiceditor/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-epiceditor/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/barraq/django-epiceditor" }, "release_url": "https://pypi.org/project/django-epiceditor/0.2.3/", "requires_dist": null, "requires_python": null, "summary": "A django app that allows the easy addition of EpicEditor markdown editor to a django form field, whether in a custom app or the Django Admin.", "version": "0.2.3" }, "last_serial": 1210619, "releases": { "0.2.0": [], "0.2.1": [ { "comment_text": "", "digests": { "md5": "3594e3ec1e08e864c9736be073fd45f0", "sha256": "cf1bc091418dda7bed50d708ac2a4c3e4449bc41e25665fac21860445068ccfa" }, "downloads": -1, "filename": "django-epiceditor-0.2.1.tar.gz", "has_sig": false, "md5_digest": "3594e3ec1e08e864c9736be073fd45f0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 145102, "upload_time": "2013-02-22T16:46:21", "url": "https://files.pythonhosted.org/packages/b0/3c/6577c723eb92f64cc0e23771f209d75be34e0628c6b2213dd67a61801d07/django-epiceditor-0.2.1.tar.gz" } ], "0.2.1.1": [ { "comment_text": "", "digests": { "md5": "025343dfede769202309ed725787189b", "sha256": "1052beb5d56255453350daab3a651d89a2321937d1a46b539cea4dac8b7f216d" }, "downloads": -1, "filename": "django-epiceditor-0.2.1.1.tar.gz", "has_sig": false, "md5_digest": "025343dfede769202309ed725787189b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 145206, "upload_time": "2013-02-24T15:59:42", "url": "https://files.pythonhosted.org/packages/62/c8/090b610ed62d536bc6d2cbe938811160d893d35bb6af3f7e15ed6cc61143/django-epiceditor-0.2.1.1.tar.gz" } ], "0.2.1.2": [ { "comment_text": "", "digests": { "md5": "f7babf3ffc3e62816d88dc9a4804147d", "sha256": "070b137f0ba7acd2cca32174b1d9fc2f19ef1ddd7f28f612b0a3c8896085ddc0" }, "downloads": -1, "filename": "django-epiceditor-0.2.1.2.tar.gz", "has_sig": false, "md5_digest": "f7babf3ffc3e62816d88dc9a4804147d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 249168, "upload_time": "2013-02-25T09:07:45", "url": "https://files.pythonhosted.org/packages/aa/07/719cb354aaa1b293945b8eb845836709ab4c4a1f26ce8b46622fd218c6d0/django-epiceditor-0.2.1.2.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "4464f7942fa105aff6373bf9cafeafd7", "sha256": "8d4ca728118e161c54336703bd8e5a22b06a061d98452067ba024794a5b0d327" }, "downloads": -1, "filename": "django-epiceditor-0.2.2.tar.gz", "has_sig": false, "md5_digest": "4464f7942fa105aff6373bf9cafeafd7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 234839, "upload_time": "2013-11-09T14:50:04", "url": "https://files.pythonhosted.org/packages/85/db/a567c8ff1a7cefd86ab3ae0da49fef9f28a818180607a6389418024b33d8/django-epiceditor-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "f2d2f4be03924bae4186fcec9f95ed33", "sha256": "0f468ce126f632235f0f7a5a5ed902d4aa0261ccbe0162a5eee053f9a354e169" }, "downloads": -1, "filename": "django-epiceditor-0.2.3.tar.gz", "has_sig": false, "md5_digest": "f2d2f4be03924bae4186fcec9f95ed33", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 234573, "upload_time": "2014-09-02T18:13:21", "url": "https://files.pythonhosted.org/packages/13/e6/b9f1b4b44ce6ec41b8b5240d5cb7e625272277e0274aaa9c0b13a00e7a17/django-epiceditor-0.2.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f2d2f4be03924bae4186fcec9f95ed33", "sha256": "0f468ce126f632235f0f7a5a5ed902d4aa0261ccbe0162a5eee053f9a354e169" }, "downloads": -1, "filename": "django-epiceditor-0.2.3.tar.gz", "has_sig": false, "md5_digest": "f2d2f4be03924bae4186fcec9f95ed33", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 234573, "upload_time": "2014-09-02T18:13:21", "url": "https://files.pythonhosted.org/packages/13/e6/b9f1b4b44ce6ec41b8b5240d5cb7e625272277e0274aaa9c0b13a00e7a17/django-epiceditor-0.2.3.tar.gz" } ] }