Skip to content

Commit 2a7a1b2

Browse files
authored
Merge pull request #385 from sauerburger/fix-filter-users-doc-example
Users filter in docs should return collection
2 parents f5dc420 + 89c4683 commit 2a7a1b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ email address. Then we could do this:
255255
256256
try:
257257
profile = Profile.objects.get(email=email)
258-
return profile.user
258+
return [profile.user]
259259
260260
except Profile.DoesNotExist:
261261
return self.UserModel.objects.none()

0 commit comments

Comments
 (0)