django-rest-swagger icon indicating copy to clipboard operation
django-rest-swagger copied to clipboard

(django_version >= 3.0) template tag "staticfiles" removed

Open jbowen7 opened this issue 4 years ago • 9 comments

staticfiles template tag was deprecated in Django 2.2 and is finally removed in Django 3.0

https://docs.djangoproject.com/en/dev/releases/3.0/#features-removed-in-3-0

Will submit PR in a few minutes.

jbowen7 avatar Nov 26 '19 00:11 jbowen7

I just realized this package is deprecated. I'll leave the issue and PR open for others.

jbowen7 avatar Nov 26 '19 01:11 jbowen7

@jbowen7 ahh , saw that a minute later..

MarvinKweyu avatar Dec 17 '19 16:12 MarvinKweyu

was this patched?

Terkea avatar Apr 21 '20 09:04 Terkea

@Terkea , the project is no longer maintained. Use drf-yasg instead. It works great

MarvinKweyu avatar Apr 21 '20 09:04 MarvinKweyu

@MarvinKweyu cheers for the quick response. I appreciate and also, I'll have a look into that.

Terkea avatar Apr 21 '20 09:04 Terkea

Could the requirements at https://github.com/marcgibbons/django-rest-swagger#requirements be updated from "Django 1.8+" to something like "Django >=1.8 <3"?

hartwork avatar Jun 17 '20 19:06 hartwork

@hartwork as @MarvinKweyu said, this project is no longer mantained. You can use drf-yasg instead, it works in a similar way.

dennybiasiolli avatar Jun 17 '20 20:06 dennybiasiolli

@dennybiasiolli I'm aware, yes. But for people running into projects that still use django-rest-swagger that notice they cannot mass-bump including Django 3.0.7 it would still be great to know how far to downgrade before they get time to replace django-rest-swagger by something else. I'm not asking for me: I already have the answer. Just the idea.

hartwork avatar Jun 17 '20 20:06 hartwork

@hartwork now I understand, I created a PR for your request, now let's wait for the maintainer 😄

dennybiasiolli avatar Jun 18 '20 06:06 dennybiasiolli