Get the field name that represents the updated date for the model. If specified, this is used by the reindex command to filter out results from the QuerySet, enabling you to reindex only recent records. This method should either return None (reindex everything alway
(self)
| 362 | self.update(using=using) |
| 363 | |
| 364 | def get_updated_field(self): |
| 365 | """ |
| 366 | Get the field name that represents the updated date for the model. |
| 367 | |
| 368 | If specified, this is used by the reindex command to filter out results |
| 369 | from the QuerySet, enabling you to reindex only recent records. This |
| 370 | method should either return None (reindex everything always) or a |
| 371 | string of the Model's DateField/DateTimeField name. |
| 372 | """ |
| 373 | return None |
| 374 | |
| 375 | def should_update(self, instance, **kwargs): |
| 376 | """ |