Спасибо, конечно, но искал более развернутый ответ. Только недавно нашёл:
Field lookups are how you specify the meat of an SQL WHERE clause. They’re specified as keyword arguments to the QuerySet methods filter(), exclude() and get().
Basic lookups keyword arguments take the form field__lookuptype=value. (That’s a double-underscore).
А по поводу:
current_year = timezone.now().year
Я же к программистам обращаюсь а не к переводчику. '.year' это аргумент, или что?
Updated 7 June 2015, 21:37 by mobeonsa.