Сменили структуру
This commit is contained in:
@@ -2,6 +2,7 @@ from os import path
|
||||
from pathlib import Path
|
||||
import os
|
||||
from dotenv import load_dotenv
|
||||
load_dotenv() # загружает .env
|
||||
|
||||
# Build paths inside the project like this: BASE_DIR / 'subdir'.
|
||||
BASE_DIR = Path(__file__).resolve().parent.parent
|
||||
|
||||
Reference in New Issue
Block a user