aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/utils/breadcrumbs.py
diff options
context:
space:
mode:
authorTom Christie2012-01-21 18:33:34 +0000
committerTom Christie2012-01-21 18:33:34 +0000
commitdea4a45ec72d0bd3cfeeb9382f177eb2fc3b0e14 (patch)
tree99c9824ee53d6e57546eceb3551546cf72585c85 /djangorestframework/utils/breadcrumbs.py
parenta851294d052174b53531fdf90b22ddac8738e374 (diff)
downloaddjango-rest-framework-dea4a45ec72d0bd3cfeeb9382f177eb2fc3b0e14.tar.bz2
pep8/pyflakes cleanup
Diffstat (limited to 'djangorestframework/utils/breadcrumbs.py')
-rw-r--r--djangorestframework/utils/breadcrumbs.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/djangorestframework/utils/breadcrumbs.py b/djangorestframework/utils/breadcrumbs.py
index fd966282..cfc63a47 100644
--- a/djangorestframework/utils/breadcrumbs.py
+++ b/djangorestframework/utils/breadcrumbs.py
@@ -1,6 +1,7 @@
from django.core.urlresolvers import resolve
from djangorestframework.utils.description import get_name
+
def get_breadcrumbs(url):
"""Given a url returns a list of breadcrumbs, which are each a tuple of (name, url)."""