#23621: Module autoreloading doesn't work due to some checks while loading an 
app
-------------------------------------+-------------------------------------
     Reporter:  pashinin             |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Core (Other)         |                  Version:  1.7
     Severity:  Normal               |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Ready for
    Has patch:  1                    |  checkin
  Needs tests:  0                    |      Needs documentation:  0
Easy pickings:  0                    |  Patch needs improvement:  0
                                     |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Loic Bistuer <loic.bistuer@…>):

 In [changeset:"7fa6781f818deea61cef4c13b139fa9586a6ca7a"]:
 {{{
 #!CommitTicketReference repository=""
 revision="7fa6781f818deea61cef4c13b139fa9586a6ca7a"
 [1.7.x] Fixed #23621 -- Warn for duplicate models when a module is
 reloaded.

 Previously a RuntimeError was raised every time two models clashed
 in the app registry. This prevented reloading a module in a REPL;
 while it's not recommended to do so, we decided not to forbid this
 use-case by turning the error into a warning.

 Thanks dfunckt and Sergey Pashinin for the initial patches.

 Backport of 8c4ca16c65 and b62f72498a from master
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/23621#comment:26>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.8d91dcf7acf4b0f8a10ce113f255a1c7%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to