From aa62fd32c2890b2e4d573784089eecdf94cfb5cb Mon Sep 17 00:00:00 2001 From: zein Date: Mon, 3 Nov 2025 03:24:26 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A1=D0=BC=D0=B5=D0=BD=D0=B8=D0=BB=D0=B8=20?= =?UTF-8?q?=D1=81=D1=82=D1=80=D1=83=D0=BA=D1=82=D1=83=D1=80=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Hentai_manga_model/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Hentai_manga_model/models.py b/Hentai_manga_model/models.py index e39ab1e..1545417 100644 --- a/Hentai_manga_model/models.py +++ b/Hentai_manga_model/models.py @@ -5,10 +5,10 @@ MONGO_URI = os.getenv('MONGO_URI', 'mongodb://zein:Demius626@mongodb:27017/Serve #Для работы на сервере -#client = MongoClient(MONGO_URI) +client = MongoClient(MONGO_URI) #Для локальной разработки -client = MongoClient('mongodb://localhost:27017/') +#client = MongoClient('mongodb://localhost:27017/') db = client['Manga'] # Название базы данных manga_collection = db['Hentai_Manga'] # Название коллекции