{ "info": { "author": "Basil Shubin", "author_email": "basil.shubin@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "django-facebox\n==============\n\nThis is a Django_ integration of Facebox_.\n\n.. image:: https://img.shields.io/pypi/v/django-facebox.svg\n :target: https://pypi.python.org/pypi/django-facebox/\n\n.. image:: https://img.shields.io/pypi/dm/django-facebox.svg\n :target: https://pypi.python.org/pypi/django-facebox/\n\n.. image:: https://img.shields.io/github/license/bashu/django-facebox.svg\n :target: https://pypi.python.org/pypi/django-facebox/\n\nInstallation\n------------\n\n.. code-block:: shell\n\n pip install django-facebox\n \nExternal dependencies\n~~~~~~~~~~~~~~~~~~~~~\n\n* jQuery - This is not included in the package since it is expected that in most scenarios this would already be available.\n\nSetup\n-----\n\nAdd ``facebox`` to ``INSTALLED_APPS``:\n\n.. code-block:: python\n\n INSTALLED_APPS += (\n 'facebox',\n )\n\nBe sure you have the ``django.template.context_processors.request`` processor\n\n.. code-block:: python\n\n TEMPLATES = [\n {\n ...\n 'OPTIONS': {\n 'context_processors': [\n ...\n 'django.template.context_processors.request',\n ],\n },\n },\n ]\n\nand just include ``facebox`` templates\n\n.. code-block:: html+django\n\n {% include \"facebox/facebox_css.html\" %} {# Before the closing head tag #}\n {% include \"facebox/facebox_js.html\" %} {# Before the closing body tag #}\n\nWhen deploying on production server, don't forget to run :\n\n.. code-block:: shell\n\n python manage.py collectstatic\n\nUsage\n-----\n\nExtend base template for ajax requests\n\n.. code-block:: html+django\n\n {% extends request.is_ajax|yesno:\"facebox/base.html,base.html\" %}\n\nAdd ``rel=\"facebox\"`` to a link, and set the href to a page you want to display\n\n.. code-block:: html+django\n\n Click here\n\nPlease see ``example`` application. This application is used to manually test the functionalities of this package. This also serves as a good example.\n\nYou need only Django 1.4 or above to run that. It might run on older versions but that is not tested.\n\nLicense\n-------\n\n``django-facebox`` is released under the BSD license.\n\n.. _django: https://www.djangoproject.com/\n.. _facebox: http://defunkt.io/facebox/\n", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/bashu/django-facebox/zipball/master", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bashu/django-facebox", "keywords": "", "license": "BSD License", "maintainer": "", "maintainer_email": "", "name": "django-facebox", "package_url": "https://pypi.org/project/django-facebox/", "platform": "", "project_url": "https://pypi.org/project/django-facebox/", "project_urls": { "Download": "https://github.com/bashu/django-facebox/zipball/master", "Homepage": "https://github.com/bashu/django-facebox" }, "release_url": "https://pypi.org/project/django-facebox/0.2.1/", "requires_dist": null, "requires_python": "", "summary": "Simple facebox modal for Django", "version": "0.2.1" }, "last_serial": 2398858, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "14dc408eb77197aa9ef85aaf0c37e2d1", "sha256": "9922f0bed5c436c5756cc59105ee623540c27afdfdafc8a05af5c45c39e0024b" }, "downloads": -1, "filename": "django-facebox-0.1.tar.gz", "has_sig": true, "md5_digest": "14dc408eb77197aa9ef85aaf0c37e2d1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7969, "upload_time": "2015-01-18T06:00:30", "url": "https://files.pythonhosted.org/packages/a5/a4/0e8bbfc2eb2dee6689733e0ad5793efbe14e1b1c6fe4146dadcea78d149a/django-facebox-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "b95078ead9be8cbbbbe0cf38c0523c6a", "sha256": "b8ab72679b5f27e4d2c9c58356672b428d2b0bd42e14f0f7d32ef52f85a9ccc6" }, "downloads": -1, "filename": "django-facebox-0.2.tar.gz", "has_sig": true, "md5_digest": "b95078ead9be8cbbbbe0cf38c0523c6a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9973, "upload_time": "2015-01-18T09:19:17", "url": "https://files.pythonhosted.org/packages/6f/9c/1cda42aa6775ff6619e75da4a5f877e71b65388054b462ec3d5c21e7bcf0/django-facebox-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "958d9a64cd7e866a10d2569cca5a5471", "sha256": "d59105071acee29a5fd4de991d7628509a2563db2656e032f8060ded8dd805b3" }, "downloads": -1, "filename": "django_facebox-0.2.1-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "958d9a64cd7e866a10d2569cca5a5471", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 11575, "upload_time": "2016-10-14T07:44:43", "url": "https://files.pythonhosted.org/packages/5a/77/24e2829eda7664415f6e1ed5c621b6e142676527b1a742658acedfbd0367/django_facebox-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a4a853ce7e7a2ad939180fd88964d8db", "sha256": "69f4a0c4b2f8e55032b8c61357c450a704b58b8a67e05c3f62fa646e4f3414a4" }, "downloads": -1, "filename": "django-facebox-0.2.1.tar.gz", "has_sig": true, "md5_digest": "a4a853ce7e7a2ad939180fd88964d8db", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10751, "upload_time": "2016-10-14T07:44:36", "url": "https://files.pythonhosted.org/packages/6a/46/6e8ab884824fafc2f19874f05d3461019d9167396dadf51921c8fb8281e9/django-facebox-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "958d9a64cd7e866a10d2569cca5a5471", "sha256": "d59105071acee29a5fd4de991d7628509a2563db2656e032f8060ded8dd805b3" }, "downloads": -1, "filename": "django_facebox-0.2.1-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "958d9a64cd7e866a10d2569cca5a5471", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 11575, "upload_time": "2016-10-14T07:44:43", "url": "https://files.pythonhosted.org/packages/5a/77/24e2829eda7664415f6e1ed5c621b6e142676527b1a742658acedfbd0367/django_facebox-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a4a853ce7e7a2ad939180fd88964d8db", "sha256": "69f4a0c4b2f8e55032b8c61357c450a704b58b8a67e05c3f62fa646e4f3414a4" }, "downloads": -1, "filename": "django-facebox-0.2.1.tar.gz", "has_sig": true, "md5_digest": "a4a853ce7e7a2ad939180fd88964d8db", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10751, "upload_time": "2016-10-14T07:44:36", "url": "https://files.pythonhosted.org/packages/6a/46/6e8ab884824fafc2f19874f05d3461019d9167396dadf51921c8fb8281e9/django-facebox-0.2.1.tar.gz" } ] }