From 7fa6781f818deea61cef4c13b139fa9586a6ca7a Mon Sep 17 00:00:00 2001 From: Loic Bistuer Date: Wed, 22 Oct 2014 23:16:32 +0700 Subject: [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 --- docs/releases/1.7.2.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') diff --git a/docs/releases/1.7.2.txt b/docs/releases/1.7.2.txt index 32500045f0..c25aafba1d 100644 --- a/docs/releases/1.7.2.txt +++ b/docs/releases/1.7.2.txt @@ -14,3 +14,7 @@ Bugfixes * Fixed a migration crash when adding an explicit ``id`` field to a model on SQLite (:ticket:`23702`). + +* Warn for duplicate models when a module is reloaded. Previously a +RuntimeError was raised every time two models clashed in the app registry. +(:ticket:`23621`). -- cgit v1.3