diff options
Diffstat (limited to 'djangorestframework/utils/breadcrumbs.py')
| -rw-r--r-- | djangorestframework/utils/breadcrumbs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/djangorestframework/utils/breadcrumbs.py b/djangorestframework/utils/breadcrumbs.py index 6cf978ed..fd966282 100644 --- a/djangorestframework/utils/breadcrumbs.py +++ b/djangorestframework/utils/breadcrumbs.py @@ -11,7 +11,7 @@ def get_breadcrumbs(url): try: (view, unused_args, unused_kwargs) = resolve(url) - except: + except Exception: pass else: # Check if this is a REST framework view, and if so add it to the breadcrumbs |
