kumar303 / hawkrest

Hawk HTTP Authorization for Django Rest Framework
BSD 3-Clause "New" or "Revised" License
19 stars 8 forks source link

Make is_authenticated() and is_anonymous() attributes for Django 1.10 compatibility #24

Closed edmorley closed 7 months ago

edmorley commented 8 years ago

In Django 1.10, AbstractBaseUser has had its is_authenticated() and is_anonymous() methods converted to attributes.

As such, HawkAuthenticatedUser will need updating to match.

See: https://code.djangoproject.com/ticket/25847 https://github.com/django/django/commit/c1aec0feda73ede09503192a66f973598aef901d