Changes between Version 2 and Version 3 of Ticket #28241
- Timestamp:
- May 26, 2017, 5:57:04 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #28241
- Property Summary module_has_submodule raises exceptions in Python 3 → module_has_submodule() doesn't work correctly if the module_name argument is a dotted path
- Property Easy pickings unset
-
Ticket #28241 – Description
v2 v3 1 1 Hello, 2 2 3 Porting a django project from python 2.7 to 3.6, I noticed an issue with ` `utils.module_loading.module_has_submodule``. At some stage my project makes use of ``autodiscover_modules('module.submodule')`` to try and discover modules that are nested in my app.3 Porting a django project from python 2.7 to 3.6, I noticed an issue with `utils.module_loading.module_has_submodule`. At some stage my project makes use of `autodiscover_modules('module.submodule')` to try and discover modules that are nested in my app. 4 4 5 I'm using django 1.11.1, but this bug probably also affects 1.8 as the code of ` `module_has_submodule`` is the same.5 I'm using django 1.11.1, but this bug probably also affects 1.8 as the code of `module_has_submodule` is the same. 6 6 7 7 So here we go, with python 2.7 we have the expected behavior (taking contenttypes as an example app): … … 50 50 51 51 What are your thoughts ? 52 53