1
0
mirror of https://github.com/django/django.git synced 2024-12-25 10:35:48 +00:00
django/tests/regressiontests
Jacob Kaplan-Moss 4aa97f5c18 Fixed #6398: added an optional {% empty %} clause to the {% for %} template tag. The contents of this clause are rendered if the list iterated over turns out to be empty. Thanks, Jannis Leidel.
Astute readers will notice that the patch originally called this `default`; after consideration I decided that `empty` is a very slightly better color for this particular bikeshed.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9530 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-24 22:01:48 +00:00
..
admin_ordering
admin_registration
admin_scripts Fixed #9293: Corrected expected test output for the admin_scripts tests, following the changes to --verbosity in 9110. Thanks to Alex for the report. 2008-10-04 01:16:30 +00:00
admin_validation Fixed #8027: correctly validate fields/fieldsets in ModelAdmin validation when using custom ModelForms. 2008-08-28 15:43:04 +00:00
admin_views Fixed #8910 -- Added force_unicode during admin log message creation to avoid triggering a Python 2.3 bug. Thanks for the report joshg and patch nfg. 2008-11-10 17:13:41 +00:00
admin_widgets Fixed #9258 -- Use _default_manager in ForeignKeyRawIdWidget.label_for_value. Thanks nullie for the patch. 2008-11-15 02:20:00 +00:00
auth_backends
backends
bug639 Updated a few save() methods on models to accept force_insert and force_update 2008-08-28 19:28:17 +00:00
cache More be-nice-to-the-buildbot: be better about cleaning up files created by the cache/session tests. 2008-10-10 21:41:12 +00:00
comment_tests Add internationalisation support to the comment templates. Fixed #8868, #8905 2008-10-05 05:09:21 +00:00
context_processors
datastructures Fixed #7496 -- It's now possible to pickle SortedDicts with pickle protocol 2 2008-08-25 04:00:15 +00:00
datatypes Fixed #8354: the MySQL backend no longer raises a cryptic error. Instead, it raises a less-cryptic error. Obiously this isn't a perfect solution by any means, but it'll do until we can revisit timezone handling in the future. 2008-09-01 17:48:39 +00:00
dateformat
datetime_safe
db_typecasts
decorators
defaultfilters Fixed #5748 -- Made floatformat filter round properly on all platforms and handle NaN input correctly on Windows. Also added tests for these cases. Thanks for the report and initial patch to SmileyChris and PJCrosier. 2008-11-08 01:44:46 +00:00
dispatch
extra_regress Fixed Queryset.dates() in the presence of extra-select columns. 2008-09-28 04:36:10 +00:00
file_storage Yet more file storage testing cleanup for the sake of buildbots; this should be the last of it, I hope. 2008-10-10 22:13:16 +00:00
file_uploads Fixed #8622: accessing POST after a POST handling exception no longer throws the server into an infinite loop. Thanks to vung for tracking this one down and fixing it. 2008-08-30 19:56:14 +00:00
fixtures_regress Added new fixture file accidentally left out of [9357]. 2008-11-06 11:21:06 +00:00
forms Add tests mistakenly left out of r9397. 2008-11-10 20:01:51 +00:00
generic_inline_admin Fixed #9592 -- Create data for the generic_inline_admin test during setup instead of via a fixutre since it uses a content type id which will vary depending on what other tests have been run. 2008-11-14 14:47:46 +00:00
get_or_create_regress
httpwrappers Fixed #8278: fixed QueryDict.update(QueryDict). Thanks, julien. 2008-08-29 16:49:19 +00:00
humanize
i18n
initial_sql_regress
inline_formsets Fixed #9171 -- Fixed a few places where we were assuming lists instead of 2008-09-27 05:57:10 +00:00
m2m_regress [8721] introduced some internal field names. We hide them from the list of 2008-08-30 04:52:56 +00:00
m2m_through_regress Added a test to show that [8472] also fixed #8254. 2008-08-24 17:54:51 +00:00
mail Fixed #9383 -- Don't open a network connection for sending email if there's 2008-10-24 04:38:43 +00:00
managers_regress Fixed #7154 -- Inherit all model managers from abstract base classes. 2008-09-02 09:04:54 +00:00
many_to_one_regress Added a test from kcarnold to show that #7498 is fixed. Refs #7498. 2008-08-27 05:44:26 +00:00
max_lengths
middleware The tests added in r9184 were altering the test environment in bad ways. Fixed 2008-10-08 08:36:41 +00:00
model_fields Fixed #5079 -- Avoid converting Decimals to floats during save to the database. 2008-11-12 00:35:24 +00:00
model_forms_regress Fixed #9319 -- Fixed a crash when using the same model field in multiple 2008-10-08 10:09:44 +00:00
model_inheritance_regress Fixed #9406 -- Ensure that each database column is only represented once in the 2008-10-24 06:09:47 +00:00
model_inheritance_select_related
model_regress Fixed #9608: Ensured a Model's default repr() is printable even if its __unicode__ method raises a Unicode error. 2008-11-16 18:58:43 +00:00
modeladmin Fixed #9171 -- Fixed a few places where we were assuming lists instead of 2008-09-27 05:57:10 +00:00
null_fk
null_fk_ordering Fixed #7512 -- Fixed an oversight when I first fixed ordering on nullable 2008-09-01 02:43:55 +00:00
null_queries
one_to_one_regress
pagination_regress
queries Fixed #9411 -- Changed the test from r9081 to be more robust across different database backends. 2008-10-24 06:24:04 +00:00
requests
reverse_single_related
select_related_regress Fixed #8036 -- Fixed a case when attempting to traverse non-existent related 2008-08-26 20:44:20 +00:00
serializers_regress Fixed #8210 and #8664: moved USStateField and PhoneNumberField to django.contrib.localflavor.us. This is a backwards-incompatible change, albeit a minor one; just add an aditional import and go on your way. 2008-09-01 22:15:35 +00:00
string_lookup
syndication Added a test to ensure that strings in RSS are properly escaped. Refs #6533. 2008-08-27 19:52:27 +00:00
templates Fixed #6398: added an optional {% empty %} clause to the {% for %} template tag. The contents of this clause are rendered if the list iterated over turns out to be empty. Thanks, Jannis Leidel. 2008-11-24 22:01:48 +00:00
test_client_regress Fixed #9351 -- Modified the test client to pass on URL encoded parameters to the underlying views. Thanks to sime for the suggestion. 2008-11-12 11:22:05 +00:00
test_utils
text
urlpatterns_reverse Fixed another case of reverse URL resolving that wasn't working. 2008-09-30 05:52:35 +00:00
utils Fixed #7201 -- Fixed the timeuntil filter to work correctly with timezone-aware 2008-08-26 08:08:55 +00:00
views
__init__.py