Collin,

I will be running it with p3.4.


How is the performance of it?



Best Regards,
Paul Greenberg, Esq.

Law Office of Paul Greenberg
530 Main Street, Suite 102
Fort Lee, NJ 07024
E-mail: p...@greenberg.pro
Tel:  201-402-6777
Fax:  201-301-8876
Cell: 212-380-7343
Web: http://www.greenberg.pro/
Twitter: @nymetrolaw


________________________________
From: django-users@googlegroups.com <django-users@googlegroups.com> on behalf 
of Collin Anderson <cmawebs...@gmail.com>
Sent: Wednesday, August 06, 2014 1:38 PM
To: django-users@googlegroups.com
Subject: Re: nginx and django without virtualenv

Personally, in my `manage.py and `wsgi.py, I have the line:

import site

site.addsitedir('/path/to/virtenv/lib/python2.7/site-packages')

Actually, truthfully, I've merged wsgi.py and manage.py into one manage.py)
#!/usr/bin/env python
import os
import site
import sys
sys.dont_write_bytecode = True  # don't write .pyc files
sys.path.append(os.path.dirname(__file__))
site.addsitedir('/path/to/virtenv/lib/python2.7/site-packages')
os.environ['DJANGO_SETTINGS_MODULE'] = 'demo.settings'


if __name__ == '__main__':  # command line
    from django.core.management import execute_from_command_line
    execute_from_command_line(sys.argv)
else:  # wsgi
    from django.core.wsgi import get_wsgi_application
    application = get_wsgi_application()



--
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
django-users+unsubscr...@googlegroups.com<mailto:django-users+unsubscr...@googlegroups.com>.
To post to this group, send email to 
django-users@googlegroups.com<mailto:django-users@googlegroups.com>.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/0bee8b3c-d291-42b4-b0a8-9e443cb22f0b%40googlegroups.com<https://groups.google.com/d/msgid/django-users/0bee8b3c-d291-42b4-b0a8-9e443cb22f0b%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1407347216210.7377%40greenberg.pro.
For more options, visit https://groups.google.com/d/optout.

Reply via email to