Skip to content

Commit

Permalink
Merge pull request #38 from cohpy/edev
Browse files Browse the repository at this point in the history
Set Python path correctly when running as a WSGI service
  • Loading branch information
efloehr committed Aug 28, 2015
2 parents dbe7d83 + 6514e4c commit d13595b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cohpy/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
"""

import os
import sys
from django.core.wsgi import get_wsgi_application

sys.path.append(os.path.dirname(__file__))

from django.core.wsgi import get_wsgi_application

Expand Down

0 comments on commit d13595b

Please sign in to comment.