Skip to content

Commit 7c9b250

Browse files
Update README.rst
1 parent 6d721d8 commit 7c9b250

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

README.rst

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -386,31 +386,35 @@ You can also use a Django-like choices tuple:
386386
Frequently Asked Questions
387387
==========================
388388

389-
## 1. How to specify the `.env` path?
389+
1) How to specify the `.env` path?
390+
----------------------------------
390391

391392
```python
392393
import os
393394
from decouple import Config, RepositoryEnv
394395
config = Config(RepositoryEnv("path/to/.env"))
395396
```
396397

397-
## 2. How to use python-decouple with Jupyter?
398+
2) How to use python-decouple with Jupyter?
399+
-------------------------------------------
398400

399401
```python
400402
import os
401403
from decouple import Config, RepositoryEnv
402404
config = Config(RepositoryEnv("path/to/.env"))
403405
```
404406

405-
## 3. How to specify a file with another name instead of `.env`?
407+
3) How to specify a file with another name instead of `.env`?
408+
----------------------------------------------------------------
406409

407410
```python
408411
import os
409412
from decouple import Config, RepositoryEnv
410413
config = Config(RepositoryEnv("path/to/somefile-like-env"))
411414
```
412415

413-
## 4. How to define the path to my env file on a env var?
416+
4) How to define the path to my env file on a env var?
417+
--------------------------------------------------------
414418

415419
```python
416420
import os
@@ -420,7 +424,8 @@ DOTENV_FILE = os.environ.get("DOTENV_FILE", ".env") # only place using os.enviro
420424
config = Config(RepositoryEnv(DOTENV_FILE))
421425
```
422426

423-
## 5. How can I have multiple *env* files working together?
427+
5) How can I have multiple *env* files working together?
428+
--------------------------------------------------------
424429

425430
```python
426431
from collections import ChainMap

0 commit comments

Comments
 (0)