[collector] ensure model manager retrieves newest Teil first
closes: #7
This commit is contained in:
parent
bcf6dff1b0
commit
719d4254b2
2 changed files with 13 additions and 0 deletions
|
|
@ -16,6 +16,7 @@ class Teil(models.Model):
|
|||
|
||||
verbose_name = "Teil"
|
||||
verbose_name_plural = "Teile"
|
||||
ordering = ["-modified"]
|
||||
|
||||
def __str__(self) -> str:
|
||||
modified = self.modified.isoformat(timespec="seconds")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue