Skip to content

Commit

Permalink
Remove unneeded code to add evap to PYTHONPATH
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasmohrin committed Nov 4, 2024
1 parent 9d7ebd2 commit 501bd68
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions evap/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,9 @@
"""

import os
import sys

from django.core.wsgi import get_wsgi_application

# this adds the project root to the python path.
PWD = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path = [PWD] + sys.path

os.environ.setdefault("DJANGO_SETTINGS_MODULE", "evap.settings")

application = get_wsgi_application()

0 comments on commit 501bd68

Please sign in to comment.