Use filter make_list
Example:
{% for i in number|make_list %}
...
{% endfor %}
Returns the value turned into a list. For an integer, it’s a list of
digits. For a string, it’s a list of characters.
When U use "10" instead of "number" (no quotes, plz) U should get
result required.
On Jul 14,
Excuse me for my awful english ;)
On May 13, 7:33 pm, "richardcur...@googlemail.com"
wrote:
> Can I do in Django 0.9 something like if number <= othernumber ?
Try to create your own filter that compares things (numbers as a case)
In that particular case when you want to check a length of a lis
Guys, who even got Django-to-Firebird database backend working, or
knows how to, tell me please, how I can retrieve valid one? Maybe,
there is guru who knows a common structure of the backend? In this
case I can write it myself, maybe. I am finally tired out making
cripplings to existing backend,
3 matches
Mail list logo