diff options
Diffstat (limited to 'archaeological_warehouse')
-rw-r--r-- | archaeological_warehouse/models.py | 4 | ||||
-rw-r--r-- | archaeological_warehouse/tests.py | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/archaeological_warehouse/models.py b/archaeological_warehouse/models.py index 61b2e3f6d..06c7cdcd8 100644 --- a/archaeological_warehouse/models.py +++ b/archaeological_warehouse/models.py @@ -862,7 +862,7 @@ class Container(DocumentItem, Merge, LightHistorizedItem, responsibility = models.ForeignKey( Warehouse, verbose_name=_("Responsibility"), related_name='responsibilities', blank=True, null=True, - help_text=_("Warehouse that own the container") + help_text=_("Warehouse that owns the container") ) container_type = models.ForeignKey(ContainerType, verbose_name=_("Container type"), @@ -1189,7 +1189,7 @@ class Container(DocumentItem, Merge, LightHistorizedItem, current_container_type = None error_msg = str( - _("The division number {} have not been set for the warehouse {}.") + _("The division number {} has not been set for the warehouse {}.") ).format(place + 1, self.location) previous_container_types = [] for idx, division_link in enumerate(q.all()): diff --git a/archaeological_warehouse/tests.py b/archaeological_warehouse/tests.py index 873941d8e..f6d877ec4 100644 --- a/archaeological_warehouse/tests.py +++ b/archaeological_warehouse/tests.py @@ -554,8 +554,6 @@ class ContainerTest(FindInit, TestCase): c = json.loads(response.content.decode()) self.assertEqual(len(c), 1) - - def test_form_creation(self): data = { 'reference': 'hop-ref', |