From 09b92858d9a7d02a1c2b3095d6acef245de3917a Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Fri, 25 Mar 2016 04:08:25 -0400 Subject: [PATCH] Raise MayanAppConfig initialization exception if they are not bening about missing URLs. --- mayan/apps/common/apps.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mayan/apps/common/apps.py b/mayan/apps/common/apps.py index a514036aff..457ecc2073 100644 --- a/mayan/apps/common/apps.py +++ b/mayan/apps/common/apps.py @@ -61,6 +61,8 @@ class MayanAppConfig(apps.AppConfig): 'App %s doesn\'t have URLs defined. Exception: %s', self.name, exception ) + if 'No module named urls' not in unicode(exception): + raise exception class CommonApp(MayanAppConfig):