Сменили структуру

This commit is contained in:
zein
2025-11-03 04:09:30 +03:00
parent aa62fd32c2
commit 2d3cfe4736
3 changed files with 13 additions and 21 deletions

View File

@@ -1,16 +1,8 @@
"""
Django settings for DJ_Hentai_manga project.
Generated by 'django-admin startproject' using Django 5.1.7.
For more information on this file, see
https://docs.djangoproject.com/en/5.1/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/5.1/ref/settings/
"""
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