Static File Errors With New Version of Django - Django Blog #29-b



12
13592

Django recently updated to version 3.1 and now we need to make a change to our settings.py file to deal with our static files. In the new version of Django 3.1 the settings.py file uses PATH instead of OS to deal with directory structure. So all the code we wrote for our static dirs and things like that will no longer work unless we import os at the top of our settings.py file. And then it will all work again LOL

Published by: Codemy.com Published at: 3 years ago Category: آموزشی