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.9 compatibility ('url' tag) #112

Open
cgranetgithub opened this issue Jan 11, 2016 · 6 comments
Open

django 1.9 compatibility ('url' tag) #112

cgranetgithub opened this issue Jan 11, 2016 · 6 comments

Comments

@cgranetgithub
Copy link

in templates/tastypie_swagger/index.html, 1st line: {% load url from future %}
generates the following error in django 1.9: 'url' is not a valid tag or filter in tag library 'future'

In Django 1.9, url template tag was removed from the future template tag library.
So, now you can't load the url tag from the future library in Django 1.9. You can use the built-in url tag instead.
{% url 'some-url-name' %}

@Galaf
Copy link

Galaf commented Jan 19, 2016

+1

1 similar comment
@hgross
Copy link
Contributor

hgross commented Feb 17, 2016

+1

@johnraz
Copy link
Contributor

johnraz commented Feb 17, 2016

PR are welcome ;-)

hgross added a commit to hgross/django-tastypie-swagger that referenced this issue Feb 20, 2016
@hgross
Copy link
Contributor

hgross commented Feb 20, 2016

Here you go:
#113

johnraz added a commit that referenced this issue Feb 21, 2016
@johnraz
Copy link
Contributor

johnraz commented Feb 21, 2016

Fix has been merged in #113. Thanks all.

@silviomoreto
Copy link

Can you make a new release to get it from pip?

vuchau pushed a commit to vuchau/django-tastypie-swagger that referenced this issue Mar 14, 2017
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

5 participants