Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-rest-framework
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
django-rest-framework
Commits
d7c08222
Commit
d7c08222
authored
May 07, 2013
by
Tom Christie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix breadcrumb rendering issue
parent
ed2cf180
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
2 deletions
+9
-2
docs/topics/release-notes.md
+6
-0
rest_framework/__init__.py
+1
-1
rest_framework/utils/breadcrumbs.py
+2
-1
No files found.
docs/topics/release-notes.md
View file @
d7c08222
...
...
@@ -40,6 +40,12 @@ You can determine your currently installed version using `pip freeze`:
## 2.3.x series
### 2.3.1
*
*Date
**
:
7th May 2013
*
Bugfix
:
Fix breadcrumb rendering issue.
### 2.3.0
*
*Date
**
:
7th May 2013
...
...
rest_framework/__init__.py
View file @
d7c08222
__version__
=
'2.3.
0
'
__version__
=
'2.3.
1
'
VERSION
=
__version__
# synonym
...
...
rest_framework/utils/breadcrumbs.py
View file @
d7c08222
...
...
@@ -24,7 +24,8 @@ def get_breadcrumbs(url):
else
:
# Check if this is a REST framework view,
# and if so add it to the breadcrumbs
if
issubclass
(
getattr
(
view
,
'cls'
,
None
),
APIView
):
cls
=
getattr
(
view
,
'cls'
,
None
)
if
cls
is
not
None
and
issubclass
(
cls
,
APIView
):
# Don't list the same view twice in a row.
# Probably an optional trailing slash.
if
not
seen
or
seen
[
-
1
]
!=
view
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment