I have an INSTALLED_APPS setting which contains a dotted path to an AppConfig, like so:
INSTALLED_APPS = [
# some normal apps...,
'myproject.myapp.MyAppConfig',
# some more apps...,
]
Somehow the import_module inside the import_crud will raise an ImportError, even though Django manages to import it as an app. If we catch the ImportError here, crudbuilder will function as normal.
Coverage remained the same at 78.748% when pulling ebc64a0d193e510344c8478d57f0a9e6a09a0ab4 on wadevries:dotted-app-import into b38c3235ff07edcce191166b56231be4683400bb on asifpy:master.
Coverage remained the same at 78.748% when pulling ebc64a0d193e510344c8478d57f0a9e6a09a0ab4 on wadevries:dotted-app-import into b38c3235ff07edcce191166b56231be4683400bb on asifpy:master.
Coverage remained the same at 78.748% when pulling ebc64a0d193e510344c8478d57f0a9e6a09a0ab4 on wadevries:dotted-app-import into b38c3235ff07edcce191166b56231be4683400bb on asifpy:master.
Coverage remained the same at 78.748% when pulling 07aecfba8271999082edaf69461d3f972eb980bb on wadevries:dotted-app-import into b38c3235ff07edcce191166b56231be4683400bb on asifpy:master.
I have an
INSTALLED_APPS
setting which contains a dotted path to an AppConfig, like so:Somehow the
import_module
inside theimport_crud
will raise anImportError
, even though Django manages to import it as an app. If we catch theImportError
here,crudbuilder
will function as normal.Django docs on INSTALLED_APPS