diff options
Diffstat (limited to 'src/web/views')
-rw-r--r-- | src/web/views/views.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/web/views/views.py b/src/web/views/views.py index 4abea96e..17db8906 100644 --- a/src/web/views/views.py +++ b/src/web/views/views.py @@ -71,6 +71,7 @@ login_manager.login_view = 'login' logger = logging.getLogger(__name__) + # # Management of the user's session. # @@ -104,6 +105,7 @@ def load_user(id): # Return an instance of the User model return UserController().get(id=id) + # # Custom error pages. # @@ -145,6 +147,7 @@ def get_timezone(): except: return conf.TIME_ZONE["en"] + # # Views. # |