create account

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

View this thread on: hive.blogpeakd.comecency.com
· @codemy ·
$3.96
Static File Errors With New Version of Django - Django Blog #29-b
https://www.youtube.com/watch?v=nKwleb93hmg

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

✅ Watch The Entire Django Blog Playlist
https://bit.ly/3bWN6wj

✅ Subscribe To My YouTube Channel:
http://bit.ly/2IGzvOR

▶️ See More At:
https://Codemy.com

✅ Join My Facebook Group:
http://bit.ly/2GFmOBz

▶️ Learn to Code at https://Codemy.com
Take $22 off with coupon code: youtube

✅ Buy a Codemy T-Shirt!
http://bit.ly/2VC9WUN
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 21 others
properties (23)
authorcodemy
permlinkstatic-file-errors-with-new-version-of-django-django-blog-29-b
categorydjango
json_metadata{"tags":["django","python","diy","programming"],"image":["https://img.youtube.com/vi/nKwleb93hmg/0.jpg"],"links":["https://www.youtube.com/watch?v=nKwleb93hmg","https://bit.ly/3bWN6wj","http://bit.ly/2IGzvOR","https://Codemy.com","http://bit.ly/2GFmOBz","http://bit.ly/2VC9WUN"],"app":"hiveblog/0.1","format":"markdown"}
created2020-08-27 16:58:09
last_update2020-08-27 16:58:09
depth0
children1
last_payout2020-09-03 16:58:09
cashout_time1969-12-31 23:59:59
total_payout_value2.284 HBD
curator_payout_value1.677 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length797
author_reputation226,537,455,758,254
root_title"Static File Errors With New Version of Django - Django Blog #29-b"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id99,307,126
net_rshares12,366,718,876,807
author_curate_reward""
vote details (85)
@chitty ·
I have picked your post for my daily hive voting initiative, Keep it up and Hive On!!
properties (22)
authorchitty
permlinkre-static-file-errors-with-new-version-of-django-django-blog-29-b-20200902t000730
categorydjango
json_metadata""
created2020-09-02 00:07:33
last_update2020-09-02 00:07:33
depth1
children0
last_payout2020-09-09 00:07:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length86
author_reputation86,901,300,608,582
root_title"Static File Errors With New Version of Django - Django Blog #29-b"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id99,401,073
net_rshares0