======================
# FAQ
* What does this do?
> Register your custom standalone app settings into Django conf, so they can be overrided by users of your standalone app.
* How does it work?
> Create a settings.py in your app. Make sure your settings are all caps.
> In your init file for you app, add a call to django-custom-settings and you're done.
# Full Example
```python
# __init__.py
from custom_settings.loader import load_settings
load_settings(__name__)
```
```python
# settings.py
MYAPP_SETTINGS_FOO = "foo"
MYAPP_SETTINGS_BAR = "bar"
myapp_settings_that_wont_be_loaded = "will not be available, because it's not all uppercase"
```
```python
# usage, on views.py, for example
from django.conf import settings
def home(request):
if settings.MYAPP_SETTINGS_FOO == "foo":
return "this is a foo"
else:
return "this is not a foo"
```
History
=======
## 0.1.0 (2016-02-01)
* First release on PyPI.
Metadata
Release files for django-custom-settings 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-custom-settings-0.1.4.tar.gz | 5.1 kB | Without provenance | Details for django-custom-settings-0.1.4.tar.gz |
Release files / django-custom-settings-0.1.4.tar.gz
| Download URL | django-custom-settings-0.1.4.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c1aaf4a9ffd2c90f6009db04b8922ef82bcff688a21251e5f37d6efef0e8e9a6
|
|
BLAKE2b-256 checksum How to use checksums |
79994745f8462defe7197cd6bef909ebc7ac3ef5b2264a3e57dab58dd5f330cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-custom-settings 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.