Mercurial > libervia-web
comparison libervia/server/session_iface.py @ 1275:334d044f2713
server: default theme can now be specified in site section of `sat.conf` with `theme` key
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 19 Jun 2020 16:47:50 +0200 |
parents | 6dfcdbeb0d33 |
children | a0954b6610aa |
comparison
equal
deleted
inserted
replaced
1274:eb4f03da0d7d | 1275:334d044f2713 |
---|---|
48 self.backend_started = None | 48 self.backend_started = None |
49 self.uuid = str(shortuuid.uuid()) | 49 self.uuid = str(shortuuid.uuid()) |
50 self.identities = data_objects.Identities() | 50 self.identities = data_objects.Identities() |
51 self.csrf_token = str(shortuuid.uuid()) | 51 self.csrf_token = str(shortuuid.uuid()) |
52 self.locale = None # i18n of the pages | 52 self.locale = None # i18n of the pages |
53 self.theme = C.TEMPLATE_THEME_DEFAULT | 53 self.theme = None |
54 self.pages_data = {} # used to keep data accross reloads (key is page instance) | 54 self.pages_data = {} # used to keep data accross reloads (key is page instance) |
55 self.affiliations = OrderedDict() # cache for node affiliations | 55 self.affiliations = OrderedDict() # cache for node affiliations |
56 | 56 |
57 @property | 57 @property |
58 def cache_dir(self): | 58 def cache_dir(self): |