Mercurial > libervia-backend
annotate sat/plugins/__init__.py @ 3306:3af0909629a2
common (template): better json dumping:
default method is set for json dumping (the `tojson` filter), if the object has a `json`
attribute, it will be called, otherwise it is replaced by None, this avoids crash when
rendering the template.
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 19 Jun 2020 15:45:57 +0200 |
parents | f7deb1c36b47 |
children | 11003f9f92fb |
rev | line source |
---|---|
1460
c7fd121a6180
core: getProfileName no raise ProfileUnknownError + minor doc fixes
Goffi <goffi@goffi.org>
parents:
1285
diff
changeset
|
1 # XXX: the Monkey Patch is here and not in src/__init__ to avoir issues with pyjamas compilation |
2778
f7deb1c36b47
core, XEP-0315: move XML element handling to sat_tmp:
Goffi <goffi@goffi.org>
parents:
2624
diff
changeset
|
2 # TODO: remove this when changes are merged in Wokkel |
f7deb1c36b47
core, XEP-0315: move XML element handling to sat_tmp:
Goffi <goffi@goffi.org>
parents:
2624
diff
changeset
|
3 from sat_tmp.wokkel import install |
f7deb1c36b47
core, XEP-0315: move XML element handling to sat_tmp:
Goffi <goffi@goffi.org>
parents:
2624
diff
changeset
|
4 install() |