diff --git a/djangocms_picture/models.py b/djangocms_picture/models.py index 47e9a5c..6b0b993 100644 --- a/djangocms_picture/models.py +++ b/djangocms_picture/models.py @@ -25,10 +25,7 @@ def get_alignment(): ('left', _('Align left')), ('right', _('Align right')), ('center', _('Align center')), - ('ltr', _('Left-to-Right')), - ('rtl', _('Right-to-Left')), - ('top', _('Top Aligned')), - ('bottom', _('Bottom Aligned')), + ) ) return alignment diff --git a/tests/test_models.py b/tests/test_models.py index 76017a2..0b7c2ad 100644 --- a/tests/test_models.py +++ b/tests/test_models.py @@ -68,7 +68,7 @@ def test_settings(self): self.assertEqual(PICTURE_RATIO, 1.6180) self.assertEqual( get_alignment(), - (('left', 'Align left'), ('right', 'Align right'), ('center', 'Align center'),('ltr', ('Left-to-Right')),('rtl', ('Right-to-Left')),('top', ('Top Aligned')),('bottom', ('Bottom Aligned'))), + (('left', 'Align left'), ('right', 'Align right'), ('center', 'Align center')), ) def test_picture_instance(self):