improve inline admin forms and add tags autocomplete

This commit is contained in:
Nick Sweeting 2021-02-18 08:04:14 -05:00
parent 33df9c1ebe
commit ca2bb673ea
2 changed files with 16 additions and 36 deletions

View file

@ -80,7 +80,7 @@ class Snapshot(models.Model):
added = models.DateTimeField(auto_now_add=True, db_index=True)
updated = models.DateTimeField(auto_now=True, blank=True, null=True, db_index=True)
tags = models.ManyToManyField(Tag)
tags = models.ManyToManyField(Tag, blank=True)
keys = ('url', 'timestamp', 'title', 'tags', 'updated')