{ "info": { "author": "Luke Hutscal", "author_email": "support@strathcom.com", "bugtrack_url": null, "classifiers": [], "description": "django-cms-autoblocks\n=====================\n\nDjango-cms-autoblocks is an app that allows you to place arbitrary content blocks into your templates, so that you can take advantage of django-cms placeholders in the templates for your custom apps, without having to include django-cms as a requirement for your custom app (because the django-cms dependency is introduced at the template level by the template author).\n\nInstallation\n=====================\n\nFrom PyPi: ``pip install autoblocks``\n\nFrom GitHub: ``pip install git+git@github.com:Strathcom/django-cms-autoblocks.git``\n\nSetup\n=====================\n\n1. Add ``autoblocks`` to settings.INSTALLED_APPS.\n2. Run ``manage.py syncdb``.\n3. If you want to do frontend editing, add the dependencies for the django-cms toolbar to your templates.\n\nUsage\n=====================\n\nIn your template::\n\n\t{% load autoblocks_tags %}\n\t{% autoblock 'this is my auto block' %}\n\t{% autoblock 'this is' 'also' 'an autoblock' %}\n\t{% autoblock 'blurb-' model_instance.id %}\n\t{% autoblock 'blurb-' model_instance.id on site %}\n\t{% autoblock 'blurb-' model_instance.id on site as foo %}\n\nThe templatetag will generate an Autoblock with a placeholder field for you to work with tied to either the current site (``Site.objects.get_current()``), or the site instance you pass in when you use the ``{% autoblock ... on %}`` variation of the tag.\n\n\nExtras\n=====================\n\nIf you add ``django.core.context_processors.request`` to ``settings.TEMPLATE_CONTEXT_PROCESSORS``, autoblocks will only be created when the page is accessed by an authenticated user with the ``autoblocks.add_autoblock`` permission.\n\n\n\nAutoblocks - Roll Out!", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Strathcom/django-cms-autoblocks", "keywords": null, "license": "BSD License", "maintainer": null, "maintainer_email": null, "name": "autoblocks", "package_url": "https://pypi.org/project/autoblocks/", "platform": "OS Independent", "project_url": "https://pypi.org/project/autoblocks/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/Strathcom/django-cms-autoblocks" }, "release_url": "https://pypi.org/project/autoblocks/1.0.4/", "requires_dist": null, "requires_python": null, "summary": "Place arbitrary django-cms placeholders into templates", "version": "1.0.4" }, "last_serial": 715077, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "deae43d8dc1d90fc69cfda058088b6f1", "sha256": "aea68949b9645443d6431aa4d2c4c297845e03aef93b23405fe2435d2fa082d7" }, "downloads": -1, "filename": "autoblocks-1.0.tar.gz", "has_sig": false, "md5_digest": "deae43d8dc1d90fc69cfda058088b6f1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3193, "upload_time": "2013-05-30T22:37:04", "url": "https://files.pythonhosted.org/packages/28/47/525d2e441d5cf7d738ed20466b1f206240105a3f42d81d9af11d05c5a845/autoblocks-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "e6bcfe8a44b014bab5b08cdd1b00996d", "sha256": "012621f5929edb7b2f4cdd4f020912972e48374fc658dd49bc3adde3a1e4e8cf" }, "downloads": -1, "filename": "autoblocks-1.0.1.tar.gz", "has_sig": false, "md5_digest": "e6bcfe8a44b014bab5b08cdd1b00996d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3201, "upload_time": "2013-05-30T22:38:10", "url": "https://files.pythonhosted.org/packages/28/3d/34923777543829c4713cb57bfa6be572a7dde270a5790b7b88574dad1dbb/autoblocks-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "24be0fc2e8bd233545ba591974f86b12", "sha256": "144959fbdb177cd1e445a907cdd9e64d831a4eaabb76cae63d2f74132b3301a0" }, "downloads": -1, "filename": "autoblocks-1.0.2.tar.gz", "has_sig": false, "md5_digest": "24be0fc2e8bd233545ba591974f86b12", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3217, "upload_time": "2013-05-30T22:39:44", "url": "https://files.pythonhosted.org/packages/54/28/2e8e71af2bf7f28d7e5bff6a3cfef560ec04b2f81872842e6a2decc1cbbf/autoblocks-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "91c677a39189a221b728585cf1411d99", "sha256": "ab0026d2d3e9566b097b095f210a535814c8d2a5faf83f512743c67febca9725" }, "downloads": -1, "filename": "autoblocks-1.0.3.tar.gz", "has_sig": false, "md5_digest": "91c677a39189a221b728585cf1411d99", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3230, "upload_time": "2013-05-30T22:45:06", "url": "https://files.pythonhosted.org/packages/84/c4/171044881c2063356176eeff1c86050bc785794aa626143ba31db9e785e4/autoblocks-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "b90926beb1373f402fe0e76978a9648f", "sha256": "397e31b8443f6502841aa6220b5e46bdf68739dd3ada2e1456dedee188dce5ba" }, "downloads": -1, "filename": "autoblocks-1.0.4.tar.gz", "has_sig": false, "md5_digest": "b90926beb1373f402fe0e76978a9648f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3386, "upload_time": "2013-05-30T22:48:08", "url": "https://files.pythonhosted.org/packages/b4/49/4f9322e34b6e4826aeb88ec933959f2106b67ef93fa49d33662f4f07851b/autoblocks-1.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b90926beb1373f402fe0e76978a9648f", "sha256": "397e31b8443f6502841aa6220b5e46bdf68739dd3ada2e1456dedee188dce5ba" }, "downloads": -1, "filename": "autoblocks-1.0.4.tar.gz", "has_sig": false, "md5_digest": "b90926beb1373f402fe0e76978a9648f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3386, "upload_time": "2013-05-30T22:48:08", "url": "https://files.pythonhosted.org/packages/b4/49/4f9322e34b6e4826aeb88ec933959f2106b67ef93fa49d33662f4f07851b/autoblocks-1.0.4.tar.gz" } ] }