{ "info": { "author": "Joshua Jonah", "author_email": "joshuajonahcom@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Topic :: Software Development" ], "description": "# FeinCMS Grid\nAn app that integrates Foundation grid with FeinCMS contenttypes. Currently only for Foundation, but other frameworks grid syntax is so similar, I'll likely expand this to handle multiple grid systems later.\n\n###Installation\n\n1. Install Foundation 5 and be sure it is working properly before getting into this package.\n2. Run `pip install feincms-grid`.\n3. Add `'feincms_grid'` to your `INSTALLED_APPS` setting.\n4. Add `FEINCMS_GRID_TOTAL_COLUMNS` to your settings if you want to override the total column amount (default is 12).\n\n###Configuration\n\n#####Content types\n\nJust subclass `GridContent` when creating a content type:\n\n from feincms_grid.models import GridContent\n\n class RawTextContent(GridContent):\n content = models.TextField()\n\n class Meta:\n abstract = True\n \nIf you want to change the `render` method of the content type, be sure to call the `super` method to have the content wrapped with the tags:\n\n from feincms_grid.models import GridContent\n\n class MarkdownContent(GridContent):\n content = models.TextField()\n\n class Meta:\n abstract = True\n verbose_name = 'Markdown Text'\n\n def render(self, *args, **kwargs):\n t = Template(self.content)\n c = Context({})\n rendered = t.render(c)\n rendered = markdown.markdown(rendered)\n self.content = mark_safe(rendered)\n return super(MarkdownContent, self).render(*args, **kwargs)\n\n#####Templates\n\nUse the `feincms_grid_render_region` tag to render regions in your templates.\n\n {% extends 'base.html' %}\n\t{% load feincms_page_tags feincms_grid_tags %}\n\n\t{% block content %}\n\t\t{% feincms_grid_render_region feincms_page \"main\" request %}\n\t{% endblock %}\n\n###Usage\n\nAny content types which are subclasses of `GridContent` will have an extra dropdown at the top of them:\n\n![usage preview](https://github.com/joshuajonah/feincms_grid/blob/master/feincms_grid.png)", "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/joshuajonah/feincms_grid", "keywords": "django feincms foundation framework columns grid", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "feincms-grid", "package_url": "https://pypi.org/project/feincms-grid/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/feincms-grid/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/joshuajonah/feincms_grid" }, "release_url": "https://pypi.org/project/feincms-grid/0.1.5/", "requires_dist": null, "requires_python": null, "summary": "Integrate Foundation columns with FeinCMS contenttypes", "version": "0.1.5" }, "last_serial": 1745935, "releases": { "0.1.2": [ { "comment_text": "", "digests": { "md5": "dd093c08113212ba74c16ff7bd33603b", "sha256": "39af944b104fe0eb1395d9fb6bc98d613e076ecbd21314886c9add3ccbd5430a" }, "downloads": -1, "filename": "feincms-grid-0.1.2.tar.gz", "has_sig": false, "md5_digest": "dd093c08113212ba74c16ff7bd33603b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4465, "upload_time": "2015-04-09T16:21:51", "url": "https://files.pythonhosted.org/packages/63/e0/a5fbc8ad371c9c03a2daaf460fa4d9b2ef9c9773b2a97e82b665b0c0ad0c/feincms-grid-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "a299915626f0a0e48705aa795f296c54", "sha256": "88c3fa818b8968c1d239fd7383f3354e515d0435aeef0b775a5dd2035a5c851f" }, "downloads": -1, "filename": "feincms-grid-0.1.3.tar.gz", "has_sig": false, "md5_digest": "a299915626f0a0e48705aa795f296c54", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4468, "upload_time": "2015-09-30T13:51:51", "url": "https://files.pythonhosted.org/packages/68/40/87f736a2c0023b259edde8de9e2875f6e3a882ba9abf3801d98693471b06/feincms-grid-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "08b8d7c82e1372dacad5b4f5508f9173", "sha256": "fd5d39af316d494ca212162e756a027334789b90d416fd93877f9fabdc342319" }, "downloads": -1, "filename": "feincms-grid-0.1.4.tar.gz", "has_sig": false, "md5_digest": "08b8d7c82e1372dacad5b4f5508f9173", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4498, "upload_time": "2015-09-30T13:56:59", "url": "https://files.pythonhosted.org/packages/11/a2/1a0ceef198054bffb8b39d97030317cb27fd0deaac6c248e7ec3c6956cff/feincms-grid-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "bd88ece900d4dd9c12e03868e176cf77", "sha256": "600511dfcd9976d7d8e2961eb345aed32b4ae5b3a39c12bc9a3ad145a7659898" }, "downloads": -1, "filename": "feincms-grid-0.1.5.tar.gz", "has_sig": false, "md5_digest": "bd88ece900d4dd9c12e03868e176cf77", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4524, "upload_time": "2015-09-30T18:29:49", "url": "https://files.pythonhosted.org/packages/76/a3/d3e91530d2928954e5bb9ebe0c3617195f19c2917ee46955b1743fb6ec9c/feincms-grid-0.1.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bd88ece900d4dd9c12e03868e176cf77", "sha256": "600511dfcd9976d7d8e2961eb345aed32b4ae5b3a39c12bc9a3ad145a7659898" }, "downloads": -1, "filename": "feincms-grid-0.1.5.tar.gz", "has_sig": false, "md5_digest": "bd88ece900d4dd9c12e03868e176cf77", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4524, "upload_time": "2015-09-30T18:29:49", "url": "https://files.pythonhosted.org/packages/76/a3/d3e91530d2928954e5bb9ebe0c3617195f19c2917ee46955b1743fb6ec9c/feincms-grid-0.1.5.tar.gz" } ] }