Pull requests

#52 Merged
Repository
GaretJax
Branch
default
Repository
chris1610
Branch
default

Only update threadlocals if the user has already been created.

Author
  1. Jonathan Stoppani
Reviewers
Description

Avoid to raise an exception when a user is not yet saved to the DB. This can happen when a third party application subclasses the User model and the data is inserted to the database using a fixture.

  • Learn about pull requests

Comments (0)