From 0addbec9b2ff02420958c5d47fc47b5df80cb9b7 Mon Sep 17 00:00:00 2001 From: Arvind-4 Date: Sat, 31 Dec 2022 16:03:34 +0530 Subject: [PATCH] Updated: for .env --- manage.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/manage.py b/manage.py index bfabaac..0733839 100644 --- a/manage.py +++ b/manage.py @@ -2,12 +2,10 @@ """Django's command-line utility for administrative tasks.""" import os import sys -import dotenv def main(): """Run administrative tasks.""" - dotenv.read_dotenv() - os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'src.settings') + os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'backend.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: