{ "info": { "author": "Clint Ecker", "author_email": "me@clintecker.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Utilities" ], "description": "Django chunks documentation\n===========================\n\nPreface\n=======\n\nThink of it as flatpages for small bits of reusable content you might want to insert into your templates and manage from the admin interface.\nThis is really nothing more than a model and a template tag.\n\nBy adding `chunks` to your installed apps list in your Django project and performing a `./manage.py syncdb`, you'll be able to add as many \"keyed\" bits of content chunks to your site.\n\nThe idea here is that you can create a chunk of content, name it with a unique key (for example: `home_page_left_bottom`) and then you can call this content from a normal template.\n\nWhy would anyone want this? \n----------------------------\n\nWell it essentially allows someone to define \"chunks\" (I had wanted to call it blocks, but that would be very confusing for obvious reasons) of content in your template that can be directly edited from the awesome Django admin interface. Throwing a rich text editor control on top of it make it even easier.\n\nInstallation\n============\n\n1. Add ``chunks`` to your ``INSTALLED_APPS``\n2. Run ``manage.py syncdb``\n\nUsage: \n======\n\nIn your template ::\n\n {% load chunks %}\n \n \n Test\n \n \n

Blah blah blah

\n
\n ...\n
\n
\n {% chunk \"home_page_left\" %}\n
\n
\n {% chunk \"home_page_right\" %}\n
\n \n \n\nThis is really helpful in those cases where you want to use `django.contrib.flatpages` but you need multiple content areas. I hope this is helpful to people and I'll be making minor edits as I see them necessary.\n\nRedsolution CMS classifiers:\n----------------------------\n\n`Content plugins`_\n\n.. _`Content plugins`: http://www.redsolutioncms.org/classifiers/content", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://code.google.com/p/django-chunks/", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "redsolutioncms.django-chunks", "package_url": "https://pypi.org/project/redsolutioncms.django-chunks/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/redsolutioncms.django-chunks/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://code.google.com/p/django-chunks/" }, "release_url": "https://pypi.org/project/redsolutioncms.django-chunks/0.2.2/", "requires_dist": null, "requires_python": null, "summary": "Parts of reusable content across your site. Usable for validation meta codes, \nanalytics codes, phone numbers, addresses and so on.", "version": "0.2.2" }, "last_serial": 798701, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "b8605c46045f4f1fa048a36f72303e46", "sha256": "d1e3708bc9e123a227af19ea729ad19b3818cd86cb33865d47f168af10ab055a" }, "downloads": -1, "filename": "redsolutioncms.django-chunks-0.1.0.tar.gz", "has_sig": false, "md5_digest": "b8605c46045f4f1fa048a36f72303e46", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6476, "upload_time": "2010-10-24T00:45:56", "url": "https://files.pythonhosted.org/packages/82/ad/012fec4a4071b3583d62da49f9751633a555fc2256b3e5094da5f0cedb80/redsolutioncms.django-chunks-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "d6d6ea706c3f683a989c80edfc9be1a0", "sha256": "3d609317c9d6ddf212c9a46dda3a50e4ecb414b0d780722d634101ca1db11332" }, "downloads": -1, "filename": "redsolutioncms.django-chunks-0.2.0.tar.gz", "has_sig": false, "md5_digest": "d6d6ea706c3f683a989c80edfc9be1a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5405, "upload_time": "2012-02-03T11:49:58", "url": "https://files.pythonhosted.org/packages/9c/04/f8785b6569ea9ca360340298c41263f932e74a1a39e079c6d5247e323948/redsolutioncms.django-chunks-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "9b0dca1e7e5747da059670f57ce2198f", "sha256": "129adb522463e538d50c43cc2aebcac484fc03e5d54e1f43a1e9cb68487752de" }, "downloads": -1, "filename": "redsolutioncms.django-chunks-0.2.1.tar.gz", "has_sig": false, "md5_digest": "9b0dca1e7e5747da059670f57ce2198f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5693, "upload_time": "2012-07-18T08:56:44", "url": "https://files.pythonhosted.org/packages/06/4f/7186087ecbdd070c38109a8a9ca38fdb3954a07d8bee0828e97563f658b8/redsolutioncms.django-chunks-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "a729a38454a70c389ac7ef192e35189c", "sha256": "01ce9d002cb24149d3f8d9f218a60e2489a96d53157cae4c37f1b0dd973e6441" }, "downloads": -1, "filename": "redsolutioncms.django-chunks-0.2.2.tar.gz", "has_sig": false, "md5_digest": "a729a38454a70c389ac7ef192e35189c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5838, "upload_time": "2013-05-21T05:49:12", "url": "https://files.pythonhosted.org/packages/c8/fe/e6bc59172ed0afe587021ecf9f7ec3fc3b6b2b480cf8d3b0d29218e4fe4b/redsolutioncms.django-chunks-0.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a729a38454a70c389ac7ef192e35189c", "sha256": "01ce9d002cb24149d3f8d9f218a60e2489a96d53157cae4c37f1b0dd973e6441" }, "downloads": -1, "filename": "redsolutioncms.django-chunks-0.2.2.tar.gz", "has_sig": false, "md5_digest": "a729a38454a70c389ac7ef192e35189c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5838, "upload_time": "2013-05-21T05:49:12", "url": "https://files.pythonhosted.org/packages/c8/fe/e6bc59172ed0afe587021ecf9f7ec3fc3b6b2b480cf8d3b0d29218e4fe4b/redsolutioncms.django-chunks-0.2.2.tar.gz" } ] }