Skip to content

Commit

Permalink
Fix: fix the project directory
Browse files Browse the repository at this point in the history
  • Loading branch information
abdoohossamm committed Jan 19, 2023
1 parent 19e7286 commit ea2cef3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion testproject/manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

def main():
"""Run administrative tasks."""
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'testproject.settings')
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'settings')
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
Expand Down
4 changes: 2 additions & 2 deletions testproject/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
'django.middleware.clickjacking.XFrameOptionsMiddleware',
]

ROOT_URLCONF = 'testproject.urls'
ROOT_URLCONF = 'urls'

TEMPLATES = [
{
Expand All @@ -67,7 +67,7 @@
},
]

WSGI_APPLICATION = 'testproject.wsgi.application'
WSGI_APPLICATION = 'wsgi.application'


# Database
Expand Down

0 comments on commit ea2cef3

Please sign in to comment.