{ "info": { "author": "Sigma Geosistemas LTDA", "author_email": "atendimento@sigmageosistemas.com.br", "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": "Django Custom Settings\n======================\n\n# FAQ\n\n* What does this do?\n\n> Register your custom standalone app settings into Django conf, so they can be overrided by users of your standalone app.\n\n* How does it work?\n\n> Create a settings.py in your app. Make sure your settings are all caps.\n> In your init file for you app, add a call to django-custom-settings and you're done.\n\n# Full Example\n\n```python\n# __init__.py\nfrom custom_settings.loader import load_settings\nload_settings(__name__)\n```\n\n```python\n# settings.py\nMYAPP_SETTINGS_FOO = \"foo\"\nMYAPP_SETTINGS_BAR = \"bar\"\n\nmyapp_settings_that_wont_be_loaded = \"will not be available, because it's not all uppercase\"\n```\n\n```python\n# usage, on views.py, for example\nfrom django.conf import settings\n\ndef home(request):\n \n if settings.MYAPP_SETTINGS_FOO == \"foo\":\n return \"this is a foo\"\n else:\n return \"this is not a foo\"\n```\n\nHistory\n=======\n\n## 0.1.0 (2016-02-01)\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://sigmageosistemas.com.br/dev/django-custom-settings", "keywords": "django-custom-settings", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "django-custom-settings", "package_url": "https://pypi.org/project/django-custom-settings/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-custom-settings/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://sigmageosistemas.com.br/dev/django-custom-settings" }, "release_url": "https://pypi.org/project/django-custom-settings/0.1.4/", "requires_dist": null, "requires_python": null, "summary": "Custom settings loader for standalone django apps", "version": "0.1.4" }, "last_serial": 2141211, "releases": { "0.1.0": [], "0.1.1": [ { "comment_text": "built for Linux-3.19.0-32-generic-x86_64-with-glibc2.4", "digests": { "md5": "970d5aaf5c7e2472a6f8c3513000dcae", "sha256": "a84449a72c1f56fb805576c7b6b0419c3e8d3890351c4942f0c9e42cad598006" }, "downloads": -1, "filename": "django-custom-settings-0.1.1.linux-x86_64.tar.gz", "has_sig": false, "md5_digest": "970d5aaf5c7e2472a6f8c3513000dcae", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 2261, "upload_time": "2016-05-30T18:34:53", "url": "https://files.pythonhosted.org/packages/5e/2d/1b28dd775a0af0ae3facce1e33fe32b1566489ffede0deb6773cdfda0ef7/django-custom-settings-0.1.1.linux-x86_64.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "b814eb3e62c3c90504713edf3bcbb5fd", "sha256": "0122d103e3aa9fbfa26ce87215324d43c0478546a8622cd3617590c681fdbaa0" }, "downloads": -1, "filename": "django-custom-settings-0.1.2.tar.gz", "has_sig": false, "md5_digest": "b814eb3e62c3c90504713edf3bcbb5fd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3412, "upload_time": "2016-05-30T18:42:00", "url": "https://files.pythonhosted.org/packages/cb/5b/f1363020d4aee4f7ca9c6940112329b6dc594ec1d4a91cc59b2dd6fee2fe/django-custom-settings-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "f059b393be7532c0e9f984d2932825bf", "sha256": "4586a7cd63fa635638cb247d71e58a215560a94807838b8622750d257c9f849f" }, "downloads": -1, "filename": "django-custom-settings-0.1.3.tar.gz", "has_sig": false, "md5_digest": "f059b393be7532c0e9f984d2932825bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3431, "upload_time": "2016-05-30T18:45:54", "url": "https://files.pythonhosted.org/packages/62/bf/9532f0a3ed2b35dab1f07a371dc330f70d18cd8ed4b98f72c82dd17e961b/django-custom-settings-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "5e0b7d5809facc22957d77c60107c872", "sha256": "c1aaf4a9ffd2c90f6009db04b8922ef82bcff688a21251e5f37d6efef0e8e9a6" }, "downloads": -1, "filename": "django-custom-settings-0.1.4.tar.gz", "has_sig": false, "md5_digest": "5e0b7d5809facc22957d77c60107c872", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5130, "upload_time": "2016-05-30T18:49:02", "url": "https://files.pythonhosted.org/packages/79/99/4745f8462defe7197cd6bef909ebc7ac3ef5b2264a3e57dab58dd5f330cc/django-custom-settings-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5e0b7d5809facc22957d77c60107c872", "sha256": "c1aaf4a9ffd2c90f6009db04b8922ef82bcff688a21251e5f37d6efef0e8e9a6" }, "downloads": -1, "filename": "django-custom-settings-0.1.4.tar.gz", "has_sig": false, "md5_digest": "5e0b7d5809facc22957d77c60107c872", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5130, "upload_time": "2016-05-30T18:49:02", "url": "https://files.pythonhosted.org/packages/79/99/4745f8462defe7197cd6bef909ebc7ac3ef5b2264a3e57dab58dd5f330cc/django-custom-settings-0.1.4.tar.gz" } ] }