remove debug

This commit is contained in:
j 2018-08-22 22:00:18 +02:00
parent 504d31802e
commit f32546db31

View File

@ -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):