diff options
Diffstat (limited to 'archaeological_warehouse/models.py')
| -rw-r--r-- | archaeological_warehouse/models.py | 9 | 
1 files changed, 5 insertions, 4 deletions
diff --git a/archaeological_warehouse/models.py b/archaeological_warehouse/models.py index 10cf89943..9783682a9 100644 --- a/archaeological_warehouse/models.py +++ b/archaeological_warehouse/models.py @@ -33,7 +33,7 @@ from ishtar_common.models import Document, GeneralType, get_external_id, \      LightHistorizedItem, OwnPerms, Address, Person, post_save_cache, \      DashboardFormItem, ShortMenuItem, \      document_attached_changed, SearchAltName, DynamicRequest, GeoItem, \ -    QRCodeItem, SearchVectorConfig +    QRCodeItem, SearchVectorConfig, DocumentItem  from ishtar_common.utils import cached_label_changed, post_save_geo @@ -48,8 +48,8 @@ post_save.connect(post_save_cache, sender=WarehouseType)  post_delete.connect(post_save_cache, sender=WarehouseType) -class Warehouse(Address, GeoItem, QRCodeItem, DashboardFormItem, OwnPerms, -                ShortMenuItem): +class Warehouse(Address, DocumentItem, GeoItem, QRCodeItem, DashboardFormItem, +                OwnPerms, ShortMenuItem):      SLUG = 'warehouse'      APP = "archaeological-warehouse"      MODEL = "warehouse" @@ -331,7 +331,8 @@ post_save.connect(post_save_cache, sender=ContainerType)  post_delete.connect(post_save_cache, sender=ContainerType) -class Container(LightHistorizedItem, QRCodeItem, GeoItem, OwnPerms): +class Container(DocumentItem, LightHistorizedItem, QRCodeItem, GeoItem, +                OwnPerms):      SLUG = 'container'      APP = "archaeological-warehouse"      MODEL = "container"  | 
