Skip to content

Commit

Permalink
Merge pull request #19 from wadevries/dotted-app-import
Browse files Browse the repository at this point in the history
Fix ImportError when an INSTALLED_APP is a dotted path to an AppConfig
  • Loading branch information
asifpy authored Aug 2, 2016
2 parents b38c323 + 07aecfb commit b1ff1fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crudbuilder/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def import_crud(app):

try:
app_path = import_module(app).__path__
except AttributeError:
except (AttributeError, ImportError):
return None

try:
Expand Down

0 comments on commit b1ff1fa

Please sign in to comment.