Tom,
Excellent article! Thanks!
--Fred
Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/
Bristle Software, Inc -- http://bristle.com -- Glad to be of service!
Open Source: Without walls and fences, we nee
On Thu, Nov 15, 2012 at 3:49 PM, rh wrote:
> In the djangocon lightning talk there was mention of this disconnect
> between "works on runserver" but not in production env.
>
> Not a problem restricted to django. I've been checking out a lot of
> frameworks in different languages and most suffer th
Thanks for the info. I built mine using:
./configure --with-apxs=/usr/local/apache/bin/apxs
--with-python=/opt/python2.7/bin/python
I'm fairly certain everything is good there. I'm able to load both projects
individually using "python manage.py runserver 0.0.0.0:8000" without issue.
The trouble
If you're running via mod_wsgi, then you need to look at which version
of Python mod_wsgi was built with. Probably /not /2.7 in that case.
http://code.google.com/p/modwsgi/wiki/InstallationIssues#Multiple_Python_Versions
_Nik
On 11/6/2012 10:02 AM, Bestrafung wrote:
> Thank you for the info. Tha
I'm not familiar with how to do this but the suggestion is noted. I will
look into it. Thanks.
On Tuesday, November 6, 2012 11:26:41 AM UTC-5, Thomas wrote:
>
> Use virtualenv. Always.
>
> - Tom
> > --
> > You received this message because you are subscribed to the
Thank you for the info. That's how I've been doing it but assumed something
wasn't right as it wasn't working and I keep getting errors. I think I've
ruled out python as the problem Need to start looking at the mod_wsgi and
Apache setup.
I have another post regarding Apache errors I will get ba
On 11/6/12 7:09 AM, Bestrafung wrote:
I have been running into this problem for a long while trying to setup
my first Django project and I keep coming back to this problem. I am
relatively new when it come to Linux, I'm learning but still have a
long way to go. I am using CentOS 5.8 cPanel whic
Whenever you run a Django command (e.g., startapp, runserver), just use
the full path to your Python 2.7 interpreter. For example:
$ /opt/python2.7/bin/python manage.py runserver 80
Similarly, if you're installing packages via pip or easy_install:
$ /opt/python2.7/bin/pip install some_package
$
I have been running into this problem for a long while trying to setup my
first Django project and I keep coming back to this problem. I am
relatively new when it come to Linux, I'm learning but still have a long
way to go. I am using CentOS 5.8 cPanel which comes with Python 2.4.
Following ins
9 matches
Mail list logo