Greg Chapple
6acaa52386
Fixed #22135 -- Added ModelAdmin.get_changeform_initial_data().
...
Allows custom behavior for setting initial form data in ModelAdmin.
By default, initial data is set via GET params. The new method allows
this behavior to be overridden.
Thanks egasimus for the suggestion.
2014-03-03 07:28:24 -05:00
Russell Keith-Magee
6b63742ce5
Corrected expected test output to allow for cleanups in signal and compatibility checks.
2014-03-03 19:29:50 +08:00
Russell Keith-Magee
c41335fa27
Added backwards compatibliity checks to reference documentation.
2014-03-03 19:20:48 +08:00
Russell Keith-Magee
21d8175242
Fixed #22193 -- Made hint a truly optional arugment on check messages.
...
Thanks to Thomas Güttler for the suggestion.
2014-03-03 19:16:19 +08:00
Russell Keith-Magee
5679fce87c
Added first cut at reference documentation for the checks framework.
2014-03-03 18:56:11 +08:00
Russell Keith-Magee
82ac389486
Edited model and field checks for grammar and consistency.
2014-03-03 18:18:39 +08:00
Russell Keith-Magee
bc4dc6e99c
Edited model check messages for grammar and consistency.
2014-03-03 15:35:42 +08:00
Russell Keith-Magee
f7587b20da
Edited MySQL-specific check messages for grammar and consistency.
2014-03-03 14:31:55 +08:00
Russell Keith-Magee
55ba92a9c9
Edited contrib.sites check messages for grammar and consistency.
2014-03-03 14:27:22 +08:00
Russell Keith-Magee
57e08aa232
Cleanup of contrib.contenttypes check messages.
2014-03-03 14:19:06 +08:00
Russell Keith-Magee
84207b6134
Edited contrib.auth check messages for grammar and consistency.
2014-03-03 13:39:58 +08:00
Russell Keith-Magee
3c5fc708f1
Edited contrib.admin check messages for grammar and consistency.
2014-03-03 13:27:17 +08:00
Tim Graham
90577c0eb4
Removed WSGI upgrade instructions for Django 1.3 and earlier.
2014-03-02 16:19:28 -05:00
Baptiste Mispelon
ea4da8e63c
Fixed some typos in the documentation.
...
Thanks to Rodolfo Carvalho and Piotr Kasprzyk
for the patch.
2014-03-02 17:05:57 +01:00
Aymeric Augustin
a08f906556
Merge pull request #2383 from erikr/fix-tests-fix-ampersands-deprecation
...
Fixed #22130 -- fixed template_tests/defaultfilters order dependent test failure
2014-03-02 15:31:11 +01:00
Aymeric Augustin
7ba29189fa
Restored aliases for two APIs removed by app-loading.
2014-03-02 14:01:52 +01:00
Erik Romijn
6268792e19
Fixed #22130 -- fixed template_tests/defaultfilters order dependent test failure
2014-03-02 09:02:42 +01:00
Tim Graham
f732d55dfc
Added newline for flake8.
2014-03-01 15:46:23 -05:00
Anubhav Joshi
bb2ca9fe6c
Fixed #22172 -- Allowed index_together to be a single list (rather than list of lists)..
...
Thanks EmilStenstrom for the suggestion.
2014-03-01 15:44:42 -05:00
Aymeric Augustin
3273bd7b25
Merge pull request #2382 from erikr/deprecate-fix-ampersands
...
Fixed #22130 -- Deprecated fix_ampersands and clean_html.
2014-03-01 18:08:50 +01:00
Erik Romijn
775975f15d
Fixed #22130 -- Deprecated fix_ampersands, removed utils.clean_html()
2014-03-01 14:07:57 +01:00
Sergey Kolosov
8c98f39624
Fixed #15318 -- Added settings for language cookie max-age, path, domain
...
Introduced a number of settings to configure max-age, path, and domain
for the language cookie: LANGUAGE_COOKIE_AGE, LANGUAGE_COOKIE_PATH and
LANGUAGE_COOKIE_DOMAIN.
Thanks sahid for the suggestion.
2014-03-01 07:52:45 -05:00
Baptiste Mispelon
c679cb7f60
Fixed #22168 -- Fixed migrations failing on sqlite when column names are SQL keywords
...
Thanks to trac user fallen_flint for the report and initial patch.
2014-03-01 13:45:45 +01:00
Claude Paroz
a19f0d0c1e
Fixed #22137 -- Made Widget.is_hidden a read-only property
...
Thanks django at patjack.co.uk for the report and the review.
2014-03-01 10:36:48 +01:00
Claude Paroz
75d0dcbf84
Added patch_formats utility for i18n formatting tests
2014-03-01 10:25:06 +01:00
Tim Graham
1f5f015c32
Fixed spelling mistakes in docs.
2014-02-28 21:03:46 -05:00
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