Commit b03f7b0886fdfcfbb349a3c01b3b5e13ba37ccc1

Authored by Erik Zambom
Committed by GitHub
2 parents 5845593b c5e60f0f
Exists in amadeus_univasf

Merge pull request #593 from amadeusproject/refactoring

Daily Update - 23_10_2017
Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
pendencies/forms.py
... ... @@ -205,14 +205,14 @@ class PendenciesLimitedForm(forms.ModelForm):
205 205  
206 206 if not begin_date == ValueError and begin_date:
207 207 if begin_date.date() > limit_submission_date.date():
208   - self.add_error('begin_date', _('This input should be filled with a date equal or before the goals submission limit date.("%s")')%(subject.limit_submission_date.date()))
  208 + self.add_error('begin_date', _('This input should be filled with a date equal or before the goals submission limit date.("%s")')%(limit_submission_date.date()))
209 209  
210 210 if not end_date == ValueError and end_date:
211 211 if end_date.date() > limit_submission_date.date():
212   - self.add_error('end_date', _('This input should be filled with a date equal or before the goals submission limit date.("%s")')%(subject.limit_submission_date.date()))
  212 + self.add_error('end_date', _('This input should be filled with a date equal or before the goals submission limit date.("%s")')%(limit_submission_date.date()))
213 213  
214 214 if not limit_date == ValueError and limit_date:
215 215 if limit_date.date() > limit_submission_date.date():
216   - self.add_error('limit_date', _('This input should be filled with a date equal or before the goals submission limit date.("%s")')%(subject.limit_submission_date.date()))
  216 + self.add_error('limit_date', _('This input should be filled with a date equal or before the goals submission limit date.("%s")')%(limit_submission_date.date()))
217 217  
218 218 return cleaned_data
... ...