"""
WSGI config for pets project.

It exposes the WSGI callable as a module-level variable named ``application``.

For more information on this file, see
https://docs.djangoproject.com/en/2.0/howto/deployment/wsgi/
"""



import os,sys,time,traceback,signal

from django.core.wsgi import get_wsgi_application

sys.path.append('/home/sistemas/pets/DaleLaPata/pets')
sys.path.append('/home/sistemas/pets/DaleLaPata/venv/lib/python3.5/site-packages') 
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "pets.settings.prod")



try: 
    application = get_wsgi_application() 
except Exception: 
    # Error loading applications 
    if 'mod_wsgi' in sys.modules: 
        traceback.print_exc() 
        os.kill(os.getpid(), signal.SIGINT) 
        time.sleep(2.5) 


