#27052: Malformed url of uploaded files; uploaded_to parameter is ignored
-------------------------------------+-------------------------------------
     Reporter:  Laisvas              |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  File                 |                  Version:  1.10
  uploads/storage                    |
     Severity:  Normal               |               Resolution:  invalid
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by timgraham):

 * status:  new => closed
 * needs_docs:   => 0
 * resolution:   => invalid
 * needs_tests:   => 0
 * needs_better_patch:   => 0


Comment:

 You need to use `FieldFile` when interacting with `FileField` if you want
 `upload_to` to be respected. Please take a look at the
 [https://docs.djangoproject.com/en/dev/topics/files/ file topic guide] for
 an example. If you need help, take a look at
 TicketClosingReasons/UseSupportChannels for ways to get help. Thanks!

--
Ticket URL: <https://code.djangoproject.com/ticket/27052#comment:1>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.6b9cf6d97e86869f3dcda4425b7539f7%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to