Skip to content

Commit

Permalink
Updated: for .env
Browse files Browse the repository at this point in the history
  • Loading branch information
Arvind-4 committed Dec 31, 2022
1 parent f775186 commit 0addbec
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0addbec

Please sign in to comment.