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

Convert test.py to use the Django 1.4+ execute_from_command_line. #80

Merged

Conversation

johnpaulett
Copy link
Contributor

execute_manager deprecated in Django 1.4 and removed in 1.6. Use
the same strategy as manage.py to determine whether to use
execute_manager or execute_from_command_line based upon the Django
version.

https://docs.djangoproject.com/en/1.4/releases/1.4/#django-core-management-execute-manager

execute_manager deprecated in Django 1.4 and removed in 1.6. Use
the same strategy as manage.py to determine whether to use
execute_manager or execute_from_command_line based upon the Django
version.

https://docs.djangoproject.com/en/1.4/releases/1.4/#django-core-management-execute-manager
@reinout
Copy link
Collaborator

reinout commented Oct 28, 2013

I'm taking a look right now. Django 1.6 is getting so close that I'm using it myself now. So... I'm getting the error too :-)

reinout added a commit that referenced this pull request Oct 28, 2013
…t-entry

Convert test.py to use the Django 1.4+ execute_from_command_line.

(Merging it so that I can test it with the new travis-based testing-multiple-versions setup I just cooked up)
@reinout reinout merged commit 1fcd8cf into rvanlaar:master Oct 28, 2013
@reinout
Copy link
Collaborator

reinout commented Oct 28, 2013

Thanks! It works and I've released djangorecipe 1.6 with your fix.

Sorry for taking too long...

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

Successfully merging this pull request may close these issues.

None yet

2 participants