#33172: Document CBV decoration for FIleUploadHandler
------------------------------------------------+------------------------
Reporter: Matthew Pava | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: dev
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
------------------------------------------------+------------------------
In this documentation, there is a very important and helpful note in
modifying upload handlers on the fly. However, it only covers how to
decorate the view when it is a function. It does not cover how to decorate
the view when it is a class. There are StackOverflow questions that answer
that, but it requires some digging. I would greatly appreciate anyone to
add guidance on how to change file upload handlers in a class-based view.
https://docs.djangoproject.com/en/dev/topics/http/file-uploads/#modifying-
upload-handlers-on-the-fly
--
Ticket URL: <https://code.djangoproject.com/ticket/33172>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/049.1bff05bbc5c89fdc30711e8f58235db3%40djangoproject.com.