diff -r 859862939996 -r f770159c3cee src/core/models/notice.py --- a/src/core/models/notice.py Tue Jun 25 15:34:18 2013 +0200 +++ b/src/core/models/notice.py Tue Jun 25 16:10:23 2013 +0200 @@ -95,11 +95,12 @@ app_label = 'core' class NoticeImage(models.Model): - relative_url = models.URLField(max_length='1024', null=False, blank=False, unique=True) + relative_url = models.URLField(max_length='1024', null=False, blank=False, unique=False) notice = models.ForeignKey(Notice, related_name="images") class Meta: app_label = 'core' + unique_together = (("relative_url", "notice"),) @property