X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6ba1659e33c6aa1de178b5ab9a7a4cf27385e7a4..23f0993732ac597e0a4ab1330b62b970c09d476c:/apps/newtagging/models.py diff --git a/apps/newtagging/models.py b/apps/newtagging/models.py index 6d05e287e..7e0f949f1 100644 --- a/apps/newtagging/models.py +++ b/apps/newtagging/models.py @@ -516,6 +516,7 @@ def create_intermediary_table_model(model): class Meta: db_table = '%s_relation' % model._meta.db_table unique_together = (('tag', 'content_type', 'object_id'),) + app_label = model._meta.app_label def obj_unicode(self): try: