feat: upload a script PDF from the script pane
Backend: POST /api/projects/<id>/script/ (owner/collaborator) saves the script FileField and returns the refreshed detail. Frontend: when a project has no script, the script pane shows a PDF file picker that uploads on selection; the returned detail carries the new URL so the pane renders it. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
9c4b56dbc6
commit
b05b440922
6 changed files with 46 additions and 2 deletions
|
|
@ -9,5 +9,6 @@ urlpatterns = [
|
|||
path("projects/", views.projects),
|
||||
path("projects/<int:pk>/", views.project),
|
||||
path("projects/<int:pk>/scene/", views.scene),
|
||||
path("projects/<int:pk>/script/", views.script),
|
||||
path("projects/<int:pk>/revisions/", views.revisions),
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue