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

Only import url from future when using Django < 1.5. #707

Merged

Conversation

tim-schilling
Copy link
Contributor

In order to hide the deprecation warnings, determine what version
django is being used, then either import the url template tag
from future or import the normal url template tag.

When support for Django 1.4 drops, this change can be removed.
Fixes #706.

In order to hide the deprecation warnings, determine what version
django is being used, then either import the url template tag
from future or import the normal url template tag.

When support for Django 1.4 drops, this change can be removed.
Fixes jazzband#706.
@tim-schilling
Copy link
Contributor Author

Rebased on master.

@tim-schilling tim-schilling merged commit 5a9bd46 into jazzband:master Apr 28, 2015
@tim-schilling tim-schilling deleted the hide-future-url-deprecation branch April 28, 2015 01:22
@tim-schilling tim-schilling restored the hide-future-url-deprecation branch April 28, 2015 01:25
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.

Removed In Django 1.9 Warning: url tag from future
2 participants