X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/7117aeaf787597967675e45dec919e8b0506844d..a89eda9436a1e8a118df36a4147fead8fd6ef177:/apps/dvcs/models.py diff --git a/apps/dvcs/models.py b/apps/dvcs/models.py index cf8d75dc..eba2c386 100644 --- a/apps/dvcs/models.py +++ b/apps/dvcs/models.py @@ -176,6 +176,10 @@ def create_tag_model(model): class Meta(Tag.Meta): app_label = model._meta.app_label + if hasattr(model, 'TagMeta'): + for attr, value in model.TagMeta.__dict__.items(): + setattr(Meta, attr, value) + attrs = { '__module__': model.__module__, 'Meta': Meta,