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):
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
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
3 matches
Mail list logo