Skip to content

Commit

Permalink
Actually use property properly
Browse files Browse the repository at this point in the history
  • Loading branch information
georgedorn committed Jun 26, 2017
1 parent c86092b commit ab261fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tastypie/compat.py
Expand Up @@ -21,7 +21,7 @@ def is_authenticated(user):
auth = user.is_authenticated
if django.VERSION < (1, 10):
return auth()
return auth()
return auth

def get_username_field():
return get_user_model().USERNAME_FIELD
Expand Down

0 comments on commit ab261fd

Please sign in to comment.