fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Introduce DRF and start replacing the views.
[wolnelektury.git]
/
src
/
api
/
tests
/
res
/
responses
/
collection.json
diff --git
a/src/api/tests/res/responses/collection.json
b/src/api/tests/res/responses/collection.json
index
866abed
..
2992461
100644
(file)
--- a/
src/api/tests/res/responses/collection.json
+++ b/
src/api/tests/res/responses/collection.json
@@
-1,22
+1,22
@@
{
{
- "url": "http
s://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",
"books": [
{
"kind": "Liryka",
"full_sort_key": "john doe$parent$1",
"author": "John Doe",
- "url": "http
s://example.com/katalog/lektura/parent/",
+ "url": "http
://testserver/katalog/lektura/parent/",
"cover_color": "#a6820a",
"title": "Parent",
"cover_color": "#a6820a",
"title": "Parent",
- "cover": "http
s://example.com/media/cover/parent.jpg",
+ "cover": "http
://testserver/media/cover/parent.jpg",
"liked": null,
"slug": "parent",
"epoch": "Barok",
"liked": null,
"slug": "parent",
"epoch": "Barok",
- "href": "http
s://example.com/api/books/parent/",
+ "href": "http
://testserver/api/books/parent/",
"genre": "Sonet",
"genre": "Sonet",
- "simple_thumb": "http
s://example.com/media/cover_api_thumb/parent.jpg",
+ "simple_thumb": "http
://testserver/media/cover_api_thumb/parent.jpg",
"has_audio": true,
"has_audio": true,
- "cover_thumb": "http
s://example.com
/media/cover/parent.jpg-139x193"
+ "cover_thumb": "http
://testserver
/media/cover/parent.jpg-139x193"
}
],
"description": "Description",
}
],
"description": "Description",