Re-activated connect-channel again, called from hooks. Fixed some bugs and minor things to give more control over how messages sent to channels are handled.
This commit is contained in:
parent
d55bee8905
commit
28c625c12c
4 changed files with 46 additions and 20 deletions
|
|
@ -230,6 +230,7 @@ def datetime_format(dtobj):
|
|||
"""
|
||||
Takes a datetime object instance (e.g. from django's DateTimeField)
|
||||
and returns a string describing how long ago that date was.
|
||||
|
||||
"""
|
||||
|
||||
year, month, day = dtobj.year, dtobj.month, dtobj.day
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue