summaryrefslogtreecommitdiff
path: root/tests/regressiontests
AgeCommit message (Collapse)Author
2011-01-15Fixed #14928 -- Ensure that a fully qualified domain name can be used for ↵Russell Keith-Magee
runserver. Thanks to Karmel Allison for the report, Łukasz Rekucki for the patch, and claudep for the tests. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15215 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-15Fixed #15042 -- Ensured that email addresses without a domain can still be ↵Russell Keith-Magee
mail recipients. Patch also improves the IDN handling introduced by r15006, and refactors the test suite to ensure even feature coverage. Thanks to net147 for the report, and to Łukasz Rekucki for the awesome patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15211 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-15Modified a try block construct in a test case to be compatible with Python 2.4.Ramiro Morales
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15209 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-15Enhanced slightly the tests added in r15185 to demonstrate that #14948 ↵Ramiro Morales
doesn't affect trunk. Refs #14948. Thanks Harm Geerts. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15208 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-14Fixed #11193 -- WSGI handler not properly handling lock on error in ↵Andrew Godwin
load_middleware. Thanks to Phillip Sitbon. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15205 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-14Enhanced tests for r14857 added in r15185. Refs #14870. Thanks Harm Geerts.Ramiro Morales
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15201 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-13Fixed #13631 -- Made sure that max_length and min_length are retained as ↵Russell Keith-Magee
attributes on form fields. Thanks to mila for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15194 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-13Fixed #14176 -- Added forwards compatibility to the legacy syndication feed ↵Russell Keith-Magee
view. This allows class-based feeds to be deployed using the old-style feed view, as long as the feed requires no arguments (i.e., get_object returns None). Thanks to psychcf for the report, cwhaines for the investigation, and Andrew Godwin for the assist. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15189 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-13Fixed #15025 - template debug fails if there's a callable local var that ↵Luke Plant
generates an exception Thanks to Tai Lee for the patch and report, also to Don Spaulding. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15187 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-13Fixed #13668 -- Corrected database router methods invocation for ManyToMany ↵Ramiro Morales
fields without through models. Thanks craig.kimerer for the report and David Gouldin for the fix. This also adds tests for r14857. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15185 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-13Fixed #15024 -- Ensure that choice of L10N format module used is stable ↵Ramiro Morales
given a stable setup of format modules in ll/ and ll_CC/ dirs. Thanks David Reynolds for the report and suggestions leading to the solution. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15183 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-12Added tests demonstrating that filtering lookup expression that involve ↵Ramiro Morales
model with inheritance schemes aren't incorrectly blacklisted by the r15031 security fix. Refs. #15032. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15178 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-11Fixed #11293 -- fixed using Q objects to generate ORs with aggregates.Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15173 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-10Fix wrong attribute name in [15156]. Thanks to Alex Gaynor for spotting this.Andrew Godwin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15169 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-08Fixed #12295 -- Issue had already been fixed, but added test. Thanks ↵Andrew Godwin
tomevans222 and dpn. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15158 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-08Fixed #9029 -- Allow use of fieldname_id with get_or_create. Thanks to aaron ↵Andrew Godwin
and mrmachine. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15156 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-08Fixed inconsistency in ListView's pagination (short datasets should also ↵Andrew Godwin
trigger a pagination, but with a single possible page) git-svn-id: http://code.djangoproject.com/svn/django/trunk@15155 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-08Fixed #15035 -- Fixed collectstatic management command to work with ↵Jannis Leidel
non-local storage backends correctly. Also refactored a bit code smell. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15154 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-05Fixed #15010 -- Added current_app parameter to close gap between ↵Jannis Leidel
TemplateResponse and render method. Thanks, acdha. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15153 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-04Corrected a test failure under Postgres caused by PK allocation. Thanks to ↵Russell Keith-Magee
Alex for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15147 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-03Fixed #14999 -- Ensure that filters on local fields are allowed, and aren't ↵Russell Keith-Magee
caught as a security problem. Thanks to medhat for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15139 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-03Fixed #14878 -- Clarified the way verbose_name_plural is used in generic ↵Russell Keith-Magee
list views as a context variable. Thanks to diegueus9 for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15133 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-02Fixed #2986 -- Made the JavaScript code that drives related model instance ↵Ramiro Morales
addition in a popup window handle a model representation containing new lines. Also, moved the escapejs functionality yoo django.utils.html so it can be used from Python code. Thanks andrewwatts for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15131 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-02Fixed #6218 -- Made MEDIA_URL and STATIC_URL require a trailing slash to ↵Jannis Leidel
ensure there is a consistent way to combine paths in templates. Thanks to Michael Toomim, Chris Heisel and Chris Beaven. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15130 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-02Fixed #11700 -- Stopped admin actions and list_editable fields to show up in ↵Jannis Leidel
popups. Thanks to Simon Meers for the initial patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15129 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-31Fixed the rest of the US localflavor tests that were forgotten in r15058. ↵Jannis Leidel
Refs r15029. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15121 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-31Added our own rmtree error handler to make sure we can delete correctly ↵Jannis Leidel
delete .svn directories when running the tests on Windows which are read-only for some reason. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15120 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-31Fixed #14961 -- Revised staticfiles's prefix handling to make sure it runs ↵Jannis Leidel
on Windows. Also revised staticfiles tests to pass on Windows. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15119 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-27Fixed #14593 -- change this warning to be a PendingDeprecationWarning. Also ↵Alex Gaynor
converted the Czech localflavor tests to be unittests. We have always been at war with doctests. Thanks to Idan Gazit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15062 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-26Updated list of US states and tests after r15029 to be sorted correctly.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15058 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-26Converted Swedish localflavor tests from doctests to unittests. Thanks, Idan ↵Jannis Leidel
Gazit! git-svn-id: http://code.djangoproject.com/svn/django/trunk@15057 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-23Fix a security issue in the admin. Disclosure and new release forthcoming.Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15031 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-23Refactor the choices for localflavor's USStateField, and add new US postal ↵James Bennett
code support. Fixes #14937 and #9022, refs #10308 and #8425. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15029 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-22Beefed up the tests for multi-cache handling of the cache middleware and ↵Russell Keith-Magee
view decorators, and made a couple of tweaks for edge cases as a result. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15021 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-22Fixed #14936 -- Tweaked the new render shortcut to reflect non-legacy ↵Russell Keith-Magee
arguments. Thanks to adamv for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15020 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-22Fixed #10154: Allow combining F expressions with timedelta values.Karen Tracey
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15018 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-22Fixed #14933 -- Added ability to SelectDateWidget to cope with new ↵Jannis Leidel
alternative month names added in [14900]. Thanks, alek and Claude Peroz. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15017 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-21Rectified bugs that were accidentally committed in r14997. Thanks for the ↵Jannis Leidel
heads-up, Alex Gaynor. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15011 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-21Fixed #12816 -- Added a render() shortcut.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15008 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-21Fixed #14301 -- Further refine changes made in r14216 to support non-ASCII ↵Jannis Leidel
characters in email addresses. Thanks, Claude Peroz and Andi Albrecht. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15006 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-21Fixed #11675 -- Added support for the PyLibMC cache library. In order to ↵Russell Keith-Magee
support this, and clean up some other 1.3 caching additions, this patch also includes some changes to the way caches are defined. This means you can now have multiple caches, in the same way you have multiple databases. A huge thanks to Jacob Burch for the work on the PyLibMC backend, and to Jannis for his work on the cache definition changes. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15005 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-21Fixed #4976 -- Stopped humanize template tags to raise a TypeError if passed ↵Jannis Leidel
a value of ``None``. Thanks, Simon G. and Adam Vandenberg. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15000 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-21Fixed #14900 -- Added ability to override the paginator class used in a ↵Jannis Leidel
ModelAdmin. Thanks, Adam Vandenberg. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14997 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-21Fixed #13743 -- Fixed CommentsAdmin to not blow up if the delete_selected ↵Jannis Leidel
action is disabled. Thanks, Daniel Lindsley. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14996 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-21Reverting r14994 (at request of SmileyChris) because of some backwards ↵Russell Keith-Magee
compatibility issues that need to be resolved. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14995 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-21Fixes #13252 -- Use the natural key instead of the primary key when serializingChris Beaven
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14994 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-19Fixed #7153 -- _resolve_lookup now does a better job of resolving callables ↵Chris Beaven
and correctly catches all silent_variable_exceptions git-svn-id: http://code.djangoproject.com/svn/django/trunk@14992 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-19Fixed #14908 -- Added a 'takes_context' argument to simple_tag. Thanks to ↵Russell Keith-Magee
Julien Phalip for driving the issue and providing the final patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14987 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-19Fixed #14655 -- Made formsets iterable. This allows a slightly more natural ↵Russell Keith-Magee
iteration API (`for form in formsets`), and allows you to easily override the form rendering order. Thanks to Kent Hauser for the suggestion and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14986 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-19Fixed a Python 2.5 syntax error.Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14983 bcc190cf-cafb-0310-a4f2-bffc1f526a37