Commit 13a3c993 by Tom Christie

Fix incorrect example

parent 8d83ff8e
...@@ -92,7 +92,8 @@ May be overridden to provide dynamic behavior such as returning a queryset that ...@@ -92,7 +92,8 @@ May be overridden to provide dynamic behavior such as returning a queryset that
For example: For example:
def get_queryset(self): def get_queryset(self):
return self.user.accounts.all() user = self.request.user
return user.accounts.all()
#### `get_object(self)` #### `get_object(self)`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment