This commit is contained in:
bkfox 2017-05-10 19:34:16 +02:00
parent f22b095491
commit 7a769c168b
3 changed files with 7 additions and 12 deletions

View File

@ -8,7 +8,6 @@ from django.utils.translation import ugettext as _, ugettext_lazy
from aircox.models import *
#
# Inlines
#

View File

@ -28,7 +28,7 @@ from .base_settings import *
# define TIME_ZONE before the call to timezone.activate
# TIME_ZONE = os.environ.get('TZ') or 'UTC'
TIME_ZONE = os.environ.get('TZ') or 'UTC'
timezone.activate(pytz.timezone(TIME_ZONE))

View File

@ -39,17 +39,13 @@ cms:
- player support diffusions with multiple archive files
- comments -> remove/edit by the author
# Timezone shit:
Check:
- manager/commands:
- diffusions
- streamer
- admin: date printed for diffusion is utc even using localtime => tz.get_current_timezone() stays as UTC
# 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: