Remove explicit permission definitions on wagtailimage.Image as they clash with the auto-created ones

pull/3/head
Matt Westcott 2014-02-04 13:21:15 +00:00
rodzic 34e5fc0574
commit 939396767c
1 zmienionych plików z 0 dodań i 7 usunięć

Wyświetl plik

@ -105,13 +105,6 @@ class AbstractImage(models.Model, TagSearchable):
class Image(AbstractImage):
pass
class Meta:
permissions = (
('add_image', "Can add image"),
('change_image', "Can change image"),
('delete_image', "Can delete image"),
)
# Receive the pre_delete signal and delete the file associated with the model instance.
@receiver(pre_delete, sender=Image)