{ "info": { "author": "sobolevn", "author_email": "mail@sobolevn.me", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.11", "Framework :: Django :: 2.1", "Framework :: Django :: 2.2", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "

\n \"django-split-settings\n

\n\n---\n\n[![wemake.services](https://img.shields.io/badge/%20-wemake.services-green.svg?label=%20&logo=data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC%2FxhBQAAAAFzUkdCAK7OHOkAAAAbUExURQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP%2F%2F%2F5TvxDIAAAAIdFJOUwAjRA8xXANAL%2Bv0SAAAADNJREFUGNNjYCAIOJjRBdBFWMkVQeGzcHAwksJnAPPZGOGAASzPzAEHEGVsLExQwE7YswCb7AFZSF3bbAAAAABJRU5ErkJggg%3D%3D)](https://wemake.services)\n[![Build Status](https://travis-ci.org/wemake-services/docker-image-size-limit.svg?branch=master)](https://travis-ci.org/sobolevn/django-split-settings)\n[![Coverage](https://coveralls.io/repos/github/sobolevn/django-split-settings/badge.svg?branch=master)](https://coveralls.io/github/sobolevn/django-split-settings?branch=master)\n[![Docs](https://readthedocs.org/projects/django-split-settings/badge/?version=latest)](http://django-split-settings.readthedocs.io/en/latest/?badge=latest)\n[![Python Version](https://img.shields.io/pypi/pyversions/django-split-settings.svg)](https://pypi.org/project/django-split-settings/)\n[![wemake-python-styleguide](https://img.shields.io/badge/style-wemake-000000.svg)](https://github.com/wemake-services/docker-image-size-limit)\n\n\n\nOrganize Django settings into multiple files and directories. Easily\noverride and modify settings. Use wildcards in settings file paths\nand mark settings files as optional.\n\nRead [this blog post](https://sobolevn.me/2017/04/managing-djangos-settings)\nfor more information.\nAlso, check this [example project](https://github.com/wemake-services/wemake-django-template).\n\n\n## Requirements\n\nWhile this package will most likely work with the most versions of `django`, we do not officially support any versions except the latest release and the current LTS version, which are `1.11` and `2.2` right now.\n\nThis package has no dependencies itself.\n\nIn case you need older `python` / `django` versions support,\nthen consider using older versions.\n\n\n## Installation\n\n```bash\npip install django-split-settings\n```\n\n\n## Usage\n\nReplace your existing `settings.py` with a list of components that\nmake up your Django settings. Preferably create a settings package\nthat contains all the files.\n\nHere's a minimal example:\n\n```python\nfrom split_settings.tools import optional, include\n\ninclude(\n 'components/base.py',\n 'components/database.py',\n optional('local_settings.py')\n)\n```\n\nIn the example, the files `base.py` and `database.py` are included\nin that order from the subdirectory called `components/`.\n`local_settings.py` in the same directory is included if it exists.\n\n**Note:** The local context is passed on to each file, so each\nfollowing file can access and modify the settings declared in the\nprevious files.\n\nWe also made a in-depth [tutorial](https://sobolevn.me/2017/04/managing-djangos-settings).\n\n\n## Tips and tricks\n\nYou can use wildcards in file paths:\n\n```python\ninclude('components/my_app/*.py')\n```\n\nNote that files are included in the order that `glob` returns them,\nprobably in the same order as what `ls -U` would list them. The\nfiles are NOT in alphabetical order.\n\nYou can modify common settings in environment settings simply importing them\n\n```python\n# local_settings.py\nfrom components.base import INSTALLED_APPS\n\nINSTALLED_APPS += (\n 'raven.contrib.django.raven_compat',\n)\n```\n\n\n## Do you want to contribute?\n\nRead the [CONTRIBUTING.md](https://github.com/sobolevn/django-split-settings/blob/master/CONTRIBUTING.md) file.\n\n\n## Version history\n\nSee [CHANGELOG.md](https://github.com/sobolevn/django-split-settings/blob/master/CHANGELOG.md) file.\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://django-split-settings.readthedocs.io", "keywords": "django,settings,configuration,config", "license": "BSD-2-Clause", "maintainer": "sobolevn", "maintainer_email": "mail@sobolevn.me", "name": "django-split-settings", "package_url": "https://pypi.org/project/django-split-settings/", "platform": "", "project_url": "https://pypi.org/project/django-split-settings/", "project_urls": { "Homepage": "https://django-split-settings.readthedocs.io", "Repository": "https://github.com/sobolevn/django-split-settings" }, "release_url": "https://pypi.org/project/django-split-settings/1.0.0/", "requires_dist": null, "requires_python": ">=3.6,<4.0", "summary": "Organize Django settings into multiple files and directories. Easily override and modify settings. Use wildcards and optional settings files.", "version": "1.0.0" }, "last_serial": 5911351, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "90674d68d4a924de4578b379613635c9", "sha256": "64392ef8d11d80bbe43d7e4a816a897c4e75f4d9ff61e6b64b1d50336863e601" }, "downloads": -1, "filename": "django-split-settings-0.1.0.tar.gz", "has_sig": false, "md5_digest": "90674d68d4a924de4578b379613635c9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7714, "upload_time": "2013-05-17T06:22:58", "url": "https://files.pythonhosted.org/packages/a7/d6/596eee5fb874a478bb521eb7980116907e1434c300fdd4e05f98c4c76c4d/django-split-settings-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "e304e6f158cbb56dce974e98f6d9f304", "sha256": "1054453240b41eb3682c8636852b462d0e09036a20171ea90ffa41f5cbca1041" }, "downloads": -1, "filename": "django-split-settings-0.1.1.tar.gz", "has_sig": false, "md5_digest": "e304e6f158cbb56dce974e98f6d9f304", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7883, "upload_time": "2013-08-22T07:05:32", "url": "https://files.pythonhosted.org/packages/f6/0a/fdd455dde6fa8356f2329bfe249937c3f9434792e31ee143dc553df9b629/django-split-settings-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "eb8b565bc2b5bba8e77c95234667459d", "sha256": "8b314f29ce6bbe5d4c5bc2ccaa942504b5a3a6908a8972f454153e6e9dc9c779" }, "downloads": -1, "filename": "django-split-settings-0.1.2.macosx-10.9-intel.exe", "has_sig": false, "md5_digest": "eb8b565bc2b5bba8e77c95234667459d", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 65680, "upload_time": "2015-05-05T06:33:42", "url": "https://files.pythonhosted.org/packages/ca/a2/2584c4254745379a1055203960105522d71d252ce2b603c256add681e30e/django-split-settings-0.1.2.macosx-10.9-intel.exe" }, { "comment_text": "", "digests": { "md5": "28e48fac29878c88f782861a0516eabe", "sha256": "d4b3ef5df90802a68dc79c8fa0dc1e6171d14dd9c6d2f2d853ae5ff8d86ecf46" }, "downloads": -1, "filename": "django-split-settings-0.1.2.tar.gz", "has_sig": false, "md5_digest": "28e48fac29878c88f782861a0516eabe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5532, "upload_time": "2015-05-05T06:33:38", "url": "https://files.pythonhosted.org/packages/9d/84/96ad92b3236b5a12eacd94c3a07a3e3c44caf6c2fcf04d0a7cf0a3e3aea7/django-split-settings-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "5115cf372f96fc99d355ea824d6d9632", "sha256": "bee58a710e3eb3abec18f889ce3ee577486bad62acb7e990cbf042ea031a0551" }, "downloads": -1, "filename": "django-split-settings-0.1.3.tar.gz", "has_sig": false, "md5_digest": "5115cf372f96fc99d355ea824d6d9632", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5614, "upload_time": "2015-11-22T11:46:40", "url": "https://files.pythonhosted.org/packages/85/3b/cff17e7c6d2ccafdb77ff6c0215a4035eede0030b7be7262d68fd6c2dddc/django-split-settings-0.1.3.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "8e3333d2f5f54188e8e596400da58142", "sha256": "088562c21e7077a16e1079176318c8a47b589b25dd4472282c7d640b88ae4f99" }, "downloads": -1, "filename": "django-split-settings-0.2.0.tar.gz", "has_sig": false, "md5_digest": "8e3333d2f5f54188e8e596400da58142", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5744, "upload_time": "2016-06-20T22:47:57", "url": "https://files.pythonhosted.org/packages/aa/f8/36f316944710e1c013045319777a59b2a5f99f416bdd76ad808172ee758c/django-split-settings-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "14e4052654a8c9af332adc0d2b578f6e", "sha256": "9f9989d76886dfaba808e79d9fde9f120fa564a911cdc8b1bded0cbffdf0d8dc" }, "downloads": -1, "filename": "django-split-settings-0.2.1.tar.gz", "has_sig": false, "md5_digest": "14e4052654a8c9af332adc0d2b578f6e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5243, "upload_time": "2016-07-03T12:35:15", "url": "https://files.pythonhosted.org/packages/5e/b8/913d84eb8be271f1b43f39de2ec2faa5a22dbb6139f14e2bf25e5aaa2ec9/django-split-settings-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "4b197a64a0620a105123599bd96351ed", "sha256": "caf50ea408c628812fdd243b46ea179c05feef455c564389e969b38ad8f25bb6" }, "downloads": -1, "filename": "django-split-settings-0.2.2.tar.gz", "has_sig": false, "md5_digest": "4b197a64a0620a105123599bd96351ed", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5242, "upload_time": "2016-07-14T21:53:28", "url": "https://files.pythonhosted.org/packages/c1/d1/1df2ac3030f62e9184deb9d08a08a83b4d44e84c2da3b21191d92cc25edd/django-split-settings-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "937e8f7d21349515ca78d80c381f633d", "sha256": "97f7402054284295c792ea43ddccc2249cf1f431160c1cd05bb02b4977ac25d7" }, "downloads": -1, "filename": "django-split-settings-0.2.3.tar.gz", "has_sig": false, "md5_digest": "937e8f7d21349515ca78d80c381f633d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5480, "upload_time": "2016-12-07T22:50:02", "url": "https://files.pythonhosted.org/packages/05/2c/a8b6a7fc4fe8288f565f9b50949ec0866bc25cdedfaae71204eb0c39dbb3/django-split-settings-0.2.3.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "12a302e9d857d52de283dabf7f830dc4", "sha256": "4f634e117bdc9bc3f6e12f467136b5a2d2533e638bbcde9279fff5b82f5c338f" }, "downloads": -1, "filename": "django-split-settings-0.2.4.tar.gz", "has_sig": false, "md5_digest": "12a302e9d857d52de283dabf7f830dc4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4557, "upload_time": "2016-12-20T12:13:54", "url": "https://files.pythonhosted.org/packages/f6/65/e6237f9c1eed7bc5a5123173302ac95f71c06eb1092e55b9653f7b874d8e/django-split-settings-0.2.4.tar.gz" } ], "0.2.5": [ { "comment_text": "", "digests": { "md5": "377f4812b1c50678e99d6f6c1cc1ab3c", "sha256": "d9a7898c079bb22d0f02b857cba0ab8abdc2e3b7a9703a1e1e0bc5fcb82bc5db" }, "downloads": -1, "filename": "django-split-settings-0.2.5.tar.gz", "has_sig": false, "md5_digest": "377f4812b1c50678e99d6f6c1cc1ab3c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5002, "upload_time": "2017-04-18T14:16:04", "url": "https://files.pythonhosted.org/packages/ba/19/5b30f1b44fe7f33f24ba7815f3e3ac2ee86184bb16850f92fe1e4c8a1b29/django-split-settings-0.2.5.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "c7c445398db7aebdc05420f36ca9d6b8", "sha256": "14b164dbd724e52aa9a0b0338eefa988a8a0f17f7cba34e0f983e5348682aeb7" }, "downloads": -1, "filename": "django_split_settings-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c7c445398db7aebdc05420f36ca9d6b8", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6898, "upload_time": "2017-12-04T11:24:24", "url": "https://files.pythonhosted.org/packages/da/b5/38b620288c2c041af6eb336fb5bf1d2572c8d92d63a255c2d99e1516f171/django_split_settings-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cd358eb03b3a7d7d8ca76289cc0f5207", "sha256": "04f6b551111fdbcb4f669ac9004ac2d4a27197a36ca88444cb896378807ed777" }, "downloads": -1, "filename": "django-split-settings-0.3.0.tar.gz", "has_sig": false, "md5_digest": "cd358eb03b3a7d7d8ca76289cc0f5207", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5448, "upload_time": "2017-12-04T11:24:25", "url": "https://files.pythonhosted.org/packages/65/4f/1c1fb4a219c6799a1003a824b67ac24fd92a091b686708d342c93c19d4c5/django-split-settings-0.3.0.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "74bbbf1c71eec16ddea8e526ecfbb2a6", "sha256": "db4d24a2da2f17e0aa97437f052eda7d043a3e2eaa9c8a85a171271e0f91852b" }, "downloads": -1, "filename": "django_split_settings-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "74bbbf1c71eec16ddea8e526ecfbb2a6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6,<4.0", "size": 8957, "upload_time": "2019-10-01T09:37:50", "url": "https://files.pythonhosted.org/packages/46/c0/893f6d82e8d1cb5b675e78b7ec59f3b64898555e3e80c52a6502146de2f1/django_split_settings-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "daf5eb053597a7ee9cc2f8e8e1705e0b", "sha256": "f5a5c6431ab00a78959f7930a79faaf488b2fe8a4eddc4297ef8cd593e74868d" }, "downloads": -1, "filename": "django-split-settings-1.0.0.tar.gz", "has_sig": false, "md5_digest": "daf5eb053597a7ee9cc2f8e8e1705e0b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6,<4.0", "size": 5677, "upload_time": "2019-10-01T09:37:49", "url": "https://files.pythonhosted.org/packages/ff/00/5f4a07fd1c7bc1d7e0ad828cf548e27da9fbc59ce418745c8905b38b6b21/django-split-settings-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "74bbbf1c71eec16ddea8e526ecfbb2a6", "sha256": "db4d24a2da2f17e0aa97437f052eda7d043a3e2eaa9c8a85a171271e0f91852b" }, "downloads": -1, "filename": "django_split_settings-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "74bbbf1c71eec16ddea8e526ecfbb2a6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6,<4.0", "size": 8957, "upload_time": "2019-10-01T09:37:50", "url": "https://files.pythonhosted.org/packages/46/c0/893f6d82e8d1cb5b675e78b7ec59f3b64898555e3e80c52a6502146de2f1/django_split_settings-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "daf5eb053597a7ee9cc2f8e8e1705e0b", "sha256": "f5a5c6431ab00a78959f7930a79faaf488b2fe8a4eddc4297ef8cd593e74868d" }, "downloads": -1, "filename": "django-split-settings-1.0.0.tar.gz", "has_sig": false, "md5_digest": "daf5eb053597a7ee9cc2f8e8e1705e0b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6,<4.0", "size": 5677, "upload_time": "2019-10-01T09:37:49", "url": "https://files.pythonhosted.org/packages/ff/00/5f4a07fd1c7bc1d7e0ad828cf548e27da9fbc59ce418745c8905b38b6b21/django-split-settings-1.0.0.tar.gz" } ] }