django/tests/modeltests
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
..
basic Fixed #7718 -- Added a naive implementation of sorted() for Python 2.3 compatibility, and modified test cases to import the function when required. 2008-07-13 08:48:18 +00:00
choices
custom_columns
custom_managers
custom_methods
custom_pk
delete
empty Fixed #6068 -- Updated docstrings in model tests to make the documentation 2007-12-01 21:18:45 +00:00
field_defaults
field_subclassing
fixtures Removed the mysql_old backend. It smells bad and has no friends. 2008-07-18 17:38:53 +00:00
generic_relations
get_latest
get_object_or_404
get_or_create
invalid_models Merged the newforms-admin branch into trunk. 2008-07-18 23:54:34 +00:00
lookup Removed the mysql_old backend. It smells bad and has no friends. 2008-07-18 17:38:53 +00:00
m2m_and_m2o
m2m_intermediary
m2m_multiple
m2m_recursive
m2o_recursive
m2o_recursive2
manipulators
many_to_many
many_to_one 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
many_to_one_null
model_forms Reverted [7986]. 2008-07-19 22:26:32 +00:00
model_formsets 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
model_inheritance
mutually_referential
one_to_one
or_lookups Fixed #7718 -- Added a naive implementation of sorted() for Python 2.3 compatibility, and modified test cases to import the function when required. 2008-07-13 08:48:18 +00:00
order_with_respect_to Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +00:00
ordering
pagination Fixed test suite after [7687]. 2008-07-08 05:28:37 +00:00
properties
reserved_names
reverse_lookup
save_delete_hooks
select_related
serializers
signals
str
test_client 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
transactions Removed the mysql_old backend. It smells bad and has no friends. 2008-07-18 17:38:53 +00:00
update
user_commands
validation
__init__.py