diff --git a/lot/models.py b/lot/models.py index 59ca155..2980dd8 100644 --- a/lot/models.py +++ b/lot/models.py @@ -52,13 +52,5 @@ class LotProperty (Property): SYSTEM = 0, "System" USER = 1, "User" DOCUMENT = 2, "Document" - ERASE_SERVER = 3, "EraseServer" type = models.SmallIntegerField(choices=Type.choices, default=Type.USER) - - class Meta: - constraints = [ - models.UniqueConstraint( - fields=["key", "lot", "type"], name="lot_unique_type_key_lot" - ) - ] diff --git a/lot/templates/properties.html b/lot/templates/properties.html index fec72b4..c5f774f 100644 --- a/lot/templates/properties.html +++ b/lot/templates/properties.html @@ -31,14 +31,71 @@
- {% for a in properties %} -