#19698: Deleting Sites through a manager does not clear cache
-------------------------------------+-------------------------------------
     Reporter:  ddavies@…            |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  contrib.sites        |                  Version:  1.4
     Severity:  Normal               |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Ready for
    Has patch:  1                    |  checkin
  Needs tests:  0                    |      Needs documentation:  0
Easy pickings:  1                    |  Patch needs improvement:  0
                                     |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

 In [changeset:"777b4c26e343d07764a35132462e92c07e4b0aec"]:
 {{{
 #!CommitTicketReference repository=""
 revision="777b4c26e343d07764a35132462e92c07e4b0aec"
 Removed a clear_cache statement in contrib.sites.create_default_site.

 It was originally added to fix a test (refs #7514); but Site now has a
 pre_save signal handler (refs #19698) to clear the cache which makes
 this call redundant.
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/19698#comment:6>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/077.5f7bf345bda230721181b3d031dc6619%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to