child template content block gets swapped between two routes even though extends and blocks are correct. why the /technician/ show /cashier/, reversed

2 hours ago 1
ARTICLE AD BOX

I have a Flask project with multiple user roles. Each role has its own dashboard template that extends a common base template.

enter image description here

i want the page showed is correct. Even though routes and templates are correct, sometimes the cashier dashboard shows technician content or vice versa. The <head> block is correct, but the {% block content %} seems swapped.

Read Entire Article