fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Editor update - editor now builds with its own copy of ace.js
[redakcja.git]
/
apps
/
dvcs
/
models.py
diff --git
a/apps/dvcs/models.py
b/apps/dvcs/models.py
index
cf8d75d
..
eba2c38
100644
(file)
--- 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
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,
attrs = {
'__module__': model.__module__,
'Meta': Meta,