X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/46085cc5f0fe3cbac5243fe37cf7c29513190068..c661073dd0969caa9a47a225f3d3fae767295c3d:/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: