#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:  0
  Needs tests:  0             |  Patch needs improvement:  1
Easy pickings:  0             |                    UI/UX:  0
------------------------------+------------------------------------

Comment (by claudep):

 Thanks for the doc part. But please, merge both patches into one.

 You are right in that we cannot create new models for contrib tests, so I
 think we should create a new test directory in
 tests/regressiontests/user_profile/...

 In the documentation, you should also add the "{{{.. versionchanged::
 1.5}}}" mark to indicate this was a new addition (as a new feature, it
 will be too late to be included in 1.4).

-- 
Ticket URL: <https://code.djangoproject.com/ticket/17750#comment:3>
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.

Reply via email to