More views in DRF.
[wolnelektury.git] / src / api / tests / res / responses / collection.json
index 866abed..2992461 100644 (file)
@@ -1,22 +1,22 @@
 {
-    "url": "https://example.com/katalog/lektury/a-collection/", 
+    "url": "http://testserver/katalog/lektury/a-collection/",
     "books": [
         {
             "kind": "Liryka", 
             "full_sort_key": "john doe$parent$1", 
             "author": "John Doe", 
-            "url": "https://example.com/katalog/lektura/parent/", 
+            "url": "http://testserver/katalog/lektura/parent/",
             "cover_color": "#a6820a", 
             "title": "Parent", 
-            "cover": "https://example.com/media/cover/parent.jpg", 
+            "cover": "http://testserver/media/cover/parent.jpg",
             "liked": null, 
             "slug": "parent", 
             "epoch": "Barok", 
-            "href": "https://example.com/api/books/parent/", 
+            "href": "http://testserver/api/books/parent/",
             "genre": "Sonet", 
-            "simple_thumb": "https://example.com/media/cover_api_thumb/parent.jpg", 
+            "simple_thumb": "http://testserver/media/cover_api_thumb/parent.jpg",
             "has_audio": true, 
-            "cover_thumb": "https://example.com/media/cover/parent.jpg-139x193"
+            "cover_thumb": "http://testserver/media/cover/parent.jpg-139x193"
         }
     ], 
     "description": "Description",