[CentOS] Django 1.5 Upgrade

Thu Aug 1 02:40:44 UTC 2013
Larry Martell <larry.martell at gmail.com>

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?