fix master
authorRadek Czajka <rczajka@rczajka.pl>
Wed, 3 Apr 2024 08:40:39 +0000 (10:40 +0200)
committerRadek Czajka <rczajka@rczajka.pl>
Wed, 3 Apr 2024 08:40:39 +0000 (10:40 +0200)
src/archive/views.py

index cef9bbc..c4dde17 100644 (file)
@@ -315,7 +315,7 @@ def book_json(request, slug):
                 "youtube_status": item.get_youtube_status_display(),
                 "project": {
                     "name": item.project.name,
-                    "can_sell": item.can_sell,
+                    "can_sell": item.project.can_sell,
                 }
             }
             for item in qs