0
0
mirror of https://github.com/django/django.git synced 2024-11-29 22:56:46 +01:00
django/tests/regressiontests
Malcolm Tredinnick 8c4a525871 Fixed #7177 -- Added extra robustness to the escapejs filter so that all
invalid characters are correctly escaped. This avoids any chance to inject raw
HTML inside <script> tags. Thanks to Mike Wiacek for the patch and Collin Grady
for the tests.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8577 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-26 07:56:32 +00:00
..
admin_ordering Merged the newforms-admin branch into trunk. 2008-07-18 23:54:34 +00:00
admin_registration Improved admin model registration options: you can now register using register(Model, **options) and even register(Model, ModelAdmin, **options). This isn't documented yet -- a much expanded version of docs/admin.txt is on the way. 2008-07-23 18:58:06 +00:00
admin_scripts Fixed #8268: Modified admin scripts tests to use JYTHONPATH when appropriate. Thanks to leosoto for the patch. 2008-08-16 02:29:10 +00:00
admin_views Fixed #8509: Cleaned up handling of test cookies in admin logins. Thanks to rajeshd for the report of a problem case. 2008-08-24 06:34:18 +00:00
admin_widgets Fixed #7250 -- Don't show internal data of a FileField in the admin when the form does not validate. This also alternatively fixes a recent problem since [8244] when the form is not valid. Thanks Marc Garcia for the initial ticket. 2008-08-10 01:07:40 +00:00
auth_backends Fixed #7304 -- Gave AnonymousUser a has_perms() method, which it was lacking 2008-07-22 03:05:40 +00:00
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 Refs #7742 -- Got bug639 regression tests using newforms instead of oldforms. 2008-08-11 15:24:46 +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 Refactored Django's comment system. 2008-08-25 22:14:22 +00:00
context_processors Fixed #8092, #3828 -- Removed dictionary access for request objects so that GET and POST data doesn't "overwrite" request attributes when used in templates (since dictionary lookup is performed before attribute lookup). This is backwards-incompatible if you were using the request object for dictionary access to the combined GET and POST data, but you should use request.REQUEST for that instead. 2008-08-03 19:55:26 +00:00
datastructures Fixed #7496 -- It's now possible to pickle SortedDicts with pickle protocol 2 2008-08-25 04:00:15 +00:00
datatypes
dateformat
datetime_safe Added missing files form [7946] 2008-07-18 17:39:31 +00:00
db_typecasts
decorators
defaultfilters Fixed #7743: Reverted [8483], which was itself a reversion of [8481], after confirmation from Malcolm. Corrected a long standing mistake in the timesince/timeuntil filters when using a parameter for 'now'. Thanks to Andrew Shearer <ashearerw@shearersoftware.com> for the report. 2008-08-25 12:31:10 +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 #8039 -- Make sure that extra(tables=...) tables are always included in 2008-08-17 22:38:36 +00:00
file_storage Fixed #8244: Modified the temporary directory used by file storage tests so that mutliple test runs can be performed in parallel without conflict. 2008-08-15 13:16:16 +00:00
file_uploads Fixed #8203 -- Fixed temporary file deleation on Windows and a couple of edge 2008-08-23 17:56:02 +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 #8425: removed the independant nations of Palau, Marshall Islands, and Micronesia from localflavor's list of US states. 2008-08-25 19:11:41 +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 Improved the regression test in [8460] a bit, based on some information from 2008-08-25 03:59:28 +00:00
humanize
i18n
initial_sql_regress
inline_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
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
many_to_one_regress Added tests for accessing nullable ForeignKey after saving and fetching from the database (refs #8093). 2008-08-03 03:03:46 +00:00
max_lengths Removed several deprecated features for 1.0 (refs #7830): 2008-08-02 04:56:11 +00:00
middleware Fixed #8381 -- Fixed a problem with appending slashes in the common middleware 2008-08-21 01:32:18 +00:00
model_fields Fixed #7920 -- Made tests compatible with Python 2.6's Decimal repr change, patch from Karen Tracey. 2008-08-02 04:48:14 +00:00
model_inheritance_regress Fixed #7853 -- Fixed another case of deleting inherited models with foreign key 2008-07-28 01:32:46 +00:00
model_inheritance_select_related Removed a stray debugging print that slipped in. 2008-06-29 09:40:48 +00:00
model_regress Fixed #8510 -- Allow both strings (mostly for the admin) and integers to be 2008-08-25 03:17:06 +00:00
modeladmin Fixed failing tests from [8352]. Thanks Alex Gaynor for the patch. 2008-08-14 21:03:44 +00:00
null_fk Fixed #7530, #7716 -- When using select_related() and encountering a NULL 2008-07-27 01:18:23 +00:00
null_queries
one_to_one_regress Fixed #8070 -- Cache related objects passed to Model init as keyword arguments. Also: 2008-08-01 23:16:59 +00:00
pagination_regress A few corrections to my docstrings in [8129]. 2008-07-28 20:35:39 +00:00
queries Hid a few QuerySet regression tests from Python 2.6 due to a bug in the the 2008-08-26 03:22:44 +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 #8106 -- Untangled some problems with complex select_related() queries 2008-08-25 22:43:25 +00:00
serializers_regress Fixed #8134 -- Corrected serialization of m2m fields with intermediate models. Thanks to Rock Howard for the report, and kire for the test case. 2008-08-12 12:58:33 +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 Fixed #8253: fixed xmlns regression for Atom feeds, and in the process added a hook for adding attributes specifically on the root <rss> element (for RSS feeds only, of course). Patch by Justin Bronn. 2008-08-12 22:12:14 +00:00
templates Fixed #7177 -- Added extra robustness to the escapejs filter so that all 2008-08-26 07:56:32 +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 Made the test case for doctest comparison of XML fragments a little more rigorous. Refs #7441. 2008-07-20 08:47:10 +00:00
text
urlpatterns_reverse Revert [7849] and [7850]. Brain failure on my part. 2008-07-06 14:20:30 +00:00
utils Removed some potentially misleading code (it isn't executed) after the changes 2008-07-23 04:41:53 +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