Better classes attribute handling#222
Better classes attribute handling#222paradoxxxzero wants to merge 2 commits intosyrusakbary:masterfrom
Conversation
4a76e8a to
eb84811
Compare
|
Since there are no updates to pyjade and its successor recently was deleted from pypi, I took the liberty to revive it: https://github.com/kakulukia/pypugjs Version 5.0.1 has fixed the incompatibility with recent Django versions. |
|
Please cherry-pick if you want the code, I'm not using this anymore. |
|
Will do. What do you currently use? |
|
React :) |
|
But compared to pug templates react is ugly as hell! :) Here is a lil example (i love that combination or DRF and Vue frontend) https://github.com/kakulukia/django-default-project |
Now support multiple class attributes specified and class/bool objects:
gives