Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

django 1.5: DeprecationWarning: The 'execute_manager' function is deprecated #66

Closed
allixx opened this issue Feb 27, 2013 · 7 comments
Closed

Comments

@allixx
Copy link

allixx commented Feb 27, 2013

after migrating to recently released django 1.5 I started getting deprecation warnings:

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/).

the code in question is here:
djangorecipe/manage.py: management.execute_manager(mod)
djangorecipe/test.py: management.execute_manager(settings, argv=argv)
djangorecipe/tests/test_scripts.py

@reinout
Copy link
Collaborator

reinout commented Feb 27, 2013

I think you should upgrade to the latest djangorecipe. From the djangorecipe 1.3 changelog: "Removed deprecation warning in Django 1.4. Fixes #49."

See #49

Please re-open this ticket if I'm wrong and you still have a problem :-)

@reinout reinout closed this as completed Feb 27, 2013
@allixx
Copy link
Author

allixx commented Feb 27, 2013

sorry - I didn't specify djangorecipe version I'm using. it is a djangorecipe-1.5-py2.6.egg from pypi.
these deprecation warnings appear when running my apps test suite via djangorecipe.test.

@allixx
Copy link
Author

allixx commented Mar 3, 2013

please reopen this issue

@reinout reinout reopened this Mar 3, 2013
@reinout
Copy link
Collaborator

reinout commented Mar 4, 2013

Ah! I didn't notice it was the bin/test instead of the bin/django that's giving the warning. The #49 fix I mentioned fixed a deprecation warning in bin/django, not bin/test.

Looking into it now.

@markvl
Copy link

markvl commented Oct 28, 2013

This seems to be related to PR #80. Any progress you can report now that the 1.6 release is getting closer?

@reinout
Copy link
Collaborator

reinout commented Oct 28, 2013

It works now with the djangorecipe 1.6 that I just released. Funny that the version number is now the same as Django's :-)

@reinout reinout closed this as completed Oct 28, 2013
@markvl
Copy link

markvl commented Oct 29, 2013

Works like a charm. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants