Skip to content

Commit

Permalink
Merge pull request #6 from FGA0138-MDS-Ajax/feat/docker
Browse files Browse the repository at this point in the history
correção nos arquivos
  • Loading branch information
MatielloAL authored Jun 3, 2024
2 parents 9c1717f + 6d2a534 commit cfbc662
Show file tree
Hide file tree
Showing 31 changed files with 39 additions and 4 deletions.
File renamed without changes.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@

from django.core.asgi import get_asgi_application

os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'driverplan.settings')
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'DrivePlanSite.settings')

application = get_asgi_application()
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
'django.middleware.clickjacking.XFrameOptionsMiddleware',
]

ROOT_URLCONF = 'driverplan.urls'
ROOT_URLCONF = 'DrivePlanSite.urls'

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

WSGI_APPLICATION = 'driverplan.wsgi.application'
WSGI_APPLICATION = 'DrivePlanSite.wsgi.application'


# Database
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@

from django.core.wsgi import get_wsgi_application

os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'driverplan.settings')
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'DrivePlanSite.settings')

application = get_wsgi_application()
File renamed without changes.
22 changes: 22 additions & 0 deletions DrivePlanSite/manage.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/usr/bin/env python
"""Django's command-line utility for administrative tasks."""
import os
import sys


def main():
"""Run administrative tasks."""
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'DrivePlanSite.settings')
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
raise ImportError(
"Couldn't import Django. Are you sure it's installed and "
"available on your PYTHONPATH environment variable? Did you "
"forget to activate a virtual environment?"
) from exc
execute_from_command_line(sys.argv)


if __name__ == '__main__':
main()
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
13 changes: 13 additions & 0 deletions DrivePlanSite/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
anyio==4.4.0
asgiref==3.8.1
certifi==2024.2.2
charset-normalizer==3.3.2
h11==0.14.0
httpcore==1.0.5
httpx==0.27.0
idna==3.7
pyTelegramBotAPI==4.18.1
requests==2.32.3
sniffio==1.3.1
sqlparse==0.5.0
urllib3==2.2.1
Binary file removed driverplan/driverplan/__pycache__/wsgi.cpython-312.pyc
Binary file not shown.

0 comments on commit cfbc662

Please sign in to comment.