mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-04 20:40:14 +03:00
Remove redundant parentheses in return statement
This commit is contained in:
parent
1823662e1e
commit
a3d51a9350
|
@ -300,7 +300,7 @@ The following example will authenticate any incoming request as the user given b
|
|||
except User.DoesNotExist:
|
||||
raise exceptions.AuthenticationFailed('No such user')
|
||||
|
||||
return (user, None)
|
||||
return user, None
|
||||
|
||||
---
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user