Open GoogleCodeExporter opened 9 years ago
Original comment by albrecht.andi
on 16 Mar 2013 at 8:43
[deleted comment]
[deleted comment]
Issue.num_drafts uses Account.current_user_account. I want to get rid of this
class attribute, because it doesn't allow us to run in threaded mode and with
ndb we don't need to cache it ourselves anymore. The draft counting in
view._get_patchset_info() has direct access to the request and the current user
object instead. I'd do the refactoring at first to avoid migrating a already
redundant function that uses that Account.current_user_account magic.
Original comment by albrecht.andi
on 16 Mar 2013 at 11:36
Original issue reported on code.google.com by
albrecht.andi
on 16 Mar 2013 at 8:22