summaryrefslogtreecommitdiff
path: root/tests/regressiontests
AgeCommit message (Collapse)Author
2011-04-25Fixes #15892 -- Duplicate 'settings' import (and some unused imports) in ↵Chris Beaven
settings_tests. Thanks Shawn Milo. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16102 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-23Fixed #15688 - Generic views should provide a HEAD implementationLuke Plant
Thanks to j4mie for the report and patch! git-svn-id: http://code.djangoproject.com/svn/django/trunk@16095 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-23Fixed #15819 - Fixed 1.3 regression from r15526 causing duplicate search ↵Carl Meyer
results in admin with search_fields traversing to non-M2M related models. Thanks to Adam Kochanowski for the report and Ryan Kaskel for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16093 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-22Fixed #13584 -- Optionally allow empty files with django.forms.FileField. ↵Chris Beaven
Thanks for the patch erickr and closedbracket. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16090 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-22Fixed #14729 -- RawQuerySet.__repr__ fails when params passed as list. ↵Jannis Leidel
Thanks, intgr for ticket and accuser for patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16088 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-22Fixed #15008 -- Replaced all calls in the admin to render_to_response with ↵Jannis Leidel
TemplateResponses for easier customization. Thanks to Chris Adams for the initial patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16087 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-22Fixed #15672 -- Refined changes made in r15918. Thanks, vung.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16082 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-22Fixed #14091 - be more correct about logging queries in connection.queries.Jacob Kaplan-Moss
Thanks to Aymeric Augustin for figuring out how to make this work across multiple databases. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16081 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-22Fixed #15698 -- Fixed inconsistant handling of context_object_name in ↵Jannis Leidel
paginated MultipleObjectMixin views. Thanks, Dave Hall. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16079 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-22Fixed #15673 -- Allow limit_choices_to to use a tuple for __in filters. ↵Jannis Leidel
Thanks, EnTeQuAk. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16078 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-22Fixed #15705 -- Added Croatian (hr) localflavor. Thanks, Zlatko Mašek and ↵Jannis Leidel
Julien Phalip. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16077 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-22Fixed #15013 -- Added Russian (ru) localflavor package. Thanks, blackraven ↵Jannis Leidel
and Julien Phalip. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16076 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-22Fixed #15662 -- Made sure the module_has_submodule utility function follow ↵Jannis Leidel
correct PEP 302, passing the package as the second argument to the find_module method of the importer. Thanks, Bradley Ayers. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16075 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-22Fixed #13810 -- Truncate numbers correctly when given number of decimal ↵Jannis Leidel
positions is zero. Thanks, milosu and Łukasz Rekucki. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16074 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-22Fixed #13689 -- Convert the per_page value to an integer upon initialization ↵Jannis Leidel
of the Paginator class to prevent unpleasant TypeErrors. Thanks, rbanffy, Eric Florenzano and Claude Paroz. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16073 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-22Fixed #11321 -- Handle timezones correctly in conjunction with naturalday ↵Jannis Leidel
filter. Thanks, aarond10 and seocam. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16072 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-22Fixed #12771 -- Added naturaltime filter to humanize contrib app. Thanks, ↵Jannis Leidel
phinpho, djansoft and xtrqt. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16071 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-22Fixed #12379 -- Added Chinese (cn) localflavor package. Thanks, Xia Kai, ↵Jannis Leidel
Daniel Duan, DaNmarner and Łukasz Rekucki. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16070 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-22Fixed #11639, #13618 -- Added get_prepopulated_fields method to ModelAdmin ↵Jannis Leidel
and InlineModelAdmin to be able to handle prepopulated fields on a case-by-case basis. Thanks, leanmeandonothingmachine. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-22Fixed #11251 -- Extended Australian localflavor to ship a few model fields ↵Jannis Leidel
additionally. Thanks, Simon Meers and Julien Phalip. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16066 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-22Fixed #9089 -- Correctly handle list values in MultiValueDict instances when ↵Jannis Leidel
passed to django.utils.http.urlencode. Thanks, kratorius, guettli and obeattie. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16064 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-20Fixed #15866, #15850 -- Prevented get_model() and get_models() from ↵Carl Meyer
returning not-installed models (by default). Thanks adsva for report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16053 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-19Fixed #15791 - method to signal that callable objects should not be called ↵Luke Plant
in templates Thanks to ejucovy for the suggestion and patch! git-svn-id: http://code.djangoproject.com/svn/django/trunk@16045 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-18Added new tests I forgot to include in [16038].Ramiro Morales
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16039 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-18Fixed #15848 -- Fixed regression introduced in [15882] in makemessages ↵Ramiro Morales
management command when processing multi-line comments that contain non-ASCCI characters in templates. Thanks for the report Denis Drescher. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16038 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-17Fixes #15721 -- Make {% include %} and RequestContext work together again.Chris Beaven
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16031 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-17Fixes #15814 -- Added a test util to abstract the process of using a test ↵Chris Beaven
template loader git-svn-id: http://code.djangoproject.com/svn/django/trunk@16030 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-13Fixes Paginator.validate_number not raising a PageNotAnInteger exception ↵Chris Beaven
when passed a non-int-castable type. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16026 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-06Fixes #11596 -- Make paginator.Page iterableChris Beaven
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16018 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-05Fixed #13630 -- Made __init__ methods of all DB backends' DatabaseOperations ↵Ramiro Morales
classes take a `connection` argument. Thanks calexium for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16016 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-02Fixed #15704 -- Made cache tests more reusable by moving the backend path ↵Adrian Holovaty
into a class attribute. Thanks for the patch, jonash git-svn-id: http://code.djangoproject.com/svn/django/trunk@16008 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-02Refactored views regression tests to isolate generic views from the root URL ↵Russell Keith-Magee
space. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16000 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-02Modified some regression tests to make them independent of the default root ↵Russell Keith-Magee
urlconf. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15999 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-02Silenced DeprecationWarning raised by tests for populate_xheaders tests. ↵Russell Keith-Magee
Refs #15741 git-svn-id: http://code.djangoproject.com/svn/django/trunk@15998 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-02Silenced DeprecationWarning caused by testing deprecated DjangoTestRunnerRussell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15997 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-02Corrected warning filter in test_client_regressRussell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15994 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-02Fixed #15739 -- Added support to RedirectView for HEAD, OPTIONS, POST, PUT ↵Russell Keith-Magee
and DELETE requests git-svn-id: http://code.djangoproject.com/svn/django/trunk@15992 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-02Updated to test_client_regress to use RedirectView instead of deprecated ↵Russell Keith-Magee
redirect_to. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15991 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-02Updates to the test suite to allow for newly deprecated and removed featuresRussell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15990 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-01Changed e-mail to email throughout documentation and codebase. The one ↵Adrian Holovaty
exception is translation strings, which I didn't want to disrupt git-svn-id: http://code.djangoproject.com/svn/django/trunk@15967 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-30Cleaned up some test code.Luke Plant
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15957 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-30Deprecated csrf_response_exempt and csrf_view_exempt decoratorsLuke Plant
With the removal of CsrfResponseMiddleware, csrf_response_exempt serves no purposes, and csrf_exempt and csrf_view_exempt perform the same function. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15956 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-30Removed Django 1.2 compatibility fallback for contrib.comments forms hash.Luke Plant
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15953 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-30Removed deprecated CsrfResponseMiddleware, and corresponding tests and docsLuke Plant
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15949 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-30Removed Django 1.1 fallback for CSRF checks.Luke Plant
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15948 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-28Fixed #15679 - regression in HttpRequest.POST and raw_post_data access.Luke Plant
Thanks to vkryachko for the report. This also fixes a slight inconsistency with raw_post_data after parsing of a multipart request, and adds a test for that. (Previously accessing raw_post_data would have returned the empty string rather than raising an Exception). git-svn-id: http://code.djangoproject.com/svn/django/trunk@15938 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-28Fixed #15703 -- Corrected problem in test suite introduced by Python 2.4 ↵Russell Keith-Magee
changes from r15927. Thanks to mk for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15936 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-28Move the Python 2.5 specific tests out of their own special files now that ↵Alex Gaynor
2.5 is the default. Also add __futre__ import where necessary. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15935 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-28Made a bunch of simplifications now that we don't support Python 2.4Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15933 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-28Removed a bunch more Python 2.4 workarounds now that we don't support that ↵Adrian Holovaty
version. Refs #15702 -- thanks to jonash for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15927 bcc190cf-cafb-0310-a4f2-bffc1f526a37