Skip to content

Fix example of explicit format URL. #2670

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
merged 1 commit into from
Mar 11, 2015
Merged

Conversation

esmail
Copy link
Contributor

@esmail esmail commented Mar 11, 2015

The link is displayed in the tutorial as "http://example.com/api/items/4.json" but the hyperlink itself and what the example code actually works with are (in my opinion, less pretty) URLs like "http://example.com/api/items/4/.json".

The link is displayed in the tutorial as "http://example.com/api/items/4.json" but the hyperlink itself and what the example code actually works with are (in my opinion, less pretty) URLs like "http://example.com/api/items/4/.json".
tomchristie added a commit that referenced this pull request Mar 11, 2015
Fix example of explicit format URL.
@tomchristie tomchristie merged commit 64c44bf into encode:gh-pages Mar 11, 2015
@tomchristie
Copy link
Member

Thanks!

@esmail
Copy link
Contributor Author

esmail commented Mar 11, 2015

Oops. Just discovered the source file I actually should've edited (https://github.com/tomchristie/django-rest-framework/blob/master/docs/tutorial/2-requests-and-responses.md)... Going there now.

esmail added a commit to esmail/django-rest-framework that referenced this pull request Mar 11, 2015
Do what I meant to do in encode#2670:

The link is displayed in the tutorial as "http://example.com/api/items/4.json" but the hyperlink itself and what the example code actually works with are (in my opinion, less pretty) URLs like "http://example.com/api/items/4/.json".
@tomchristie
Copy link
Member

Urg yeah - I shoulda paid more attention :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants