comment decorators

This commit is contained in:
Cayo Puigdefabregas 2021-12-28 11:46:17 +01:00
parent fb81edf799
commit 8aa997a2f6
1 changed files with 3 additions and 1 deletions

View File

@ -32,8 +32,10 @@ class LoginView(View):
return flask.render_template('ereuse_devicehub/user_login.html', form=form)
from flask import g, current_app as app
class UserProfileView(View):
decorators = [login_required]
# decorators = [login_required]
template_name = 'ereuse_devicehub/user_profile.html'
def dispatch_request(self):