summaryrefslogtreecommitdiff
path: root/plugin_mount.py
diff options
context:
space:
mode:
authorNick Daly <Nick.M.Daly@gmail.com>2013-04-23 17:49:22 -0500
committerNick Daly <Nick.M.Daly@gmail.com>2013-04-23 17:49:22 -0500
commitf55c7a48ea534e342e6efbd4c7edaf1b1e07f61b (patch)
treefec45d97e4e976ef7ba5dde83f538fcf19092bc0 /plugin_mount.py
parent157226f1b88bc090b677f9896aa62a0c734ebf14 (diff)
Merged with James's upstream.
Hope I did it right. If I screwed up, withsqlite is borked.
Diffstat (limited to 'plugin_mount.py')
-rw-r--r--plugin_mount.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/plugin_mount.py b/plugin_mount.py
index 5ad414a..cf0f268 100644
--- a/plugin_mount.py
+++ b/plugin_mount.py
@@ -67,6 +67,7 @@ class PagePlugin:
def __init__(self, *args, **kwargs):
"""If cfg.html_root is none, then this is the html_root."""
if not cfg.html_root:
+ cfg.log('Setting html root to %s' % self.__class__.__name__)
cfg.html_root = self
def register_page(self, url):
@@ -165,6 +166,10 @@ class UserStoreModule:
user_store.py: get, get_all, set, exists, remove, attr, expert.
See source code for doc strings.
+ This is designed as a plugin so mutiple types of user store can be
+ supported. But the project is moving towards LDAP for
+ compatibility with third party software. A future version of
+ Plinth is likely to require LDAP.
"""
- __metaclass__ = PluginMountSingular
+ __metaclass__ = PluginMountSingular # singular because we can only use one user store at a time