Anyone here using django on centos.
On my Mac, running python 2.7, I upgraded from 1.4 to 1.5 by doing this:
rm -rf /Library/Python/2.7/site-packages/django
Followed by python setup.py install in the dir I untar-ed Django-1.5.1 to. This all worked fine.
On a Centos system running python 2.6 I did:
rm -rf /usr/lib/python2.6/site-packages/django followed by the setup.py install. My django app is working, and appears to be running 1.5, however anytime I use manage.py (for collectstatic or syncdb or test, for example) I get these messages:
/usr/lib/python2.6/site-packages/django/core/management/__init__.py:465: DeprecationWarning: The 'execute_manager' function is deprecated, you likely need to update your 'manage.py'; please see the Django 1.4 release notes (https://docs.djangoproject.com/en/dev/releases/1.4/). DeprecationWarning) /usr/lib/python2.6/site-packages/django/core/management/__init__.py:409: DeprecationWarning: The 'setup_environ' function is deprecated, you likely need to update your 'manage.py'; please see the Django 1.4 release notes (https://docs.djangoproject.com/en/dev/releases/1.4/). DeprecationWarning)
So it seems I still have some 1.4 stuff around. I don't get this on my Mac. How can I get rid of these messages?
On 2013-08-01, Larry Martell larry.martell@gmail.com wrote:
Anyone here using django on centos.
Django is not a CentOS package. It is very likely that you installed it from a third-party repository or by hand. In the future you should try to post to a more appropriate location (like the django mailing list where you already posted this question).
On a Centos system running python 2.6 I did:
rm -rf /usr/lib/python2.6/site-packages/django followed by the setup.py install.
This was probably the wrong thing to do. Use yum to upgrade if you installed from a repo, or use the official Django upgrade docs if you installed by hand:
https://docs.djangoproject.com/en/1.5/howto/upgrade-version/
--keith
On Wed, Jul 31, 2013 at 9:03 PM, Keith Keller kkeller@wombat.san-francisco.ca.us wrote:
On 2013-08-01, Larry Martell larry.martell@gmail.com wrote:
Anyone here using django on centos.
Django is not a CentOS package.
Yes, I realize that.
It is very likely that you installed it from a third-party repository or by hand.
Yes, I installed it by hand.
In the future you should try to post to a more appropriate location (like the django mailing list where you already posted this question).
As I am having a problem with it under Centos I think it's appropriate to post here. Someone else may have had and solved my issue.
On a Centos system running python 2.6 I did:
rm -rf /usr/lib/python2.6/site-packages/django followed by the setup.py install.
This was probably the wrong thing to do. Use yum to upgrade if you installed from a repo, or use the official Django upgrade docs if you installed by hand:
https://docs.djangoproject.com/en/1.5/howto/upgrade-version/
The way I installed it did come from the official Django upgrade docs:
https://docs.djangoproject.com/en/1.5/topics/install/#removing-old-versions-...
In any case, I did try following the instructions at the link you gave, and I got:
Requirement already up-to-date: Django in /usr/local/python2.6/site-packages