Using Piston auth in DRF views. Replacing API views.
[wolnelektury.git] / src / api / tests / res / responses / books-grandchild.json
index 5d407b8..b7dd9da 100644 (file)
@@ -4,35 +4,35 @@
         "html": "Fragment", 
         "title": "Parent, Child"
     }, 
-    "txt": "https://example.com/katalog/pobierz/grandchild.txt", 
+    "txt": "http://testserver/katalog/pobierz/grandchild.txt",
     "children": [], 
-    "xml": "https://example.com/katalog/pobierz/grandchild.xml", 
+    "xml": "http://testserver/katalog/pobierz/grandchild.xml",
     "genres": [
         {
-            "url": "https://example.com/katalog/gatunek/sonet/", 
-            "href": "https://example.com/api/genres/sonet/", 
+            "url": "http://testserver/katalog/gatunek/sonet/",
+            "href": "http://testserver/api/genres/sonet/",
             "name": "Sonet", 
             "slug": "sonet"
         }
     ], 
     "title": "Grandchild", 
     "media": [], 
-    "html": "https://example.com/katalog/pobierz/grandchild.html", 
+    "html": "http://testserver/katalog/pobierz/grandchild.html",
     "preview": true, 
-    "fb2": "https://example.com/katalog/pobierz/grandchild.fb2", 
+    "fb2": "http://testserver/katalog/pobierz/grandchild.fb2",
     "kinds": [], 
     "parent": {
         "kind": "", 
         "full_sort_key": "$child$2", 
         "author": "", 
-        "url": "https://example.com/katalog/lektura/child/", 
+        "url": "http://testserver/katalog/lektura/child/",
         "cover_color": "#000000", 
         "title": "Child", 
         "cover": "", 
         "liked": null, 
         "slug": "child", 
         "epoch": "", 
-        "href": "https://example.com/api/books/child/", 
+        "href": "http://testserver/api/books/child/",
         "genre": "Wiersz", 
         "simple_thumb": "", 
         "has_audio": false, 
     "simple_cover": "", 
     "authors": [], 
     "audio_length": "", 
-    "epub": "https://example.com/katalog/pobierz/grandchild.epub", 
+    "epub": "http://testserver/katalog/pobierz/grandchild.epub",
     "cover_thumb": "", 
-    "mobi": "https://example.com/katalog/pobierz/grandchild.mobi", 
-    "url": "https://example.com/katalog/lektura/grandchild/", 
+    "mobi": "http://testserver/katalog/pobierz/grandchild.mobi",
+    "url": "http://testserver/katalog/lektura/grandchild/",
     "cover": "", 
-    "pdf": "https://example.com/katalog/pobierz/grandchild.pdf", 
+    "pdf": "http://testserver/katalog/pobierz/grandchild.pdf",
     "simple_thumb": ""
 }