remove debug
This commit is contained in:
parent
504d31802e
commit
f32546db31
|
@ -189,7 +189,6 @@ def post_save_reverse(sender, **kwargs):
|
||||||
if kwargs.get('action') == 'post_add':
|
if kwargs.get('action') == 'post_add':
|
||||||
c = kwargs['instance']
|
c = kwargs['instance']
|
||||||
c.reverse()
|
c.reverse()
|
||||||
print(c.id, set(c.related_content.all().values_list('id', flat=True)) == set(c.reverse_related_content.all().values_list('id', flat=True)))
|
|
||||||
|
|
||||||
@python_2_unicode_compatible
|
@python_2_unicode_compatible
|
||||||
class ContentContent(models.Model):
|
class ContentContent(models.Model):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user