New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Django 1.7 SimpleAdminConfig use import error fix #252

Merged
merged 2 commits into from Apr 27, 2014
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Diff settings

Always

Just for now

Viewing a subset of changes. View all
Prev

Python3 exception handling syntax fix

  • Loading branch information...
fallenflint committed Feb 21, 2014
commit b37a0d770f5d61c2ac83190aa8e09407d2ad5a98
@@ -231,7 +231,7 @@ def _autodiscover(registry):
for app in settings.INSTALLED_APPS:
try:
mod = import_module(app)
except ImportError, e:
except ImportError:
#not all entries in INSTALLED_APPS are have to be modules
continue
# Attempt to import the app's admin module.
ProTip! Use n and p to navigate between commits in a pull request.