{ "info": { "author": "Chris Clarke", "author_email": "cclarke@chrisdev.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "===============================\nDjango Flatpage Extensions\n===============================\n\nAn extension to django.contrib.flatpages to provide \n \n- Better support for **markdown** and other similar markup formats. We provide support for Markdown but you can write your own parser to support rst or creole.\n \n- Optional support for the excellent **markItUp** jquery editor. This requires the installation ``django-markitup``.\n \n- Easy inclusion of images in flatpages. Viewing Admin **image thumbnails** requires the installation of ``sorl-thumbnail``.\n \n- The inclusion of HTML **metatags** such as keywords and descriptions in flatpages.\n \n- Content **revisions**.\n\nMigrating you data to flapages_x should not be difficult since the\ndata which currently in the contrib.Flatpage model (content, titles) is not affected. \nYour templates will still utilize the *{{flatpage.content}}* and *{{flatpage.body}}* \ncontext variables.\nOnce you install flatpages_x, the Markdown \nis actually stored in the related Revisions model. \nWhen you save a flatpage, this will be rendered as html via the markdown \nparser and saved to the Flatpage.content field\n\nContributors\n============\n- `Christopher Clarke `_\n- `Lendl R Smith `_\n- `Mikhail Andreev `_\n- `Eddy `_\n- `Mahmoud Yaser `_\n\nQuickstart\n===========\nCreate a virtual environment for your project and activate it::\n\n $ virtualenv mysite-env\n $ source mysite-env/bin/activate\n (mysite-env)$\n \nNext install ``flatpages_x`` ::\n\n (mysite-env)$ pip install django-flatpages-x\n\nAdd ``flatpages_x`` to your INSTALLED_APPS setting.\n\nInside your project run::\n\n (mysite-env)$ python manage.py syncdb\n \nDjango-flatpages-x comes with support for `Markdown `_\nYou can also associate and display images with your flatpages. \nTo include your images in your content using reference-style image syntax looks like this ::\n\n ![Atl text][image.pk]\n \nWhere [image.pk] is the primary key of image the that you want to include. \nThe primary key of the image \nshould is visible in the flatpages Admin form which will now contains an inline image form\n \nmarkItUp support\n------------------\nIf you want to use the excellent markItUp! editor widget. Install django-markItUp::\n\n (mysite-env)$ pip install django-markitup\n \nYou need a few configuration steps\n\n1. Add 'markitup' to your INSTALLED_APPS setting.\n\n2. Add the following to settings::\n\n MARKITUP_SET = 'markitup/sets/markdown'\n MARKITUP_SKIN = 'markitup/skins/markitup' \n MARKITUP_FILTER = ('markdown.markdown', {'safe_mode': True})\n\n3. You need to use the AJAX-based preview for the admin widget::\n\n url(r'^markitup/', include('markitup.urls'))\n\nin your root URLconf.\n \n\nAdmin thumbnails \n---------------- \nIf you want view admin image thumbnails install sorl-thumbnail::\n\n (mysite-env)$ pip install sorl-thumbnail\n \n1. Add ``sorl.thumbnail`` to your ``settings.INSTALLED_APPS``.\n2. Configure your ``settings``\n3. If you are using the cached database key value store you need to sync the\n database::\n\n python manage.py syncdb\n \nMarkup Support\n---------------\nDjango-flatpages-x come with a simple parser that supports Markdown. However,\nyou can supply your own parser by setting the value for *FLATPAGES_X_PARSER* \nto settings.py. So if you want to use a parser ``myparser_parser`` simply add \nthe following to you settings ::\n\n FLATPAGES_X_PARSER= [\"flatpages_x.markdown_parser.parse\", {}]\n \n.. end-here\n\nDocumentation\n--------------\n\nSee the `full documentation`_ for more details.\n\n.. _full documentation: http://django-flatpages-x.readthedocs.org/", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/chrisdev/django-flatpages-x", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "django-flatpages-x", "package_url": "https://pypi.org/project/django-flatpages-x/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-flatpages-x/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/chrisdev/django-flatpages-x" }, "release_url": "https://pypi.org/project/django-flatpages-x/0.1.5/", "requires_dist": null, "requires_python": null, "summary": "Some Basic extensions for django-contrib-flatpages", "version": "0.1.5" }, "last_serial": 2926954, "releases": { "0.1.1a": [ { "comment_text": "", "digests": { "md5": "6b813dfb0753f873d9ef6faeb9f4ec78", "sha256": "8a266adefc7eeaf8420e1240e686cece99733624add9ac4e29c07fff47bca8ea" }, "downloads": -1, "filename": "django-flatpages-x-0.1.1a.tar.gz", "has_sig": false, "md5_digest": "6b813dfb0753f873d9ef6faeb9f4ec78", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 83116, "upload_time": "2012-08-10T23:48:38", "url": "https://files.pythonhosted.org/packages/a9/0c/49291863a03ca8ad7d2129d84c61cf971572ae81ccb9f09c425c78d014b0/django-flatpages-x-0.1.1a.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "61246ed12158163285a9d3f3480d30fa", "sha256": "5592b22b3267a27b02fd370a33a2c467d9779785da0c32a7bee8019e2db5ebbd" }, "downloads": -1, "filename": "django-flatpages-x-0.1.2.tar.gz", "has_sig": false, "md5_digest": "61246ed12158163285a9d3f3480d30fa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13760, "upload_time": "2012-11-15T06:51:55", "url": "https://files.pythonhosted.org/packages/e6/7f/da9011b84abe3382dc263e6f53e0b239589e3ffae6525a06c2902df4fb2f/django-flatpages-x-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "904a9692eeb2c9a2edf0375391039953", "sha256": "209e95a4cad17cccc2bd121db74c53515bf104194a48c1fb4efe487310a3f447" }, "downloads": -1, "filename": "django-flatpages-x-0.1.3.tar.gz", "has_sig": false, "md5_digest": "904a9692eeb2c9a2edf0375391039953", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13902, "upload_time": "2017-02-02T15:47:41", "url": "https://files.pythonhosted.org/packages/6a/04/1a74f3a7609eeea03cf953fe59b6c0df9bf2393bef1557a7da3632387d3a/django-flatpages-x-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "cec400507de8983de3dda23353b944e2", "sha256": "d66f7c162aaa8b84b7275eb20b2595899c90df530525b40927db4b834adb9b43" }, "downloads": -1, "filename": "django_flatpages_x-0.1.4-py2-none-any.whl", "has_sig": false, "md5_digest": "cec400507de8983de3dda23353b944e2", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 12359, "upload_time": "2017-06-05T16:17:09", "url": "https://files.pythonhosted.org/packages/d5/13/02e39485f5c495320cc1d445e0147f9503d9b8d2e6686feb35f8cfda8753/django_flatpages_x-0.1.4-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fe7bf87e20c7bd0b776fc0ffcc15d51b", "sha256": "2dea7c0f650bbd26ef5f26a907ae8ac9245e7cdfb1b811c972cd8225c31f3feb" }, "downloads": -1, "filename": "django-flatpages-x-0.1.4.tar.gz", "has_sig": false, "md5_digest": "fe7bf87e20c7bd0b776fc0ffcc15d51b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14552, "upload_time": "2017-06-05T16:16:56", "url": "https://files.pythonhosted.org/packages/63/d3/f0d66fa858a7216f4ae0ec7e276cbaf1dbc3a54172b76de7e9e3d477e239/django-flatpages-x-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "3b0939bb3c7f0afbef60120ae947c625", "sha256": "774c6213fd32362cebf9dfc88b90dba62d0a896907ac9d56cb9b0422e986aacb" }, "downloads": -1, "filename": "django_flatpages_x-0.1.5-py2-none-any.whl", "has_sig": false, "md5_digest": "3b0939bb3c7f0afbef60120ae947c625", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 12359, "upload_time": "2017-06-05T16:24:59", "url": "https://files.pythonhosted.org/packages/62/ee/d92b6138fd2d256c616c671950a6dadf5dbf5b82595c87dcb9b7c8bdab50/django_flatpages_x-0.1.5-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7144b961ee3fae3d737f16f59e8165bc", "sha256": "88b004a959f9179e9ce56a0e839c29d6d8a157ee95ec1776b99a0e5ed642fb4d" }, "downloads": -1, "filename": "django-flatpages-x-0.1.5.tar.gz", "has_sig": false, "md5_digest": "7144b961ee3fae3d737f16f59e8165bc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 187160, "upload_time": "2017-06-05T16:24:42", "url": "https://files.pythonhosted.org/packages/52/1b/b9b449ca638a08f522ebe89fa5cec3e453a16d036f4eb56422b6d071f58d/django-flatpages-x-0.1.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3b0939bb3c7f0afbef60120ae947c625", "sha256": "774c6213fd32362cebf9dfc88b90dba62d0a896907ac9d56cb9b0422e986aacb" }, "downloads": -1, "filename": "django_flatpages_x-0.1.5-py2-none-any.whl", "has_sig": false, "md5_digest": "3b0939bb3c7f0afbef60120ae947c625", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 12359, "upload_time": "2017-06-05T16:24:59", "url": "https://files.pythonhosted.org/packages/62/ee/d92b6138fd2d256c616c671950a6dadf5dbf5b82595c87dcb9b7c8bdab50/django_flatpages_x-0.1.5-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7144b961ee3fae3d737f16f59e8165bc", "sha256": "88b004a959f9179e9ce56a0e839c29d6d8a157ee95ec1776b99a0e5ed642fb4d" }, "downloads": -1, "filename": "django-flatpages-x-0.1.5.tar.gz", "has_sig": false, "md5_digest": "7144b961ee3fae3d737f16f59e8165bc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 187160, "upload_time": "2017-06-05T16:24:42", "url": "https://files.pythonhosted.org/packages/52/1b/b9b449ca638a08f522ebe89fa5cec3e453a16d036f4eb56422b6d071f58d/django-flatpages-x-0.1.5.tar.gz" } ] }