Open Saman-Zand-H opened 9 months ago
Hi @Saman-Zand-H, did you actually try mixins that the pug syntax offers. It looks to me that you are trying to use a second module for something that already possible with just using mixins.
Shortly testing it myself i also get broken templates because of an error in
template_partials which seems to not respect the django template config. Don't know why it kicks in after just registering the app but not changing the template loader settings. that should not happen at all.
thanks for the quick response. I'll check that and inform you.
Description
I have a Django project. I wanted to use pypugjs as well. I also use template_partials. I observed that pugs weren't being compiled. So this package won't work if used along with template_partials.
What I Did
I commented all the installed apps and realized that the problem is resolved when I comment 'template_partials'. note that i deleted all of 'template_partials' config, and commented it, and then it worked.