mint icon indicating copy to clipboard operation
mint copied to clipboard

indention-based template engine, implemented in python

Results 21 mint issues
Sort by recently updated
recently updated
newest added

Now if an exception is raised in slot of inherited template there is no sane way to know the actual place (line number, source code). That's sad. So I propose...

I think we need to parse python expressions by our self. This way we can limit subset of valid expressions in context of mint syntax.

proposal

In `utils`. So that people can make markup with generated text without project server code.

Update pygments support. It is trailed behind now.

Are you shure cache=False actually disables caching? It does not work for me.

Need idea for syntax of such things.

proposal

Possibility to set variable in template. This is for simplification of view logic. ``` #set title = doc.title[:50] if len(doc.title) > 50 else doc.title ```

proposal

I suggest to implement support of this kind of mint templates: ``` @ul.class(images) #for (var i=0; i

proposal

Очень неудобно, пробегая в цикле по нескольким шаблонам, при возникновении ошибки догадываться о том, в каком шаблоне она произошла, по косвенным признакам. Если это возможно, было бы хорошо выводить в...

proposal

for question in element.questions.all(): MINT_CURRENT_NODE_ = __MINT_TAG_START__(u'question', {u'type': u''.join((__MINT_ESCAPE__(__MINT__UNICODE__(question.qtype_label))))}) elif question.qtype != question.CUSTOM: Завтра подробности.

bug