{ "info": { "author": "Ethan Jucovy, Rob Marianski", "author_email": "ethan.jucovy@gmail.com", "bugtrack_url": null, "classifiers": [ "Framework :: Django" ], "description": "staticblocks provides you with tools for content managers to easily\ninclude flatpage content as a snippet in your templates while\nretaining structured control over the templates themselves.\n\nThe template designers will define page blocks in the templates. \n\nThe content managers will choose which flatpage to use as the snippet\nembedded in each page block.\n\nYou must have 'django.contrib.flatpages' in your INSTALLED_APPS.\n\nTo install, add 'staticblocks' to your INSTALLED_APPS and re-run syncdb.\n\nUsing it\n========\n\nCode to write\n-------------\n\nOn the template level, define your static blocks with arbitrary string labels\nby passing the label into the scope of the included template snippet::\n\n {% with \"index.html/firstpageblock\" as blockname %}\n {% include 'staticblock/widgets/block.html' %}\n {% endwith %}\n \n {% with \"index.html/secondpageblock\" as blockname %}\n {% include 'staticblock/widgets/block.html' %}\n {% endwith %}\n\nOn the site, allowed users will now be able to associate that page block\nwith a flatpage, which will be pulled in as page content into that block.\n\nPermissions to assign\n---------------------\n\nAssign the following permisssions to your users and groups as desired::\n\n flatpages.add_flatpage\n flatpages.change_flatpage\n staticblocks.add_staticblock\n staticblocks.change_staticblock\n\nTemplates to use\n----------------\n\nYou can customize the layout of the pulled-in block by editing or forking\nthese templates::\n\n staticblock/templates/staticblock/widgets/block.html \n staticblock/templates/staticblock/widgets/title.html", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "UNKNOWN", "keywords": "django template static", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "django-staticblocks", "package_url": "https://pypi.org/project/django-staticblocks/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-staticblocks/", "project_urls": { "Download": "UNKNOWN", "Homepage": "UNKNOWN" }, "release_url": "https://pypi.org/project/django-staticblocks/0.5/", "requires_dist": null, "requires_python": null, "summary": "staticblocks provides you with tools for content managers to easily include flatpage content as a snippet in your templates while retaining structured control over the templates themselves", "version": "0.5" }, "last_serial": 790750, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "fc59b21bcf65c58cf76a6c28e12ff689", "sha256": "734608f9a0cd3bcc261b75a883169c8403518897de5738259ad79ed9e9a3ef72" }, "downloads": -1, "filename": "django-staticblocks-0.1.tar.gz", "has_sig": false, "md5_digest": "fc59b21bcf65c58cf76a6c28e12ff689", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2707, "upload_time": "2009-10-25T23:31:39", "url": "https://files.pythonhosted.org/packages/3f/01/72d27a05f4b27636b76dbae85f530670250469aac101cc17fb4603d00e5b/django-staticblocks-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "82bcb47bdb5983a9ecd298c6901a3331", "sha256": "ab049ab8ba2615ae23cae7c4d30638f1f4a8e3b878f7a84ebfd72e4974ea5706" }, "downloads": -1, "filename": "django-staticblocks-0.1.1.tar.gz", "has_sig": false, "md5_digest": "82bcb47bdb5983a9ecd298c6901a3331", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2766, "upload_time": "2009-10-30T03:43:37", "url": "https://files.pythonhosted.org/packages/85/1c/e1dc584662c2323819ea3116175a07ecea5729700401d081c55689696fdb/django-staticblocks-0.1.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "fd31af3d954db0900292582884a697bb", "sha256": "3f5d03f1fbbba985b9cc0a818b1e4fcec8c7d169fb414b764d6ddbba59a2f560" }, "downloads": -1, "filename": "django-staticblocks-0.2.tar.gz", "has_sig": false, "md5_digest": "fd31af3d954db0900292582884a697bb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3073, "upload_time": "2009-10-30T05:24:52", "url": "https://files.pythonhosted.org/packages/bf/9c/2128173125100eb366fcac4368ec323d5cd2778cc0a12222eec3ddd37571/django-staticblocks-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "48b7f647d5a3e10b386a1e5f76669916", "sha256": "ed6a4c2deb30012f0eb48acb3e1ab22c9ea631a84e5a611bca51178ba03bf417" }, "downloads": -1, "filename": "django-staticblocks-0.3.tar.gz", "has_sig": false, "md5_digest": "48b7f647d5a3e10b386a1e5f76669916", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2608, "upload_time": "2012-10-10T12:51:19", "url": "https://files.pythonhosted.org/packages/17/db/c0e2bc164a5baaf638004995021d9c51b6c9d81d8de3f2078d914d9430e6/django-staticblocks-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "6aa0bd7fbdcdefea8e453cd155e5e030", "sha256": "4a16409f946df37e8b9249a6fdd6e63c135a373a8647eb66851a3fbc777310e1" }, "downloads": -1, "filename": "django-staticblocks-0.4.tar.gz", "has_sig": false, "md5_digest": "6aa0bd7fbdcdefea8e453cd155e5e030", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3102, "upload_time": "2013-01-16T00:59:01", "url": "https://files.pythonhosted.org/packages/29/fc/da917831d03cfa5c5273cb1fff7e854f33e1a93d3b83479fbcbf675b1978/django-staticblocks-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "f6de97a377e4f206f7f3ae54970d3108", "sha256": "8ca6a4a887ef7f0de8b6496679e3b7a06576a298e2add690239e1c484bc185a1" }, "downloads": -1, "filename": "django-staticblocks-0.5.tar.gz", "has_sig": false, "md5_digest": "f6de97a377e4f206f7f3ae54970d3108", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3112, "upload_time": "2013-01-16T01:00:15", "url": "https://files.pythonhosted.org/packages/7b/11/0b77633f0afb0f7d1959de0401ee1780ade7d2327b1c63238969ec1336f5/django-staticblocks-0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f6de97a377e4f206f7f3ae54970d3108", "sha256": "8ca6a4a887ef7f0de8b6496679e3b7a06576a298e2add690239e1c484bc185a1" }, "downloads": -1, "filename": "django-staticblocks-0.5.tar.gz", "has_sig": false, "md5_digest": "f6de97a377e4f206f7f3ae54970d3108", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3112, "upload_time": "2013-01-16T01:00:15", "url": "https://files.pythonhosted.org/packages/7b/11/0b77633f0afb0f7d1959de0401ee1780ade7d2327b1c63238969ec1336f5/django-staticblocks-0.5.tar.gz" } ] }