mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-04 21:27:49 +02:00
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:
@@ -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",
|
||||
|
Reference in New Issue
Block a user