bradunov / shkola

Shkola is a web framework for math exercises for primary school kids.
https://www.tatamata.org/
Other
2 stars 0 forks source link

Backend: better page generation mechanism #12

Closed vladap2013 closed 4 years ago

vladap2013 commented 4 years ago

Currently page is constructed by appending strings to a string value which is very inneficient. We should use some more efficient mechanism. Also, it probably would be better to have page body object in the context and not passed as a return value from functions.

vladap2013 commented 4 years ago

This is solved with the introduction of jinja2 templates