> On 19 March 2015 at 17:30, Roberto De Ioris <robe...@unbit.it> wrote: > >> pasta il file di configurazioen che stai usando e il path in cui risiede >> la tua app django. >> >> Di regola e': >> >> [uwsgi] >> chdir = <directory_progetto_django> >> wsgi-file = <nome_progetto>/wsgi.py >> > > """ > WSGI config for globeX 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/1.7/howto/deployment/wsgi/ > """ > > import os > os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings") > > from django.core.wsgi import get_wsgi_application > application = get_wsgi_application() > > Devo fare un file uwsgi.py che poi punti al file wsgi.py ? Provo intanto > > Carlos > -- >
No fermo, hai gia' il file wsgi.py dentro il tuo progetto (se non ce l'hai stai usando una versione vecchissima di django, e in tal caso si' ti serve creare un file wsgi.py NON uwsgi.py mi raccomando) -- Roberto De Ioris http://unbit.com _______________________________________________ Python mailing list Python@lists.python.it http://lists.python.it/mailman/listinfo/python