major: update to DjangoLDPv1

This commit is contained in:
Calum Mackervoy 2020-09-15 13:15:14 +00:00 committed by Jean-Baptiste Pasquier
parent 88201ee648
commit e3aa79d83b
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ class CurrentUserMiddleware:
# so no signal handler should be attached
return
if hasattr(request, 'user') and request.user.is_authenticated():
if hasattr(request, 'user') and request.user.is_authenticated:
user = request.user
else:
user = None

View File

@ -10,7 +10,7 @@ license = MIT
[options]
packages = find:
install_requires =
djangoldp~=0.7
djangoldp>=1.0.0
[options.extras_require]
include_package_data = True