#17750: User.get_profile() returns cached object when database object has changed ------------------------------+------------------------------------ Reporter: rjalves | Owner: nobody Type: New feature | Status: new Component: contrib.auth | Version: SVN Severity: Normal | Resolution: Keywords: | Triage Stage: Accepted Has patch: 1 | Needs documentation: 1 Needs tests: 0 | Patch needs improvement: 1 Easy pickings: 0 | UI/UX: 0 ------------------------------+------------------------------------ Changes (by claudep):
* needs_docs: => 1 * needs_better_patch: => 1 * needs_tests: => 0 * stage: Unreviewed => Accepted Comment: The tests should be moved to django/contrib/auth/tests/models.py.[[BR]] This needs a documentation update also, as get_profile is public API (https://docs.djangoproject.com/en/dev/topics/auth/#django.contrib.auth.models.User.get_profile) -- Ticket URL: <https://code.djangoproject.com/ticket/17750#comment:1> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.