40 - Create Context Processor and Other Minor Fixes - Django | DRF | React w. Data Analysis

Опубликовано: 03 Апрель 2026
на канале: Sugarloaf And a Cup of Joe
283
1

Useful links:
https://www.webforefront.com/django/s...

About this video:
I felt so self-conscious about making a 50min video on just changing a template that I missed a couple of things! Let's fix them.
Also, let's add context processor, so we don't have to repeat ourselves when passing context used across all pages.

Video Content:
00:00 Intro
00:45 Create head block to add page specific css
01:54 Delete redundant static files
02:49 Add pollutant_list to charts for dropdown menu
04:04 Create context_processor for all pages
06:44 Remove repetitive context from all views
08:00 Make sidebar menu buttons active when on specific pages
13:25 Replace “Interface” sidebar header with “Apps”
13:40 Customise footer to update year automatically


About this tutorial:
The primary goal of this tutorial is to take you through the steps of creating a solid Django portfolio project that will stand out when you talk to your future employer.
Check out tutorial's intro to see if it's something for you:
   • 01 - Introduction to the course - Django -...  

Tutorial repo:
https://github.com/SugarloafAndACupOf...

Please hit SUBSCRIBE if you wanna get the notifications about the new content!
Also, like the hell out of this video if you find it useful/interesting!
Follow us on Facebook:   / sugarloaf-and-a-cup-of-joe-101638761829670  
and Instagram:   / sugarloaf_and_a_cup_of_joe