summaryrefslogtreecommitdiff
path: root/tests/regressiontests
AgeCommit message (Collapse)Author
2011-07-05Made cache table test case multidb capable. Refs #16411. Thanks, Russ.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16513 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-05Fixed test failure on Postgres that was added in r16510.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16512 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-05Fixed #16410 -- Fixed get_cache to behave gracefully when given a string ↵Jannis Leidel
that can't be split. Thanks, jedie. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16511 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-04Fixed #15255 -- Stopped database cache from ignoring database routers when ↵Jannis Leidel
creating the cache table. Thanks, aaugustin. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16510 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-04Fixed #16161 -- Added `--clear` option to `collectstatic` management command ↵Jannis Leidel
to be able to explicitly clear the files stored in the destination storage before collecting. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16509 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-04Removed superflous commented-out lines.Ramiro Morales
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16502 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-04Fixed #16332 -- Added language template tag that switches the activate ↵Jannis Leidel
language for the enclosed template section, e.g. to allow translation of URLs as added in r16405. Many thanks to Florian Apolloner and Orne Brocaar. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16501 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-03Fixed #16115 -- Added ModelAdmin.save_related method to be able to do pre- ↵Jannis Leidel
or post-save operations for objects related to the parent object currently displayed. Thanks, Julien Phalip. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16498 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-03Fixed #15820 -- Fixed the use of the InlineAdmin's get_formset method by ↵Jannis Leidel
actually passing in the obj. Thanks, Julien Phalip. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16497 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-03Fixed #14506 -- Added an assertion to XViewMiddleware about the dependency ↵Jannis Leidel
on the authentication middleware. Thanks, vanschelven. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16496 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-03Fixed #14608 -- Added phone number field to Indian local flavor. Thanks, ↵Jannis Leidel
lawgon and Julien Phalip. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16495 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-03Fixed #15750 -- Handle empty mail server credentials gracefully. Thanks, ↵Jannis Leidel
LeandroSouza and bedmondmark. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16494 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-30Fixed #16050 -- BACKWARDS-INCOMPATIBLE CHANGE: Moved static files of the ↵Jannis Leidel
admin to conventional file system location. This also removes the need for ADMIN_MEDIA_PREFIX and replaces it with the convention to find admin's static files at STATIC_URL + 'admin/'. Thanks to Jacob for the review and general help. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16487 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-28Fixed #15813 -- Updated Indian localflavor to use correct state choices and ↵Jannis Leidel
fixed various other bugs. Thanks, jsdalton. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16480 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-28Fixed #15785 -- Stopped HttpRequest.read() from reading beyond the end of a ↵Jannis Leidel
wsgi.input stream and removed some redundant code in the multipartparser. Thanks, tomchristie, grahamd and isagalaev. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16479 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-28Fixed #12761 -- Added Paraguayan local flavor. Thanks, dschulz and BernhardEssl.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16477 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-26Fixed #15669 -- Included app label in admin validation messages. Thanks, ↵Jannis Leidel
lamby and Jure Cuhalev. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16462 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-26Fixed #16230 -- Correctly escape errors message passed to ErrorDict. Thanks, ↵Jannis Leidel
Gregor Müllegger. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16461 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-26Fixed #16322 -- Fixed Accept-Language parsing to allow spaces around ↵Jannis Leidel
semicolons. Thanks, Max Arnold. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16457 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-25Fixed #15852 -- Modified cookie parsing so it can handle duplicate invalid ↵Ramiro Morales
cookie names. Thanks goes to Fredrik Stålnacke for the report and to vung for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16452 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-25Fixed #6189 -- Modified test that need Internet access so they use a mock ↵Ramiro Morales
instead. Thanks Gregor Müellegger for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16451 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-25Fixed #16338 -- Fixed Austrian postal codes validation. Thanks Bernhard Essl ↵Ramiro Morales
for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16447 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-22Fixed #16288 -- Enabled django.request exception logger regardless of DEBUG ↵Carl Meyer
setting. Thanks Matt Bennett for report and draft patch; Vinay Sajip and Russell Keith-Magee for review. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16444 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-19Fixed broken i18n tests after r16437.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16440 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-19Fixed #11065, #11285 -- Streamlined PostgreSQL version detection, fixing ↵Ramiro Morales
incompatibility with multi-db. Thanks findepi for the report. Changed our internal representation of the PostgreSQL version from tuples to integers as used by libpq and psycopg2. This simplifies version comparison operations. Also, using the associated libpq/psycopg2 API allows to remove the need for manually issuing in-band ``SELECT version()`` SQL queries to obtain the server version (or at least reduce its number if version of psycopg2 in use is older than 2.0.12). Refs #10509. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16439 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-17Backed out [16356] due to later rejection of #16182.Andrew Godwin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16426 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-16Fixed #8999 -- Removed useless code in handling of `exclude` option in ↵Ramiro Morales
ModelAdmin and InlineModelAdmin custom form(set) hooks. Thanks goes to seanl for the report, patch and bkonkle and Julien for further work on final patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16422 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-16Fixed #10802 -- Handle ImportErrors and AttributeErrors gracefully when ↵Jannis Leidel
raised by the URL resolver system during startup. Many thanks, IonelMaries and Bas Peschier. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16420 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-16Fixed #9588 -- Allow passing kwargs to `GenericInlineModelAdmin.get_formset` ↵Jannis Leidel
just like the InlineModelAdmin. Thanks, prestontimmons. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16419 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-16Fixed #12375 -- Added a dict() method to convert a MultiValueDict (such as a ↵Jannis Leidel
QueryDict) to a dictionary of key-value pairs. Thanks, oinopion and hvdklauw. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16418 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-16Fixed #14020 -- Made the `HttpResponse` class slightly more behave like a ↵Jannis Leidel
dictionary, allowing the alternative argument to be unset. Serious thanks to schmichael and moopet. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16417 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-16Fixed #15127 -- Properly copy the choices of choice fields. Thanks, dready ↵Jannis Leidel
and Julian Phalip. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16416 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-15Fixed #16275 -- Added __future__ import to support with statement. Thanks to ↵Russell Keith-Magee
Jonas Obrist for the report git-svn-id: http://code.djangoproject.com/svn/django/trunk@16406 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-15Fixed #11585 -- Added ability to translate and prefix URL patterns with a ↵Jannis Leidel
language code as an alternative method for language discovery. Many thanks to Orne Brocaar for his initial work and Carl Meyer for feedback. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16405 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-14Fixed naming of test methods for the sake of consistency.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16399 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-13Removed a name clash in a test method. Refs #16246.Ramiro Morales
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16392 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-12Fixed incompatibility (usage of class decorator) with Python 2.5 introduced ↵Ramiro Morales
in [16386]. Thanks ojii for the report via IRC. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16388 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-12Fixed broken test introduced in r16385.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16387 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-12Fixed #7836 -- Modified strategy used by the test client to check for ↵Ramiro Morales
session functionality so it is useful in environments where the DB-based session backend isn't being used. Thanks trevor for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16386 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-12Fixed #15856 -- Added Macedonian localflavor. Many thanks to vasiliyeah.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16385 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-12Fixed #12875 -- Added get_ordering to ModelAdmin. Many thanks to Manuel ↵Jannis Leidel
Saelices. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16383 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-12Fixed #12658 -- Fixed test discovery so ImportErrors aren't ignored when ↵Ramiro Morales
both `tests` and `models` are packages. Thanks schinckel for the report and boxm for a patch for the issue. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16382 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-11Fixed #16224 -- Fixed override_settings test utility to correctly work with ↵Jannis Leidel
TestCase classes. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16377 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-11Added file forgotten in r16369.Ramiro Morales
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16375 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-11Fixed #11989 -- Allow passing a Template instance to inclusion_tag. Thanks ↵Jannis Leidel
to Jeremy Dunck and tcoenen. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16374 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-11Fixed #12847 -- Added name parameter to simple_tag, assignment_tag and ↵Jannis Leidel
inclusion_tag helpers. Thanks, vladmos. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16373 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-11Fixed #14049 -- Made our TestCase subclasses not load database fixtures (nor ↵Ramiro Morales
set up custom URLconfs) for test methods that are going to be skipped. Thanks zimnyx for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16369 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-11Fixed #811 -- Added support for IPv6 to forms and model fields. Many thanks ↵Jannis Leidel
to Erik Romijn. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16366 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-10More removal of poorly legible constructs to workaround Python 2.4 shortcomings.Ramiro Morales
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16363 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-10Fixed #16182: Increase timestamp precision on TimestampSigner. Thanks to ↵Andrew Godwin
Eric Florenzano. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16356 bcc190cf-cafb-0310-a4f2-bffc1f526a37