Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielJDufour authored Aug 3, 2020
1 parent abd574a commit 43722bb
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ Load Django Settings Directly from Environmental Variables
- prevent hard-coding of Django settings
- works great with Docker

# install
### with pip
```bash
pip install djenv
```
### with pipenv
```bash
pipenv install djenv
```

# basic usage
```python3
# inside settings.py
Expand All @@ -24,4 +34,4 @@ Will set DEBUG=False in the settings.py
You can also replace nested settings like DATABASES by setting a JSON file
```bash
DJANGO_DATABASES='{ "default": { "ENGINE": "django.db.backends.sqlite3", "NAME": "db.sqlite3" } }' python3 manage.py runserver
```
```

0 comments on commit 43722bb

Please sign in to comment.