django/django
Malcolm Tredinnick 5141b67a19 Reverted [7986].
It turns out that we need to treat filename creation/display (in
particular, the upload_to path) differently depending upon whether the value is
out of the database or provided by other code and there's no reliable way to
determine that at the moment (although some later proposed changes might alter
that). So calling get_FIELD_filename on an unsaved model with a changed file
attribute will not necessarily return the same result as after the save().

Refs #5619. Fixed #7843.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7998 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19 22:26:32 +00:00
..
bin Fixed #5522 -- Moved make-messages, compile-messages and daily-cleanup into django-admin.py. 2008-07-06 06:39:44 +00:00
conf it translation: updated to r7996 2008-07-19 20:02:46 +00:00
contrib Fixed #7763 -- Added a Romanian localflavor. Thanks, MihaiD. 2008-07-19 19:22:44 +00:00
core Revert [7991] - [7993]. I was committing from the wrong branch. Sorry 'bout 2008-07-19 19:37:55 +00:00
db Reverted [7986]. 2008-07-19 22:26:32 +00:00
dispatch Fixed #5664 -- Added a Jython workaround for some assumptions in the signal 2007-10-21 18:26:24 +00:00
forms Fixed #4412 -- Added support for optgroups, both in the model when defining choices, and in the form field and widgets when the optgroups are displayed. Thanks to Matt McClanahan <cardinal@dodds.net>, Tai Lee <real.human@mrmachine.net> and SmileyChris for their contributions at various stages in the life of this ticket. 2008-07-19 07:53:02 +00:00
http Revert [7991] - [7993]. I was committing from the wrong branch. Sorry 'bout 2008-07-19 19:37:55 +00:00
middleware Fixed #7046 -- set the response status code correctly in ConditionalGetMiddleware. 2008-06-30 07:03:58 +00:00
newforms Fixed #7741: django.newforms is now django.forms. This is obviously a backwards-incompatible change. There's a warning upon import of django.newforms itself, but deeper imports will raise errors. 2008-07-19 01:22:26 +00:00
oldforms Fixed #7614: the quickening has come, and there now is only one UploadedFile. On top of that, UploadedFile's interface has been improved: 2008-07-07 23:16:00 +00:00
shortcuts Fixed #3511 -- Changed QuerySet.get() to return a MultipleObjectsReturned exception, rather than an assertion error. Thanks, Gary Wilson and cheeming. 2007-12-02 18:21:07 +00:00
template Fixed #7417 -- Fixed ReST error in do_if() docstring. Thanks, Richard Bell <rbell01824@earthlink.net> 2008-06-26 05:24:32 +00:00
templatetags Fixed #6201 -- Improved the {% cache %} template tag to allow the timeout to be a template variable. Inspired by the patch by zz and edrik 2008-06-26 04:54:10 +00:00
test Revert [7991] - [7993]. I was committing from the wrong branch. Sorry 'bout 2008-07-19 19:37:55 +00:00
utils Revert [7991] - [7993]. I was committing from the wrong branch. Sorry 'bout 2008-07-19 19:37:55 +00:00
views Fixed #7741: django.newforms is now django.forms. This is obviously a backwards-incompatible change. There's a warning upon import of django.newforms itself, but deeper imports will raise errors. 2008-07-19 01:22:26 +00:00
__init__.py Fixed django.VERSION after NFA merge. 2008-07-19 00:07:47 +00:00