On Wed, 31 Jul 2013 17:59:56 -0600
Larry Martell <[email protected]> wrote:

> 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?
> 

How are you running management commands? Using the ./manage.py from the
project? In that case you probably just need to replace the manage.py
with a newer version (from Django 1.5).

Best regards

-- 
Branko Majic
Jabber: [email protected]
Please use only Free formats when sending attachments to me.

Бранко Мајић
Џабер: [email protected]
Молим вас да додатке шаљете искључиво у слободним форматима.

Attachment: signature.asc
Description: PGP signature

Reply via email to