Commit Graph

17231 Commits

Author SHA1 Message Date
Tim Graham 8137215973 Added release note and regression test for refs #21643.
This will be backported to stable/1.6.x along with the original fix.
2014-02-28 20:42:56 -05:00
Tim Graham 7c0102379a Removed some ReST links to undocumented functions. 2014-02-28 18:00:53 -05:00
Alex de Landgraaf ea869b5148 Fixed #21948 -- Noted TEMPLATE_LOADERS requirement when overriding admin templates.
Thanks django at patjack.co.uk for the suggestion.
2014-02-28 16:38:25 -05:00
Andrew Godwin cbd04c7c49 Fix keyword agument names in RunPython to be positional 2014-02-28 09:22:48 -08:00
Tim Graham 7f2505ad9e Fixed doc typos. 2014-02-28 11:44:03 -05:00
Tim Graham 55fb162588 Fixed #22028 -- Documented that database signals aren't emitted for apps that laack a models module.
Thanks un33k for the suggestion and donjpacheco for the draft patch.
2014-02-28 09:22:33 -05:00
Greg Chapple 2f25cdc18a Fixed #22129 -- Added steps for creating superusers to tutorial. 2014-02-28 08:10:07 -05:00
Tim Graham 72b080c2c8 Removed Django 1.5 upgrade hints for {% url %} tag.
Refs #19280 and Refs #19392.
2014-02-28 07:18:45 -05:00
vvojvoda c23b3717be Fixed #21962 -- Added escape_html flag to ErrorDict.as_json() 2014-02-28 07:05:55 -05:00
Claude Paroz 7b4743580a Replaced deprecated assertEquals 2014-02-28 09:54:53 +01:00
Claude Paroz 9f76d0d351 Fixed #22136 -- Updated comment for Textarea widget
Thanks Aymeric Augustin for the suggestion.
2014-02-27 19:38:37 +01:00
Alex Gaynor b1dcfddb72 Merge pull request #2374 from spaceexperiment/doc_typo
Fixed documention typo
2014-02-26 23:31:48 -08:00
jibreel 1b5bd470f0 Fixed documention typo 2014-02-27 09:27:40 +02:00
Claude Paroz 4622d23ccf Fixed #22056 -- Omitted non-package directories when collecting tests
This allows us to ignore empty dirs or other unrelated dirs.
Thanks Sebastian Pawluś for the report and the initial patch.
2014-02-26 17:46:24 +01:00
Bouke Haarsma 2bab9d6d9e Fixed #21389 -- Accept most valid language codes
By removing the 'supported' keyword from the detection methods and only relying
on a cached settings.LANGUAGES, the speed of said methods has been improved;
around 4x raw performance. This allows us to stop checking Python's incomplete
list of locales, and rely on a less restrictive regular expression for
accepting certain locales.

HTTP Accept-Language is defined as being case-insensitive, based on this fact
extra performance improvements have been made; it wouldn't make sense to
check for case differences.
2014-02-26 16:58:04 +01:00
Martin Matusiak 48a8b714d4 Fixed bad grammar in a comment. 2014-02-25 21:02:35 -05:00
navneet suman 3390550f6f Fixed #22145 -- Clarified docs on Field.blank and Field.null options.
Thanks skipjack at peru.com for the suggestion.
2014-02-25 20:59:34 -05:00
Tim Graham 4132e013ec Removed a nonexistent link in the docs. 2014-02-25 11:28:36 -05:00
Rik 355572ac56 Fixed #12670 -- Added a note about permissions of files stored in FILE_UPLOAD_TEMP_DIR.
Thanks simon29 for the suggestion.
2014-02-25 11:19:31 -05:00
Henk Vos e65c0ccac0 Fixed #22071 -- Added a warning regarding override_settings and aliasing.
Thanks EvilDMP for the suggestion.
2014-02-25 10:48:27 -05:00
Szczepan Cieślik e816198034 Fixed docs typos. 2014-02-25 10:28:32 -05:00
Iacopo Spalletti 65b4626528 Fixed #22142 -- Documented PostGIS 2 database creation during tests 2014-02-25 13:41:50 +01:00
Claude Paroz 91f4a75a6b Fixed #22116 -- Added precision about WSGIPythonPath separator
Thanks donjpacheco for the initial patch.
2014-02-24 18:29:00 +01:00
Greg Chapple b1d10205ce Added tests for django.contrib.admindocs
Refs #22015
2014-02-23 21:36:25 +01:00
Claude Paroz 27e9069710 Allowed some auth tests to be run independently 2014-02-23 20:05:45 +01:00
Alex Gaynor a8a5c31966 Two whitespace changes to appease flake8 2014-02-23 11:07:52 -06:00
Daniele Procida 4f7b7ef683 Merge pull request #2363 from nheyning/22019_add_objects_doc
Fixed #22019 -- added documentation on Model attributes
2014-02-23 17:35:43 +01:00
Nicolaas Heyning e1d2a0bd04 added documentation on Model attributes 2014-02-23 17:16:12 +01:00
Alex de Landgraaf b645be80e9 Fixed #22063 -- Added reference to NoReverseMatch from the reverse() documentation 2014-02-23 13:45:52 +01:00
Patrick Robertson 6d18ab01d9 Removed incorrect statement from docstring
The docstring of FilterExpression said that it shouldn't be
instantiated from anywhere but the get_filters_from_token
helper function.

