forked from expo/troggle
webpage tests created (no database)
This commit is contained in:
@@ -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):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user