{ "info": { "author": "Kenneth Reitz", "author_email": "kreitz@salesforce.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "Django-Heroku (Python Library)\n==============================\n\n.. image:: https://travis-ci.org/heroku/django-heroku.svg?branch=master\n :target: https://travis-ci.org/heroku/django-heroku\n\nThis is a Django library for Heroku applications that ensures a seamless deployment and development experience.\n\nThis library provides:\n\n- Settings configuration (Static files / WhiteNoise).\n- Logging configuration.\n- Test runner (important for `Heroku CI `_).\n\n--------------\n\nDjango 2.0 is targeted, but older versions of Django should be compatible. Only Python 3 is supported.\n\nUsage of Django-Heroku\n----------------------\n\nIn ``settings.py``, at the very bottom::\n\n \u2026\n # Configure Django App for Heroku.\n import django_heroku\n django_heroku.settings(locals())\n\nThis will automatically configure ``DATABASE_URL``, ``ALLOWED_HOSTS``, WhiteNoise (for static assets), Logging, and Heroku CI for your application.\n\n**Bonus points!** If you set the ``SECRET_KEY`` environment variable, it will automatically be used in your Django settings, too!\n\nDisabling Functionality\n///////////////////////\n\n``settings()`` also accepts keyword arguments that can be passed ``False`` as a value, which will disable automatic configuration for their specific areas of responsibility:\n\n- ``databases``\n- ``test_runner``\n- ``staticfiles``\n- ``allowed_hosts``\n- ``logging``\n- ``secret_key``\n\n-----------------------\n\nYou can also just use this library to provide a test runner for your Django application, for use on Heroku CI::\n\n import django_heroku\n TEST_RUNNER = 'django_heroku.HerokuDiscoverRunner'", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/heroku/django-heroku", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "django-heroku-hiberly", "package_url": "https://pypi.org/project/django-heroku-hiberly/", "platform": "", "project_url": "https://pypi.org/project/django-heroku-hiberly/", "project_urls": { "Homepage": "https://github.com/heroku/django-heroku" }, "release_url": "https://pypi.org/project/django-heroku-hiberly/0.3.1/", "requires_dist": null, "requires_python": "", "summary": "This is a Django library for Heroku apps.", "version": "0.3.1", "yanked": false, "yanked_reason": null }, "last_serial": 6020162, "releases": { "0.3.1": [ { "comment_text": "", "digests": { "md5": "f8812a771e28c3e9316c4d966b55d218", "sha256": "ea76ba207814a99aed386f6684f2ce4cbef044e2d210c4bb73741d2018e78683" }, "downloads": -1, "filename": "django_heroku_hiberly-0.3.1-py3.7.egg", "has_sig": false, "md5_digest": "f8812a771e28c3e9316c4d966b55d218", "packagetype": "bdist_egg", "python_version": "3.7", "requires_python": null, "size": 7534, "upload_time": "2019-10-23T19:14:56", "upload_time_iso_8601": "2019-10-23T19:14:56.647834Z", "url": "https://files.pythonhosted.org/packages/ce/5a/6b2078a4d13d22d769e934e2bc52f3d361b068164951d58ea5b76a080aea/django_heroku_hiberly-0.3.1-py3.7.egg", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f8812a771e28c3e9316c4d966b55d218", "sha256": "ea76ba207814a99aed386f6684f2ce4cbef044e2d210c4bb73741d2018e78683" }, "downloads": -1, "filename": "django_heroku_hiberly-0.3.1-py3.7.egg", "has_sig": false, "md5_digest": "f8812a771e28c3e9316c4d966b55d218", "packagetype": "bdist_egg", "python_version": "3.7", "requires_python": null, "size": 7534, "upload_time": "2019-10-23T19:14:56", "upload_time_iso_8601": "2019-10-23T19:14:56.647834Z", "url": "https://files.pythonhosted.org/packages/ce/5a/6b2078a4d13d22d769e934e2bc52f3d361b068164951d58ea5b76a080aea/django_heroku_hiberly-0.3.1-py3.7.egg", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }