Opened 6 months ago

Closed 6 months ago

Last modified 6 months ago

#35447 closed Bug (needsinfo)

Request attribute upload handlers is immutable when method is POST

Reported by: matsony_15 Owned by: nobody
Component: Generic views Version: dev
Severity: Normal Keywords: UploadHandler
Cc: matsony_15 Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Hi, I`m trying to use custom upload handler as its mentioned here, but when request method == POST this upload_handlers is immutable.

Change History (3)

comment:1 by Natalia Bidart, 6 months ago

Resolution: needsinfo
Status: newclosed
Type: UncategorizedBug
Version: 4.2dev

Hello matsony_15! With the provided information it's hard to triage this ticket properly. I'm not sure what you mean with "this upload_handlers is immutable".

We would need detailed steps to reproduce the reported issue (a small Django test project would be ideal), and also a clear explanation of what's the expected outcome and what's the result you are getting and why that does not match your expectation.

Also please note that Django 4.2 is on security-fixes only mode so ideally we'd need confirmation that your issue is present in Django 5.0 and/or Django main branch.

Thank you!
Natalia.

comment:2 by matsony_15, 6 months ago

I created a test repo and provided some additional info in README.md here https://github.com/Smoooky/custom_upload_handler

comment:3 by matsony_15, 6 months ago

Also checked that issue is present in Django 5.0.

Note: See TracTickets for help on using tickets.
Back to Top