However, that helper function was deleted in commit
3ede006fc9 and FilterExpression
is instantiated from inside the compile_filter help function.
2014-02-23 12:33:29 +01:00
Baptiste Mispelon 072fb923e1 Fixed #21881 -- Clarify behavior of {% ssi %} template tag.
When using the `parsed` option, {% ssi %} has the same limitation
as {% include %}, namely that the rendering of the included
template is done separately.

Thanks to trac user nagyv for the report and to alextreme for
the patch.
2014-02-23 12:00:24 +01:00
Andrew Gorcester 202bf69c2f Fixed #22095 -- Enabled backward migrations for RunPython operations
Added reversible property to RunPython so that migrations will not
refuse to reverse migrations including RunPython operations, so long as
reverse_code is set in the RunPython constructor. Included tests to
check the reversible property on RunPython and the similar RunSQL.
2014-02-23 09:30:02 +01:00
Marcin Sokół b887408486 Fixed #22113 -- changed object_name to model_name in CBV docs.
Thanks to trac user nikunj.sg for the report.
2014-02-22 23:36:54 +01:00
Baptiste Mispelon 7e1376c2b0 Fixed #21741 -- Fixed render_to_string to stop pushing empty dictionaries to its Context
Thanks to kezabelle for the report and original patch
and to numerodix for his improved patch.
2014-02-22 23:33:48 +01:00
Baptiste Mispelon 1d3ae4760b Fixed warnings when building the documentation. 2014-02-22 21:43:50 +01:00
Greg Chapple ede99f0ec3 Fixed #22032 -- added documentation for settings.MIGRATION_MODULES 2014-02-22 20:14:41 +01:00
Alex Gaynor 2798e63fa1 Extra new line to make flake8 happy 2014-02-22 11:50:19 -06:00
Jochem Oosterveen 271929dd9d Fixed #22092 -- Documented ResolverMatch.view_name 2014-02-22 18:31:40 +01:00
Erik Romijn 8cd32f0965 Fixed #22120 -- Documented persistent activation of languages and cleaned up language session key use 2014-02-22 18:29:06 +01:00
Marcin Sokół 09b725f51b Fixed #21902 -- Documented search order for list_display. 2014-02-22 18:11:43 +01:00
Erik Romijn 98f13762d7 Fixed #22123 -- EmailValidator now also accepts IPv6 literals in addresses 2014-02-22 17:45:33 +01:00
Baptiste Mispelon 173aa51997 Fixed #21435 -- Improved error message when urlconf is empty.
The new error message now hints that the most likely issue
is a circular import.

Thanks to trac user elena for the report and to
bpeschier for the original patch.
2014-02-22 15:36:49 +01:00
Martin Matusiak d399731bf2 Fixed #22007 -- Fixed cbv docs - make imports consistent
Thanks to trac user kinjal.dixit for the report.
2014-02-22 14:39:09 +01:00
Baptiste Mispelon 926e18d7d1 Deprecated django.utils.text.javascript_quote.
Refs #21725.
2014-02-22 13:50:12 +01:00
Baptiste Mispelon 847171b0d0 Fixed test failures when running in a narrow Python build. 2014-02-22 13:50:12 +01:00
Baptiste Mispelon cd027aaadf Added some tests for #21725. 2014-02-22 13:50:12 +01:00
Bas Peschier 578bdb532c Added tests and minified javascript missing in 83a3add4be.
Refs #22038.
2014-02-22 13:26:29 +01:00
Alasdair Nicol 462edd22e5 Fixed #22112 -- Added RedirectView.pattern_name to CBV flattened index
Also moved accessor method get_redirect_url next to its attribute url
for consistency with the other views.

Thanks nikunj.sg for the report
2014-02-21 22:23:06 +01:00
Alex Gaynor 476abc7ea7 Merge pull request #2333 from davesque/sql-doc-fixes
Capitalize SQL keywords
2014-02-20 10:38:01 -08:00
David Sanders adcedfe8ba Capitalize SQL keywords 2014-02-20 11:32:04 -07:00