{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [], "description": "Home-page: https://github.com/tomasgarzon/django_markdown\nAuthor: Tomas Garzon\nAuthor-email: tomasgarzonhervas@gmail.com\nLicense: GNU LGPL\nDescription: Django-Markdown v. 0.8.4\n ########################\n \n .. _description:\n \n **Django markdown** is django application that allows use markdown wysiwyg in flatpages, admin forms and other forms.\n Documentaton available at pypi_ or github_.\n \n .. _badges:\n \n .. image:: http://img.shields.io/travis/klen/django_markdown.svg?style=flat-square\n :target: http://travis-ci.org/klen/django_markdown\n :alt: Build Status\n \n .. image:: http://img.shields.io/coveralls/klen/django_markdown.svg?style=flat-square\n :target: https://coveralls.io/r/klen/django_markdown\n :alt: Coverals\n \n .. image:: http://img.shields.io/pypi/v/django_markdown.svg?style=flat-square\n :target: https://pypi.python.org/pypi/django_markdown\n :alt: Version\n \n .. image:: http://img.shields.io/pypi/dm/django_markdown.svg?style=flat-square\n :target: https://pypi.python.org/pypi/django_markdown\n :alt: Downloads\n \n .. image:: http://img.shields.io/pypi/l/django_markdown.svg?style=flat-square\n :target: https://pypi.python.org/pypi/django_markdown\n :alt: License\n \n .. image:: http://img.shields.io/gratipay/klen.svg?style=flat-square\n :target: https://www.gratipay.com/klen/\n :alt: Donate\n \n .. contents::\n \n .. _requirements:\n \n Requirements\n ============\n \n - python >= 2.7\n - django >= 1.6\n - markdown\n \n \n .. _installation:\n \n Installation\n ============\n \n **Django markdown** should be installed using pip: ::\n \n pip install django-markdown\n \n \n Setup\n =====\n \n .. note:: 'django_markdown' require 'django.contrib.staticfiles' in INSTALLED_APPS\n \n - Add 'django_markdown' to INSTALLED_APPS ::\n \n INSTALLED_APPS += ( 'django_markdown', )\n \n \n - Add django_markdown urls to base urls ::\n \n url('^markdown/', include( 'django_markdown.urls')),\n \n \n Use django_markdown\n ===================\n \n #) Models: ::\n \n from django_markdown.models import MarkdownField\n class MyModel(models.Model):\n content = MarkdownField()\n \n #) Custom forms: ::\n \n from django_markdown.fields import MarkdownFormField\n from django_markdown.widgets import MarkdownWidget\n class MyCustomForm(forms.Form):\n content = forms.CharField(widget=MarkdownWidget())\n content2 = MarkdownFormField()\n \n #) Custom admins: ::\n \n from django_markdown.admin import MarkdownModelAdmin\n admin.site.register(MyModel, MarkdownModelAdmin)\n \n #) Admin Overrides: (If you don't want to subclass package ModelAdmin's) ::\n \n from django.contrib import admin\n \n class YourModelAdmin(admin.ModelAdmin):\n formfield_overrides = {MarkdownField: {'widget': AdminMarkdownWidget}}\n \n #) Flatpages: ::\n \n # in your project main urls\n from django_markdown import flatpages\n ...\n # Django admin\n admin.autodiscover()\n flatpages.register()\n urlpatterns += [ url(r'^admin/', include(admin.site.urls)), ]\n \n #) Template tags: ::\n \n \n {% markdown_editor \"#new\" %}\n {% markdown_media %}\n \n \n Settings\n ========\n \n **MARKDOWN_EDITOR_SETTINGS** - holds the extra parameters set to be passed to ``textarea.markItUp()``\n \n **MARKDOWN_EDITOR_SKIN** - skin option, default value is ``markitup``\n \n Example: `settings.py` ::\n \n MARKDOWN_EDITOR_SKIN = 'simple'\n \n **MARKDOWN_EXTENSIONS** - optional list of extensions passed to Markdown, discussed at https://pythonhosted.org/Markdown/extensions/index.html#officially-supported-extensions\n \n Example: `settings.py` ::\n \n MARKDOWN_EXTENSIONS = ['extra']\n \n **MARKDOWN_EXTENSION_CONFIGS** - Configure extensions, discussed at https://pythonhosted.org/Markdown/reference.html#extension_configs\n \n **MARKDOWN_PREVIEW_TEMPLATE** - Template for preview a markdown. By default `django_markdown/preview.css`\n \n **MARKDOWN_STYLE** - path to preview styles. By default `django_markdown/preview.css`\n \n **MARKDOWN_SET_PATH** - path to folder with sets. By default `django_markdown/sets`\n \n **MARKDOWN_SET_NAME** - name for current set. By default `markdown`.\n \n **MARKDOWN_PROTECT_PREVIEW** - protect preview url for staff only\n \n \n Examples\n ========\n \n Execute `make run` in sources directory. Open http://127.0.0.1:8000 in your\n browser. For admin access use 'root:root' credentials.\n \n \n Changes\n =======\n \n Make sure you`ve read the following document if you are upgrading from previous versions:\n \n http://packages.python.org/django-markdown/changes.html\n \n \n Bug tracker\n ===========\n \n If you have any suggestions, bug reports or\n annoyances please report them to the issue tracker\n at https://github.com/klen/django_markdown/issues\n \n \n Contributing\n ============\n \n Development of django-markdown happens at github: https://github.com/klen/django_markdown\n \n \n Contributors\n =============\n \n * klen_ (Kirill Klenov)\n \n * yavorskiy_ (Sergii Iavorskyi)\n \n \n License\n =======\n \n Licensed under a `GNU lesser general public license`_.\n \n \n Copyright\n =========\n \n Copyright (c) 2011 Kirill Klenov (horneds@gmail.com)\n \n Markitup_:\n (c) 2008 Jay Salvat\n http://markitup.jaysalvat.com/ \n \n \n .. _GNU lesser general public license: http://www.gnu.org/copyleft/lesser.html\n .. _pypi: http://packages.python.org/django-markdown/\n .. _Markitup: http://markitup.jaysalvat.com/ \n .. _github: https://github.com/klen/django_markdown\n .. _klen: https://github.com/klen\n .. _yavorskiy: https://github.com/yavorskiy\n \nKeywords: html markdown django\nPlatform: UNKNOWN\nClassifier: Development Status :: 5 - Production/Stable\nClassifier: Intended Audience :: Developers\nClassifier: Natural Language :: English\nClassifier: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)\nClassifier: Programming Language :: Python\nClassifier: Topic :: Software Development :: Code Generators\nClassifier: Topic :: Text Processing :: Markup\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "django2-markdown", "package_url": "https://pypi.org/project/django2-markdown/", "platform": "", "project_url": "https://pypi.org/project/django2-markdown/", "project_urls": null, "release_url": "https://pypi.org/project/django2-markdown/0.8.6/", "requires_dist": [ "django", "markdown" ], "requires_python": "", "summary": "Django markdown support and wysiwyg.", "version": "0.8.6" }, "last_serial": 3478283, "releases": { "0.8.5": [ { "comment_text": "", "digests": { "md5": "34980315768d2a4a877009183bf5070e", "sha256": "de9429bdb8d1048144d76f57a86e1acc2713720abe790bc143a17266f0306e67" }, "downloads": -1, "filename": "django2_markdown-0.8.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "34980315768d2a4a877009183bf5070e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 96123, "upload_time": "2018-01-10T17:20:33", "url": "https://files.pythonhosted.org/packages/f7/ff/96adb313c0685c9563595b3e30dc4998d6b3c1cf71f0a3b50bc568d934e3/django2_markdown-0.8.5-py2.py3-none-any.whl" } ], "0.8.6": [ { "comment_text": "", "digests": { "md5": "36215e46cf46f83b1fd85d511cc67eb4", "sha256": "c5f55ed9a28ad1e60943129c52acab7dc69a28b266e5347eed7c18c293e083ad" }, "downloads": -1, "filename": "django2_markdown-0.8.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "36215e46cf46f83b1fd85d511cc67eb4", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 96122, "upload_time": "2018-01-10T17:29:51", "url": "https://files.pythonhosted.org/packages/d1/87/3844d562b26928c3649c1c259badba67407ac9db1cdb3f0e608eee4426b0/django2_markdown-0.8.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a87dde6f21c16de98c319bc4db24e249", "sha256": "8ec8514c86e2343fd6f2b901eee8d0a53254af25cdba8c4a3f42e6cfab098485" }, "downloads": -1, "filename": "django2-markdown-0.8.6.tar.gz", "has_sig": false, "md5_digest": "a87dde6f21c16de98c319bc4db24e249", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 68410, "upload_time": "2018-01-10T17:29:54", "url": "https://files.pythonhosted.org/packages/26/06/152acf65f4fdb2ef830d9844fb0aa127703846360d1785ac0a04c15c4ae8/django2-markdown-0.8.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "36215e46cf46f83b1fd85d511cc67eb4", "sha256": "c5f55ed9a28ad1e60943129c52acab7dc69a28b266e5347eed7c18c293e083ad" }, "downloads": -1, "filename": "django2_markdown-0.8.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "36215e46cf46f83b1fd85d511cc67eb4", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 96122, "upload_time": "2018-01-10T17:29:51", "url": "https://files.pythonhosted.org/packages/d1/87/3844d562b26928c3649c1c259badba67407ac9db1cdb3f0e608eee4426b0/django2_markdown-0.8.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a87dde6f21c16de98c319bc4db24e249", "sha256": "8ec8514c86e2343fd6f2b901eee8d0a53254af25cdba8c4a3f42e6cfab098485" }, "downloads": -1, "filename": "django2-markdown-0.8.6.tar.gz", "has_sig": false, "md5_digest": "a87dde6f21c16de98c319bc4db24e249", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 68410, "upload_time": "2018-01-10T17:29:54", "url": "https://files.pythonhosted.org/packages/26/06/152acf65f4fdb2ef830d9844fb0aa127703846360d1785ac0a04c15c4ae8/django2-markdown-0.8.6.tar.gz" } ] }