fix on signals and so on
This commit is contained in:
parent
3a4c80e196
commit
f22b095491
|
@ -70,7 +70,6 @@ class Actions:
|
||||||
# by schedule;
|
# by schedule;
|
||||||
items = schedule.diffusions_of_month(date, exclude_saved = True)
|
items = schedule.diffusions_of_month(date, exclude_saved = True)
|
||||||
count[0] += len(items)
|
count[0] += len(items)
|
||||||
print(*[item.date for item in items])
|
|
||||||
|
|
||||||
if manual:
|
if manual:
|
||||||
Diffusion.objects.bulk_create(items)
|
Diffusion.objects.bulk_create(items)
|
||||||
|
|
11
notes.md
11
notes.md
|
@ -40,6 +40,17 @@ cms:
|
||||||
- comments -> remove/edit by the author
|
- 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
|
# Instance's TODO
|
||||||
- menu_top .sections:
|
- menu_top .sections:
|
||||||
- display inline block
|
- display inline block
|
||||||
|
|
Loading…
Reference in New Issue
Block a user