chartManD commited on
Commit
f967b93
·
1 Parent(s): 2ae5786

Configuradas variables del .env

Browse files
Files changed (1) hide show
  1. cataSystem/settings.py +4 -0
cataSystem/settings.py CHANGED
@@ -12,6 +12,10 @@ https://docs.djangoproject.com/en/5.2/ref/settings/
12
 
13
  from pathlib import Path
14
  import os
 
 
 
 
15
 
16
  # Build paths inside the project like this: BASE_DIR / 'subdir'.
17
  BASE_DIR = Path(__file__).resolve().parent.parent
 
12
 
13
  from pathlib import Path
14
  import os
15
+ from dotenv import load_dotenv
16
+
17
+ # Load variables from .env file
18
+ load_dotenv()
19
 
20
  # Build paths inside the project like this: BASE_DIR / 'subdir'.
21
  BASE_DIR = Path(__file__).resolve().parent.parent