I used webpack to convert react to static files and render them in django templates but even though the static files are changed the website rendered by django is same
Asked
Active
Viewed 79 times
0
-
Does this answer your question? [Django: cannot update css changes](https://stackoverflow.com/questions/53689833/django-cannot-update-css-changes) – Ivan Starostin Apr 11 '20 at 18:06
-
See `upd` part in the answer. About additional parameter. For bundles it can be a date or a hash/MD5. – Ivan Starostin Apr 11 '20 at 18:15
-
The webpack compiled the file correctly but django is still serving the old js.I tried restarting the server.the js is loading but an older version of it – unknown user Apr 11 '20 at 18:53
-
I understood, this is a common case, I gave you the solution, please follow the link and take a look at the answer. – Ivan Starostin Apr 11 '20 at 19:11