Extended Settings for Django Project with settings.d/
Project description
# django-extended-settings
Apps for Django to extend global settings with additional files
Initialize other configuration settings for django project
Other configurations must be set in /path/to/project/djangoproject/settings.d/*_settings.py
Project/
|_ apps1/
|_ ...
|_ project/
|_ settings.py
|_ urls.py
|_ ...
|_ settings.d/
|_ one_settings.py
|_ second_settings.py
The current version of the Django Extended Settings is 1.0.0. It works on Django ≥ 2.0. (not tested other)
### Installation
#### Getting the code
The recommended way to install the Django Extended Settings is via pip or pipenv:
```bash
$ pip install django-extended-settings
```
#### Prerequisites
Make sure add ```extended_settings``` to your ```INSTALLED_APPS``` setting:
```python
INSTALLED_APPS = [
# ...
'extended_settings',
# ...
]
```
#### Play settings into your project
Create sub directory ```settings.d/``` into django project directory and put your configuration into independant files with this patterns ```*_settings.py```
__sample__ : ```/path/to/project/djangopython/settings.d/production_settings.py```
### Misc
The Django Extended Settings is released under the BSD license, like Django itself. If you like it, please consider contributing!
The Django Extended Settings was originally created by Mickael Badet in September 2018.
Apps for Django to extend global settings with additional files
Initialize other configuration settings for django project
Other configurations must be set in /path/to/project/djangoproject/settings.d/*_settings.py
Project/
|_ apps1/
|_ ...
|_ project/
|_ settings.py
|_ urls.py
|_ ...
|_ settings.d/
|_ one_settings.py
|_ second_settings.py
The current version of the Django Extended Settings is 1.0.0. It works on Django ≥ 2.0. (not tested other)
### Installation
#### Getting the code
The recommended way to install the Django Extended Settings is via pip or pipenv:
```bash
$ pip install django-extended-settings
```
#### Prerequisites
Make sure add ```extended_settings``` to your ```INSTALLED_APPS``` setting:
```python
INSTALLED_APPS = [
# ...
'extended_settings',
# ...
]
```
#### Play settings into your project
Create sub directory ```settings.d/``` into django project directory and put your configuration into independant files with this patterns ```*_settings.py```
__sample__ : ```/path/to/project/djangopython/settings.d/production_settings.py```
### Misc
The Django Extended Settings is released under the BSD license, like Django itself. If you like it, please consider contributing!
The Django Extended Settings was originally created by Mickael Badet in September 2018.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for django-extended-settings-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b3e03a9ec3d56d31516dcc68cffe4055291b1dd006327548230cfe06ad3ed8c |
|
MD5 | 4065922141376833f2fc400ec267dee0 |
|
BLAKE2b-256 | 0975255fa45e52b8738a18a9ff48c4e35c5ff8ee27dd93b885dd8116032ff701 |