X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6ba1659e33c6aa1de178b5ab9a7a4cf27385e7a4..378665e6e0ee8595e3c97096331bab365845cd9e:/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: