(self, date_check)
| 934 | } |
| 935 | |
| 936 | def get_date_error_message(self, date_check): |
| 937 | return gettext( |
| 938 | "Please correct the duplicate data for %(field_name)s " |
| 939 | "which must be unique for the %(lookup)s in %(date_field)s." |
| 940 | ) % { |
| 941 | "field_name": date_check[2], |
| 942 | "date_field": date_check[3], |
| 943 | "lookup": str(date_check[1]), |
| 944 | } |
| 945 | |
| 946 | def get_form_error(self): |
| 947 | return gettext("Please correct the duplicate values below.") |
no test coverage detected