work on admin interface

This commit is contained in:
bkfox
2016-06-07 17:25:38 +02:00
parent 21f3e89101
commit 83e425349b
6 changed files with 118 additions and 44 deletions

View File

@ -33,7 +33,9 @@ class Diffusion (RelatedPost):
}
}
rel_to_post = True
auto_create = True
def auto_create(object):
return not object.initial
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)