You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
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.
The text was updated successfully, but these errors were encountered: