X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/7117aeaf787597967675e45dec919e8b0506844d..d95ee90d7f346871a256172bd65e274056a3635d:/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,