summaryrefslogtreecommitdiffstats
path: root/helper/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'helper/__init__.py')
-rw-r--r--helper/__init__.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/helper/__init__.py b/helper/__init__.py
index 120be20..687b370 100644
--- a/helper/__init__.py
+++ b/helper/__init__.py
@@ -1,6 +1,9 @@
from django.contrib.auth.decorators import login_required
from django.conf import settings
-
+"""This enforces the login requirement for non-public pages using
+the decorator mechanism.
+https://www.fullstackpython.com/django-contrib-auth-decorators-login-required-examples.html
+"""
class login_required_if_public(object):