Skip to content
This repository has been archived by the owner on Jan 11, 2021. It is now read-only.

Django 3+ not support staticfiles pls support this feature #832

Open
Evgeniy-Polyak opened this issue Jul 27, 2020 · 2 comments · May be fixed by #833
Open

Django 3+ not support staticfiles pls support this feature #832

Evgeniy-Polyak opened this issue Jul 27, 2020 · 2 comments · May be fixed by #833

Comments

@Evgeniy-Polyak
Copy link

Django 3+ not support staticfiles pls support this feature.

@1UC1F3R616
Copy link

To get around this:

  • navigate to your installation path of rest_framework_swagger, for me it's env\Lib\site-packages\rest_framework_swagger
  • goto templates/rest_framework_swagger folder and change staticfile to static in your index.html
  • enjoy

pyeden added a commit to pyeden/django-rest-swagger that referenced this issue Aug 4, 2020
@pyeden pyeden linked a pull request Aug 4, 2020 that will close this issue
@frier17
Copy link

frier17 commented Aug 31, 2020

I think it is best to update master to have {% load static %} in the index.html file than simply directing people to hack site-distribution of their install of django-rest-swagger. Updating site-distribution file(s) is a bad idea - in my opinion.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants