X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/63fc0519ce8555d09a90193fb2b0f599ecd721f8..c600b1bd8a8a631ce2972b0efc3a1a6014b56f40:/apps/dvcs/models.py?ds=sidebyside 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,