summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-03-30 12:31:55 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-03-30 12:31:55 +0200
commit76b54a02373d58b630b3be4a76d6b6857806e3e2 (patch)
treea06e0b08aa038bd09be759a2d877f7d3eb34d0f9 /ishtar_common/models.py
parentdced4b8f3b540cf84f8e75041a680881b6a7e725 (diff)
downloadIshtar-76b54a02373d58b630b3be4a76d6b6857806e3e2.tar.bz2
Ishtar-76b54a02373d58b630b3be4a76d6b6857806e3e2.zip
Sources: fix query owns requests (refs #3196)
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index 35608abdf..6a9f86569 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -2903,7 +2903,7 @@ post_save.connect(post_save_cache, sender=Format)
post_delete.connect(post_save_cache, sender=Format)
-class Source(ImageModel, models.Model):
+class Source(OwnPerms, ImageModel, models.Model):
title = models.CharField(_(u"Title"), max_length=300)
external_id = models.CharField(_(u"External ID"), max_length=12, null=True,
blank=True)