Re: [Django] #10410: FileField saves one filename on disk and another on DB

4 views
Skip to first unread message

Django

unread,
Aug 16, 2014, 12:25:00 PM8/16/14
to django-...@googlegroups.com
#10410: FileField saves one filename on disk and another on DB
-------------------------------------+-------------------------------------
Reporter: Elland | Owner: peterbe
Type: Uncategorized | Status: closed
Component: File | Version:
uploads/storage | Resolution:
Severity: Normal | worksforme
Keywords: FileField valid | Triage Stage: Accepted
filename | Needs documentation: 0
Has patch: 0 | Patch needs improvement: 0
Needs tests: 0 | UI/UX: 0
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Changes (by m1ndpixel):

* ui_ux: => 0
* type: => Uncategorized
* severity: => Normal
* easy: => 0


Comment:

Sounds like the bug reports are referring to this:

https://github.com/django/django/blob/master/django/utils/text.py#L234
and
https://github.com/django/django/blob/master/django/core/files/storage.py#L65

--
Ticket URL: <https://code.djangoproject.com/ticket/10410#comment:10>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Aug 17, 2014, 8:52:38 PM8/17/14
to django-...@googlegroups.com
#10410: FileField saves one filename on disk and another on DB
-------------------------------------+-------------------------------------
Reporter: Elland | Owner: peterbe
Type: Uncategorized | Status: closed
Component: File | Version:
uploads/storage | Resolution:
Severity: Normal | worksforme
Keywords: FileField valid | Triage Stage: Accepted
filename | Needs documentation: 0
Has patch: 0 | Patch needs improvement: 0
Needs tests: 0 | UI/UX: 0
Easy pickings: 0 |
-------------------------------------+-------------------------------------

Comment (by collinanderson):

Is this still an issue now that `upload_to` is optional?

--
Ticket URL: <https://code.djangoproject.com/ticket/10410#comment:11>

Reply all
Reply to author
Forward
0 new messages