Skip to content
Browse files

Fixed #19632 -- Bug in code sample.

Thanks grossmanandy at bfusa com and Simon Charette.
  • Loading branch information...
1 parent 56f34f9 commit 1dd749284325ea8fe747a3728ed92bafef4ff6a0 @aaugustin aaugustin committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/topics/auth/default.txt
2 docs/topics/auth/default.txt
@@ -466,7 +466,7 @@ checks to make sure the user has an email in the desired domain::
from django.contrib.auth.decorators import user_passes_test
def email_check(user):
- return '' in
+ return '' in
def my_view(request):

0 comments on commit 1dd7492

Please sign in to comment.
Something went wrong with that request. Please try again.