Skip to content

Commit

Permalink
Merge pull request #26 from ekonstantinidis/add-demo-link
Browse files Browse the repository at this point in the history
Add Demo Link to readme
  • Loading branch information
ekonstantinidis committed Dec 20, 2015
2 parents 1f2d191 + eaa56fb commit 815804b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
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

0 comments on commit 815804b

Please sign in to comment.