{ "info": { "author": "Ferran Pegueroles", "author_email": "ferran@pegueroles.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Framework :: Django", "Framework :: Django :: 1.8", "Framework :: Django :: 1.9", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "=============================\ndjango-webapp-install-banner\n=============================\n\n.. image:: https://badge.fury.io/py/django-webapp-install-banner.png\n :target: https://badge.fury.io/py/django-webapp-install-banner\n\n.. image:: https://travis-ci.org/ferranp/django-webapp-install-banner.png?branch=master\n :target: https://travis-ci.org/ferranp/django-webapp-install-banner\n\nAdd web App install banner to django project\"\n\nDocumentation\n-------------\n\nThe full documentation is at https://django-webapp-install-banner.readthedocs.org.\n\nQuickstart\n----------\n\nInstall django-webapp-install-banner::\n\n pip install django-webapp-install-banner\n\nAdd to your django settings.py file::\n\n INSTALLED_APPS += ('webapp_install_banner',)\n MIDDLEWARE_CLASSES += ('webapp_install_banner.middleware.WebAppMiddleware',)\n\n MANIFEST = {\n \"short_name\": _(\"Project name\"),\n \"name\": _(\"Project log name\"),\n \"icons\": [\n {\n \"src\": \"img/favicon-96x96.png\",\n \"sizes\": \"96x96\",\n \"type\": \"image/png\"\n },\n {\n \"src\": \"img/apple-touch-icon-144x144.png\",\n \"sizes\": \"144x144\",\n \"type\": \"image/png\"\n },\n {\n \"src\": \"img/android-chrome-192x192.png\",\n \"sizes\": \"192x192\",\n \"type\": \"image/png\"\n }\n ],\n \"start_url\": reverse_lazy(\"index\"),\n \"display\": \"standalone\"\n }\n\nAdd to your urls.py::\n\n urlpatterns += (url(r'', include('webapp_install_banner.urls')),)\n\nAdd to your base template html header::\n\n {% load webapp_tags %}\n {% webapp_manifest %}\n\n\nFeatures\n--------\n\nAdds a manifest.json file, and manages detecting if started from webapp.\n\nTODO: Add service worker file.\n\nRunning Tests\n--------------\n\nDoes the code actually work?\n\n::\n\n source /bin/activate\n (myenv) $ pip install -r requirements-test.txt\n (myenv) $ python runtests.py\n\nCredits\n---------\n\nTools used in rendering this package:\n\n* Cookiecutter_\n* `cookiecutter-pypackage`_\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage\n\n\n\n\nHistory\n-------\n\n0.1.0 (2016-03-27)\n++++++++++++++++++\n\n* First release on PyPI.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/ferranp/django-webapp-install-banner", "keywords": "django-webapp-install-banner", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "django-webapp-install-banner", "package_url": "https://pypi.org/project/django-webapp-install-banner/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-webapp-install-banner/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://bitbucket.org/ferranp/django-webapp-install-banner" }, "release_url": "https://pypi.org/project/django-webapp-install-banner/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "Add web App install banner to django project", "version": "0.1.0" }, "last_serial": 2029606, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "9805cc7a1064bf79ee1718c431464281", "sha256": "2d6c802a7ecd35c31c7a950164b2e64f786ee62c7e557921c1f212b073018193" }, "downloads": -1, "filename": "django_webapp_install_banner-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9805cc7a1064bf79ee1718c431464281", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 7792, "upload_time": "2016-03-27T10:47:08", "url": "https://files.pythonhosted.org/packages/1d/8c/2db9344294d5fee9188a52b12a5b41d55b0554f39b0bafc325e98c5363dc/django_webapp_install_banner-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c06b8c44cf1caf6df0355ad546f0e476", "sha256": "571b0cec0ad92eb8c82ea2ed922399e76e371a7425a168c3fad9c12d522bd3f1" }, "downloads": -1, "filename": "django-webapp-install-banner-0.1.0.tar.gz", "has_sig": false, "md5_digest": "c06b8c44cf1caf6df0355ad546f0e476", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6513, "upload_time": "2016-03-27T10:47:02", "url": "https://files.pythonhosted.org/packages/b4/29/142bb07c0ae9312d6c6f3fea80f9800f5e2be53923272093fb9e8673731b/django-webapp-install-banner-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9805cc7a1064bf79ee1718c431464281", "sha256": "2d6c802a7ecd35c31c7a950164b2e64f786ee62c7e557921c1f212b073018193" }, "downloads": -1, "filename": "django_webapp_install_banner-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9805cc7a1064bf79ee1718c431464281", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 7792, "upload_time": "2016-03-27T10:47:08", "url": "https://files.pythonhosted.org/packages/1d/8c/2db9344294d5fee9188a52b12a5b41d55b0554f39b0bafc325e98c5363dc/django_webapp_install_banner-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c06b8c44cf1caf6df0355ad546f0e476", "sha256": "571b0cec0ad92eb8c82ea2ed922399e76e371a7425a168c3fad9c12d522bd3f1" }, "downloads": -1, "filename": "django-webapp-install-banner-0.1.0.tar.gz", "has_sig": false, "md5_digest": "c06b8c44cf1caf6df0355ad546f0e476", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6513, "upload_time": "2016-03-27T10:47:02", "url": "https://files.pythonhosted.org/packages/b4/29/142bb07c0ae9312d6c6f3fea80f9800f5e2be53923272093fb9e8673731b/django-webapp-install-banner-0.1.0.tar.gz" } ] }