
import os

from django.core.wsgi import get_wsgi_application

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

application = get_wsgi_application()


import os, sys, site
site.addsitedir('/usr/local/share/virtualenvs/guhema/lib/python3.4/site-packages')
sys.path.append('/var/www/vhosts/guhema.com/httpdocs/django')
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "dpb.settings")

from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()

Add pathts for apache deployment
Add pathts for apache deployment

  
- import os
+ import os, sys, site
+ site.addsitedir('/usr/local/share/virtualenvs/guhema/lib/python3.4/site-packages')
+ sys.path.append('/var/www/vhosts/guhema.com/httpdocs/django')
+ os.environ.setdefault("DJANGO_SETTINGS_MODULE", "dpb.settings")
  
  from django.core.wsgi import get_wsgi_application
- 
- os.environ.setdefault("DJANGO_SETTINGS_MODULE", "core.settings")
- 
  application = get_wsgi_application()
  
Add pathts for apache deployment
## Code Before:

import os

from django.core.wsgi import get_wsgi_application

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

application = get_wsgi_application()

## Instruction:
Add pathts for apache deployment
## Code After:

import os, sys, site
site.addsitedir('/usr/local/share/virtualenvs/guhema/lib/python3.4/site-packages')
sys.path.append('/var/www/vhosts/guhema.com/httpdocs/django')
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "dpb.settings")

from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()
