Add a 404 page and improve manufacturer lookup (#36)

* Add a custom 404 page
* Better manufacturer and item lookup
* Add migration to populate new field
* Version bump
This commit is contained in:
2024-04-24 00:33:41 +02:00
committed by GitHub
parent 54a68d9b1f
commit 6a9f37ca05
7 changed files with 69 additions and 15 deletions

View File

@@ -79,6 +79,11 @@ class RollingStock(models.Model):
blank=True,
help_text="Catalog item number or code",
)
item_number_slug = models.CharField(
max_length=32,
blank=True,
editable=False
)
set = models.BooleanField(
default=False,
help_text="Part of a set",