1
0
mirror of https://github.com/django/django.git synced 2024-12-25 18:46:22 +00:00
django/tests/regressiontests
Malcolm Tredinnick bfcecbffd3 Changed/fixed the way Django handles SCRIPT_NAME and PATH_INFO (or
equivalents). Basically, URL resolving will only use the PATH_INFO and the
SCRIPT_NAME will be prepended by reverse() automatically. Allows for more
portable development and installation. Also exposes SCRIPT_NAME in the
HttpRequest instance.

There are a number of cases where things don't work completely transparently,
so mod_python and fastcgi users should read the relevant docs.

Fixed #285, #1516, #3414.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8015 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-21 07:57:10 +00:00
..
admin_ordering Merged the newforms-admin branch into trunk. 2008-07-18 23:54:34 +00:00
admin_scripts Refs #7745 -- Modified use of assertTrue to failUnless, because assertTrue isn't available in Python 2.3. Thanks to Karen Tracey for the report and patch. 2008-07-17 13:29:35 +00:00
admin_views Merged the newforms-admin branch into trunk. 2008-07-18 23:54:34 +00:00
admin_widgets Merged the newforms-admin branch into trunk. 2008-07-18 23:54:34 +00:00
auth_backends Changed the auth_backend tests in a cosmteic fashion so that they pass under Python 2.3 as well. 2007-10-20 08:15:42 +00:00
backends Fixed #6254: Made fetchone() in the oracle backend correctly convert 2008-01-04 22:51:22 +00:00
bug639 Fixed #2070: refactored Django's file upload capabilities. 2008-07-01 15:10:51 +00:00
cache Fixed #6099: the filebased cache backend now uses md5 hashes of keys instead of sanitized filenames. For good measure, keys are partitioned into subdirectories using the first few bits of the hash. Thanks, sherbang. 2007-12-04 18:03:56 +00:00
datastructures Fixed #2070: refactored Django's file upload capabilities. 2008-07-01 15:10:51 +00:00
datatypes Fixed #3689, #5223 -- Fixed "1st of January" comparisons for SQLite without breaking the other backends. 2008-02-23 08:36:41 +00:00
dateformat Fixed #6023 -- Fixed daylight savings determination for years beyond 2038 on 2007-11-29 19:39:46 +00:00
datetime_safe Added missing files form [7946] 2008-07-18 17:39:31 +00:00
db_typecasts
decorators Fixed a missing __init__.py from [7153] 2008-02-26 20:23:10 +00:00
defaultfilters 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
dispatch Fixed #7339 -- Added manual calls to the garbage collector. This is required for PyPy and Jython; these implementations don't use reference counting, so you can't rely on __del__ being run immediately after del is called. Thanks to Maciej Fijalkowski (fijal) and Leo Soto. 2008-07-20 06:32:54 +00:00
extra_regress Fixed a test case using extra sql that didnt fit Oracle syntax. 2008-07-03 19:02:43 +00:00
file_uploads Fixed #6450 -- Improved the checking of errors when creating the directories for saved files. Thanks to henry@precheur.org for the report and patch, and vung for the excellent test case. 2008-07-20 12:44:41 +00:00
fixtures_regress Fixed #7572 -- Force the closure of the database connection at the end of fixture loading as a workaround for MySQL bug #37735. Thanks to Simon Litchfield for his help in narrowing down this issue. 2008-06-30 12:18:29 +00:00
forms Corrected typo. 2008-07-21 03:50:40 +00:00
httpwrappers Fixed a Python 2.3 problem from [6927]. 2007-12-17 08:50:19 +00:00
humanize Implemented auto-escaping of variable output in templates. Fully controllable by template authors and it's possible to write filters and templates that simulataneously work in both auto-escaped and non-auto-escaped environments if you need to. Fixed #2359 2007-11-14 12:58:53 +00:00
i18n Tweaked an i18n test that is a bit sensitive to Python versions. It returns 2008-03-17 16:03:46 +00:00
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
mail Fixed #7773 -- Added some simple tests for EmailMessage. Thanks to serialx for the patch. 2008-07-19 02:38:41 +00:00
many_to_one_regress Fixed handling of multiple fields in a model pointing to the same related model. 2008-06-29 02:36:18 +00:00
max_lengths
maxlength Fixed #6122: Fixed tests broken by [6872]. Thanks, Matt. 2007-12-04 17:14:32 +00:00
middleware Fixed Python 2.3 problem I introduced all the way back in [6852]. :-( 2008-01-06 07:23:21 +00:00
model_fields Fixed #4485 -- Allow nullable DecimalFields to store NULLs. 2008-06-30 10:07:06 +00:00
model_inheritance_regress 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
model_inheritance_select_related Removed a stray debugging print that slipped in. 2008-06-29 09:40:48 +00:00
model_regress Added a test for month selection under SQLite in case an old possible bug ever 2008-03-24 14:19:12 +00:00
modeladmin 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
null_fk Fixed #7369: fixed a corner-case involving select_related() following non-null FKs after null ones. Thanks, George Vilches 2008-06-08 18:13:46 +00:00
null_queries Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +00:00
one_to_one_regress Fixed #6886: Tightened up ForeignKey and OneToOne field assignment. Specifically: 2008-06-05 00:39:32 +00:00
queries Fixed #7786 -- Removed some tests from running when using Python 2.3. 2008-07-16 23:55:10 +00:00
requests Changed/fixed the way Django handles SCRIPT_NAME and PATH_INFO (or 2008-07-21 07:57:10 +00:00
select_related_regress Renamed a field in a test case that was preventing the tests from 2008-07-02 16:59:17 +00:00
serializers_regress Fixed #7350, #7202 -- Fixed serialization for multi-model inheritance, which had multiple problems: 2008-06-09 14:03:35 +00:00
string_lookup Fixed #2170 -- "exact" lookups in MySQL are now case-sensitive (the same as other backends). 2008-06-30 10:25:35 +00:00
syndication Forgot to commit a new file from [7328]. 2008-03-20 06:56:46 +00:00
templates 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_client_regress Fixed #2070: refactored Django's file upload capabilities. 2008-07-01 15:10:51 +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 Fixed #5816 -- Fixed a regression from [6333] that generates incorrect cookie "expires" dates when using a locale other than English. Introduced http_date and cookie_date utility functions. Thanks for the report Michael Lemaire. Thanks for the patch Karen Tracey and SmileyChris. 2007-10-31 03:59:40 +00:00
urlpatterns_reverse Revert [7849] and [7850]. Brain failure on my part. 2008-07-06 14:20:30 +00:00
utils 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
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