Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Release 0.0.6 #52

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

Merged
manosim merged 3 commits into master from live-api-changes
Jan 23, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions README.md
View file Open in desktop
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# [Django Rest Framework Docs](http://www.drfdocs.com/) [![travis][travis-image]][travis-url] [![codecov][codecov-image]][codecov-url] [![pypi][pypi-image]][pypi-url]
# [DRF Docs](http://www.drfdocs.com/) [![travis][travis-image]][travis-url] [![codecov][codecov-image]][codecov-url] [![pypi][pypi-image]][pypi-url]

Document Web APIs made with Django Rest Framework. [View Demo](http://demo.drfdocs.com/)

![DRFdocs](http://drfdocs.com/static/images/mockup.png)
![DRFdocs](https://cloud.githubusercontent.com/assets/6333409/12533070/99e4818a-c21c-11e5-80a3-07ff4f0c7841.png)

### Supports

Expand All @@ -16,6 +16,7 @@ Document Web APIs made with Django Rest Framework. [View Demo](http://demo.drfdo
- [Installation](http://drfdocs.com/docs/installation/)
- [Settings](http://drfdocs.com/docs/settings/)
- [Extending the template](http://drfdocs.com/docs/templates/)
- [Live API Endpoints](http://drfdocs.com/docs/live-api/)
- [Contributing & Development](http://drfdocs.com/docs/contributing/)
- [Changelog](http://drfdocs.com/docs/changelog/)

Expand Down
2 changes: 1 addition & 1 deletion rest_framework_docs/__init__.py
View file Open in desktop
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.0.5'
__version__ = '0.0.6'
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ var Response = React.createClass({
}

var responseJSON = JSONpp.prettyPrint(this.state.payload.body);
var hasToken = this.state.payload.body.hasOwnProperty('token');
var hasToken = this.state.payload.body ? this.state.payload.body.hasOwnProperty('token') : false;
var statusText = this.state.payload.statusText.toLowerCase();
var statusCodeFirstChar = String(this.state.payload.status).charAt(0);
var statusCodeClass = 'label status-code pull-right status-code-' + statusCodeFirstChar;
Expand Down
View file Open in desktop

Large diffs are not rendered by default.

AltStyle によって変換されたページ (->オリジナル) /