1
0
mirror of https://github.com/django/django.git synced 2024-12-26 11:06:07 +00:00
django/tests/regressiontests
Malcolm Tredinnick 8fb1459b52 Added some better error reporting and path handling when creating template paths.
We now raise UnicodeDecodeError for non-UTF-8 bytestrings (thanks to Daniel
Pope for diagnosing this was being swallowed by ValueError) and allow UTF-8
bytestrings as template directories.

Refs #8965.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9161 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 06:34:54 +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 Security fix. Announcement forthcoming. 2008-09-02 21:10:00 +00:00
admin_widgets Fixed #8787 -- Fixed failing admin_widgets tests. This fixes ManyToManyRawIdWidget which was broken with [8823]. Thanks Alex Gaynor. 2008-09-02 06:10:14 +00:00
auth_backends
backends Fixed #5461 -- Refactored the database backend code to use classes for the creation and introspection modules. Introduces a new validation module for DB-specific validation. This is a backwards incompatible change; see the wiki for details. 2008-08-11 12:11:25 +00:00
bug639 Updated a few save() methods on models to accept force_insert and force_update 2008-08-28 19:28:17 +00:00
cache Added a return value to the add() method for caches. It's now possible to tell 2008-08-10 03:52:21 +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 Cleaned up some tests I broke as a result of the escapejs changes in [8577]. 2008-08-26 20:51:45 +00:00
dispatch Major refactoring of django.dispatch with an eye towards speed. The net result is that signals are up to 90% faster. 2008-08-06 15:32:46 +00:00
extra_regress Fixed Queryset.dates() in the presence of extra-select columns. 2008-09-28 04:36:10 +00:00
file_storage Fixed #8454: added a FILE_UPLOAD_PERMISSIONS setting to control the permissoin of files uploaded by the built-in file storage system. Thanks, dcwatson. 2008-08-27 22:21:14 +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 Fixed #8298: Added a to_python method for integer fields. This ensures that the data from deserialized instances is of correct type prior to saving. Thanks to Andrew Badr for the report. 2008-08-24 08:12:13 +00:00
forms Fixed #9259 -- Fixed a validation error for Spanish identity card numbers. 2008-10-05 05:59:04 +00:00
get_or_create_regress Fixed #3121 -- Made get_or_create() work for RelatedManager and ManyRelatedManager. 2008-08-16 20:59:06 +00:00
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 #8511: Removed some tests that were failing on Python 2.4, but weren't really contributing anything anyway. Thanks to jarrow for the report. 2008-08-24 05:06:17 +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 Fixed #8381 -- Fixed a problem with appending slashes in the common middleware 2008-08-21 01:32:18 +00:00
model_fields Fixed #8101 -- Allow the strings '1' and '0' as filter values for boolean 2008-08-29 02:40:56 +00:00
model_inheritance_regress Fixed #7588 -- Inherit fields from concrete ancestor classes via abstract base 2008-09-03 18:38:43 +00:00
model_inheritance_select_related
model_regress Fixed #8316 -- Put tighter restrictions on the type of Foreign Key fields 2008-09-01 00:49:03 +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 a missing variable initialisation deep in the Query bowels. 2008-09-22 00:31:22 +00:00
requests Fixed #7494 -- Fixed build_absolute_url() for some types of (uncommon) URLs. 2008-08-23 17:28:12 +00:00
reverse_single_related Fixed #7904: added support for a "use_for_related_fields" property on managers. If True, the manager will be used for related object lookups instead of the "bare" QuerySet introduced bu [8107]. Patch from Justin Bronn. 2008-08-05 16:13:28 +00:00
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 Changed "exact" matches in MySQL to use the database's native collation. 2008-08-12 07:52:33 +00:00
syndication Added a test to ensure that strings in RSS are properly escaped. Refs #6533. 2008-08-27 19:52:27 +00:00
templates Added some better error reporting and path handling when creating template paths. 2008-10-06 06:34:54 +00:00
test_client_regress Fixed #8136: Added a signal emission when an error is raised handling an error. This was required for the test client to handle missing 404.html templates and errors in the 404.html template. Thanks to danfairs for the report and fix. 2008-08-22 13:59:41 +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 Fixed #7602 -- Corrected lookup keyword arguments in archive_month and archive_week to properly range when date_field is from DateField. Thanks nullie for the original patch and Colin Grady for the test coverage. 2008-08-23 04:46:33 +00:00
__init__.py