fix on signals and so on

This commit is contained in:
bkfox 2017-05-10 19:09:52 +02:00
parent 3a4c80e196
commit f22b095491
2 changed files with 11 additions and 1 deletions

View File

@ -70,7 +70,6 @@ class Actions:
# by schedule;
items = schedule.diffusions_of_month(date, exclude_saved = True)
count[0] += len(items)
print(*[item.date for item in items])
if manual:
Diffusion.objects.bulk_create(items)

View File

@ -40,6 +40,17 @@ cms:
- comments -> remove/edit by the author
# error when generating diffusions (when all page of a page have been removed):
seems like the numchild attribute is not updated correctly when calling page.delete()
```
File "/srv/apps/aircox/venv/lib/python3.5/site-packages/treebeard/mp_tree.py", line 977, in add_child
return MP_AddChildHandler(self, **kwargs).process()
File "/srv/apps/aircox/venv/lib/python3.5/site-packages/treebeard/mp_tree.py", line 360, in process
newobj.path = self.node.get_last_child()._inc_path()
AttributeError: 'NoneType' object has no attribute '_inc_path'
```
# Instance's TODO
- menu_top .sections:
- display inline block