Re: Django code patterns

2012-02-09 Thread Michael Nacharov
09.02.2012 20:01, Rune Kaagaard пишет: Maybe something like the following untested code: def submit_if_any(a, b, conditions, submit_func): has_any = False for condition in conditions: if condition(a, b):

DateField min_value

2011-11-16 Thread Michael Nacharov
Hello Django Expets! In one of my Django app, users must fill some forms with Django DateField. Why this class does not contain field max_value? Perhaps it is worth a new ticket? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this

Date_Field min_value

2011-11-16 Thread Michael Nacharov
Hello Django Expets! In one of my Django app, users must fill some forms with Django DateField. Why this class does not contain field max_value? Perhaps it is worth a new ticket? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this