Skip to content
Snippets Groups Projects
Commit 36443163 authored by Calen Pennington's avatar Calen Pennington
Browse files

Force instantiation of the user before querying

Without accessing .pk, it's possible for the user object to still be a
SimpleLazyObject, which breaks Django's query engine

http://stackoverflow.com/questions/11875737/django-filtering-drafts-by-user-causes-error
parent f7700dfc
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment