Get the name of the date field to be used to filter by.
(self)
| 239 | allow_future = False |
| 240 | |
| 241 | def get_date_field(self): |
| 242 | """Get the name of the date field to be used to filter by.""" |
| 243 | if self.date_field is None: |
| 244 | raise ImproperlyConfigured( |
| 245 | "%s.date_field is required." % self.__class__.__name__ |
| 246 | ) |
| 247 | return self.date_field |
| 248 | |
| 249 | def get_allow_future(self): |
| 250 | """ |
no test coverage detected