fnp
/
audio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d950c5
)
Share project info.
author
Radek Czajka
<rczajka@rczajka.pl>
Wed, 3 Apr 2024 08:26:17 +0000
(10:26 +0200)
committer
Radek Czajka
<rczajka@rczajka.pl>
Wed, 3 Apr 2024 08:26:17 +0000
(10:26 +0200)
src/archive/views.py
patch
|
blob
|
history
diff --git
a/src/archive/views.py
b/src/archive/views.py
index
b4a3696
..
cef9bbc
100644
(file)
--- a/
src/archive/views.py
+++ b/
src/archive/views.py
@@
-313,6
+313,10
@@
def book_json(request, slug):
"mp3_status": item.get_mp3_status_display(),
"ogg_status": item.get_ogg_status_display(),
"youtube_status": item.get_youtube_status_display(),
+ "project": {
+ "name": item.project.name,
+ "can_sell": item.can_sell,
+ }
}
for item in qs
]