{ "info": { "author": "Mishbah Razzaque", "author_email": "mishbahx@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3" ], "description": "=============================\ndjangocms-responsive-wrapper\n=============================\n\n.. image:: http://img.shields.io/pypi/v/djangocms-responsive-wrapper.svg?style=flat-square\n :target: https://pypi.python.org/pypi/djangocms-responsive-wrapper/\n :alt: Latest Version\n\n.. image:: http://img.shields.io/pypi/dm/djangocms-responsive-wrapper.svg?style=flat-square\n :target: https://pypi.python.org/pypi/djangocms-responsive-wrapper/\n :alt: Downloads\n\n.. image:: http://img.shields.io/pypi/l/djangocms-responsive-wrapper.svg?style=flat-square\n :target: https://pypi.python.org/pypi/djangocms-responsive-wrapper/\n :alt: License\n\n\nThis projects integrates `django-responsive2 `_ with `django-cms >= 3.0 `_\n\nThis django CMS plugin will allow a site editor to display different contents based on breakpoints. For a more detailed description and reasoning behind this concept, please read the project description for ``django-responsive2.``\n\nThis project requires ``django-responsive2`` and ``django-cms`` v3.0 or higher to be properly installed and configured. When installing the ``djangocms-responsive-wrapper`` using pip, ``django-responsive2`` will also be installed automatically.\n\nThe full documentation for ``django-responsive2`` is available at https://django-responsive2.readthedocs.org.\n\n\n\nQuickstart\n----------\n\n1. Install ``djangocms-responsive-wrapper``::\n\n pip install djangocms-responsive-wrapper\n\n2. Add ``responsive_wrapper`` to ``INSTALLED_APPS``::\n\n INSTALLED_APPS = (\n ...\n 'responsive_wrapper',\n ...\n )\n\nAJAX load plugin based on window size\n-------------------------------------\nBy default, ``responsive_wrapper`` renders the plugins based on device dimensions.\n\nHowever, if you would like the plugin to use the window size to render the plugin, set the ``RESPONSIVE_WRAPPER_TEMPLATE`` to use an alternate template::\n\n RESPONSIVE_WRAPPER_TEMPLATE = 'responsive_wrapper/live_reload.html'\n\nAnd add the ``responsive_wrapper.urls`` to your project's ``urls`` module or create a django CMS page to hook the application into. In ``Advanced Settings``, set its Application to ``Responsive Wrapper`` (this requires a server restart)::\n\n urlpatterns = patterns(\n ...\n url(r'^responsive/', include('responsive_wrapper.urls')),\n ...\n )\n\nThe ``ResponsiveWrapper.js``, included in the ``live_reload.html`` triggers a ``replace`` event when the content has been replaced. This can be useful when you want to change some styles or reinitialize any JavaScript on your page based on which content is loaded.\n\nConfiguration\n-------------\n\nPlugin(s) Module::\n\n RESPONSIVE_WRAPPER_MODULE = _('Generic')\n\nName of the plugin::\n\n RESPONSIVE_WRAPPER_NAME = _('Responsive Wrapper')\n\nThe path to the template used to render the template::\n\n RESPONSIVE_WRAPPER_TEMPLATE = 'responsive_wrapper/default.html'\n\nCan the plugin be inserted inside the text plugin?\n::\n\n RESPONSIVE_WRAPPER_TEXT_ENABLED = False\n\nCan this plugin only be attached to a placeholder that is attached to a page?::\n\n RESPONSIVE_WRAPPER_PAGE_ONLY = False\n\nA List of Plugin Class Names. If this is set, only plugins listed here can be added to this plugin::\n\n RESPONSIVE_WRAPPER_CHILD_CLASSES = None\n\nIs it required that this plugin is a child of another plugin? Or can it be added to any placeholder::\n\n RESPONSIVE_WRAPPER_REQUIRE_PARENT = False\n\nA list of Plugin Class Names. If this is set, this plugin may only be added to plugins listed here::\n\n RESPONSIVE_WRAPPER_PARENT_CLASSES = None\n\nSet fieldsets to control the layout of plugin \u201cadd\u201d and \u201cchange\u201d form::\n\n RESPONSIVE_WRAPPER_FIELDSETS = None\n\n\nYou may also like...\n--------------------\n\n* djangocms-disqus - https://github.com/mishbahr/djangocms-disqus\n* djangocms-fbcomments - https://github.com/mishbahr/djangocms-fbcomments\n* djangocms-forms \u2014 https://github.com/mishbahr/djangocms-forms\n* djangocms-gmaps \u2014 https://github.com/mishbahr/djangocms-gmaps\n* djangocms-instagram \u2014 https://github.com/mishbahr/djangocms-instagram\n* djangocms-twitter2 \u2014 https://github.com/mishbahr/djangocms-twitter2\n* djangocms-youtube \u2014 https://github.com/mishbahr/djangocms-youtube", "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/mishbahr/djangocms-responsive-wrapper", "keywords": "djangocms-responsive-wrapper,django-responsive2,django-cms", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "djangocms-responsive-wrapper", "package_url": "https://pypi.org/project/djangocms-responsive-wrapper/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/djangocms-responsive-wrapper/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/mishbahr/djangocms-responsive-wrapper" }, "release_url": "https://pypi.org/project/djangocms-responsive-wrapper/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "This projects integrates django-responsive2 with django-cms >= 3.0", "version": "0.2.1" }, "last_serial": 1740845, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "8e7d49607669ce97a337b1e9b9c65d09", "sha256": "40c4c54c7357dfa36fafb55730800658b89359253f0c0d05d883a041b1ca415d" }, "downloads": -1, "filename": "djangocms-responsive-wrapper-0.1.0.tar.gz", "has_sig": false, "md5_digest": "8e7d49607669ce97a337b1e9b9c65d09", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8080, "upload_time": "2014-12-04T01:21:54", "url": "https://files.pythonhosted.org/packages/c2/ee/2848c4e16a324cbf317b375169ad82e8f63655250ba9b9929d49305740aa/djangocms-responsive-wrapper-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "15597562b3942c2ac899a85d256e07bd", "sha256": "419e23c3e6985b93f8ed59e1ac1187dd19166ec054cc456614df5c77e71a7be0" }, "downloads": -1, "filename": "djangocms-responsive-wrapper-0.1.1.tar.gz", "has_sig": false, "md5_digest": "15597562b3942c2ac899a85d256e07bd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8756, "upload_time": "2014-12-07T23:37:50", "url": "https://files.pythonhosted.org/packages/43/36/ff954826ed0cc9e2eb63bb46ec31e4500c059e0f4c72484b523805bb7e1e/djangocms-responsive-wrapper-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "14a7620fafd8e3df2c07ed6790803fad", "sha256": "d8eba3a10ef772b882675f863cc6fd83c363b9ce92c75b12507e48929704813a" }, "downloads": -1, "filename": "djangocms-responsive-wrapper-0.2.0.tar.gz", "has_sig": false, "md5_digest": "14a7620fafd8e3df2c07ed6790803fad", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10949, "upload_time": "2015-09-20T16:39:51", "url": "https://files.pythonhosted.org/packages/02/55/8e6ceb8edf4cc2df059544ef011392ac782cad40e4251f1f14777e3e0041/djangocms-responsive-wrapper-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "d3e8d4f58b48432136a6f3813cd1b724", "sha256": "43b113c2e1edbb64fdf19a97cede36ea195979d0a2711e7b387970cf292f9bc0" }, "downloads": -1, "filename": "djangocms-responsive-wrapper-0.2.1.tar.gz", "has_sig": false, "md5_digest": "d3e8d4f58b48432136a6f3813cd1b724", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11352, "upload_time": "2015-09-20T18:55:28", "url": "https://files.pythonhosted.org/packages/52/f8/e2ad4949474d71557ef7394306569961f4e18271fb34533ce707f6da2dfa/djangocms-responsive-wrapper-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d3e8d4f58b48432136a6f3813cd1b724", "sha256": "43b113c2e1edbb64fdf19a97cede36ea195979d0a2711e7b387970cf292f9bc0" }, "downloads": -1, "filename": "djangocms-responsive-wrapper-0.2.1.tar.gz", "has_sig": false, "md5_digest": "d3e8d4f58b48432136a6f3813cd1b724", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11352, "upload_time": "2015-09-20T18:55:28", "url": "https://files.pythonhosted.org/packages/52/f8/e2ad4949474d71557ef7394306569961f4e18271fb34533ce707f6da2dfa/djangocms-responsive-wrapper-0.2.1.tar.gz" } ] }