|
|
|
|
@ -279,7 +279,7 @@ class FilterForm(forms.Form): |
|
|
|
|
|
|
|
|
|
def get_dates(self): |
|
|
|
|
if not (self.cleaned_data.get('date_from') or self.cleaned_data.get('date_to')): |
|
|
|
|
return None |
|
|
|
|
return _(u'Указать диапазон') |
|
|
|
|
result = '' |
|
|
|
|
if self.cleaned_data.get('date_from'): |
|
|
|
|
result += _(u'c {date_from} ').format(date_from=self.cleaned_data.get('date_from').strftime('%d.%m.%Y')) |
|
|
|
|
|