Skip to content

Commit 815804b

Browse files
Merge pull request #26 from ekonstantinidis/add-demo-link
Add Demo Link to readme
2 parents 1f2d191 + eaa56fb commit 815804b

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# [Django Rest Framework Docs](http://www.drfdocs.com/) [![travis][travis-image]][travis-url] [![codecov][codecov-image]][codecov-url] [![pypi][pypi-image]][pypi-url]
22

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

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

tests/tests.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,7 @@ def test_index_view_with_endpoints(self):
4242
self.assertEqual(str(response.context["endpoints"][8].errors), "'test_value'")
4343

4444
def test_index_search_with_endpoints(self):
45-
url = "%s?search=reset-password" % reverse("drfdocs")
46-
print(url)
47-
response = self.client.get(url)
45+
response = self.client.get("%s?search=reset-password" % reverse("drfdocs"))
4846

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

0 commit comments

Comments
 (0)