Skip to content

Add Demo Link to readme #26

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 2 commits into from
Dec 20, 2015
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# [Django Rest Framework 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.
Document Web APIs made with Django Rest Framework. [View Demo](http://demo.drfdocs.com/)

![DRFdocs](http://drfdocs.com/static/images/mockup.png)

Expand Down
4 changes: 1 addition & 3 deletions tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ def test_index_view_with_endpoints(self):
self.assertEqual(str(response.context["endpoints"][8].errors), "'test_value'")

def test_index_search_with_endpoints(self):
url = "%s?search=reset-password" % reverse("drfdocs")
print(url)
response = self.client.get(url)
response = self.client.get("%s?search=reset-password" % reverse("drfdocs"))

self.assertEqual(response.status_code, 200)
self.assertEqual(len(response.context["endpoints"]), 2)
Expand Down