Wednesday, July 31, 2013

Upgrading to 1.5 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?

--
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+unsubscribe@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.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment