-
Notifications
You must be signed in to change notification settings - Fork 13
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-rest-swagger broken after Django 3 #395
Comments
Doesn't work with Django 2.2.10 either |
The fix is simple, navigate to index.html (AppData\Local\programs\python\python38\lib\site-packages\rest-framework-swagger\index.html) |
Update if you're still stumbling upon this error the above fix will only fix it locally, fixing this on a server is painful. |
@FairTraxx Thanks, I will take a look at drf-yasg. |
The django-rest-swagger dependency was removed with #411. |
|
Another Fix i found useful is this. TEMPLATES = [ Include template.libraries as staticfiles so that you dont have to change the index.html inside env. |
/docs/
produces:'staticfiles' is not a registered tag library. Must be one of: admin_list admin_modify admin_urls cache i18n l10n log rest_framework static tz
https://docs.djangoproject.com/en/3.0/releases/3.0/
Django-rest-swagger is deprecated. We probably have to move to something else.
marcgibbons/django-rest-swagger#815
The text was updated successfully, but these errors were encountered: