Vishal Lal
1cce00a762
[1.6.x] Fixed #22372 -- Improved description of WizardView.get_context_data().
...
Thanks simon29 for the report.
Backport of a8e2ec0e82
from master
2014-04-03 08:28:02 -04:00
Tim Graham
f0d03d41be
[1.6.x] Replaced urllib/urlparse imports with from django.utils.six.moves.
...
Backport of 981b864fbd
from master
2014-03-31 07:55:33 -04:00
Tim Martin
fe83cfe9ed
[1.6.x] Fixed #21941 -- Documented the kwargs param of django.conf.urls.url().
...
Thanks cjerdonek for the report.
Backport of a779757706
from master
2014-03-27 07:02:06 -04:00
Tim Graham
c0a9c2f72a
[1.6.x] Fixed #22322 -- Fixed incorrect explanation of what managed=False does.
...
refs #14305 .
Thanks Adrian Klaver for the report.
Backport of 9b7ba8af1b
from master
2014-03-25 14:10:29 -04:00
Adam Kaliński
38096da5c0
[1.6.x] Fixed #22048 - Enhanced docs to cover nonexistent one-to-one relationships.
...
Thanks EvilDMP for the suggestion.
Backport of ec08d62a20
from master
2014-03-24 09:45:56 -04:00
Claude Paroz
d908b67e81
[1.6.x] Fixed #22317 -- Fixed documented handler400 default value
...
Backport of 3f7615cddc
from master.
2014-03-23 21:20:43 +01:00
Claude Paroz
d1503afd66
[1.6.x] Improved strip_tags and clarified documentation
...
The fact that strip_tags cannot guarantee to really strip all
non-safe HTML content was not clear enough. Also see:
https://www.djangoproject.com/weblog/2014/mar/22/strip-tags-advisory/
Backport of 6ca6c36f8
from master.
2014-03-22 11:07:27 +01:00
Aymeric Augustin
c8c2d60614
[1.6.x] Small doc changes missed in 66076268
.
...
Partial backport of 253e8ac2
from master.
2014-03-21 22:11:50 +01:00
Tim Graham
0726482c9d
[1.6.x] Replaced an instance of PIL with Pillow in the docs.
...
Backport of 563d6a6bba
from stable/1.7.x
2014-03-21 11:25:18 -04:00
Daniel Pyrathon
9f7bd83184
[1.6.x] Fixed #22242 -- Documented common cookie size limit.
...
Backport of 885e7adf56
from master
2014-03-16 10:47:08 -04:00
Tim Graham
f582b61f1c
[1.6.x] Fixed typo in docs/ref/django-admin.txt
...
Thanks Wes Kendall for the report.
Backport of ce3d9f847d
from master
2014-03-11 08:10:40 -04:00
Tim Graham
e7649789ed
[1.6.x] Fixed #21908 -- Added example usage for ModelAdmin.get_inline_instances().
...
Thanks matt at schinckel.net for the suggestion.
Backport of 5a4f1298cf
from master
2014-03-03 10:42:32 -05:00
Baptiste Mispelon
4aaea2921d
[1.6.x] Fixed some typos in the documentation.
...
Thanks to Rodolfo Carvalho and Piotr Kasprzyk
for the patch.
Partial backport of ea4da8e63c
from master.
2014-03-02 17:21:10 +01:00
navneet suman
f2b513c9e8
[1.6.x] Fixed #22145 -- Clarified docs on Field.blank and Field.null options.
...
Thanks skipjack at peru.com for the suggestion.
Backport of 3390550f6f
from master
2014-02-25 21:01:02 -05:00
Alasdair Nicol
39b099bdd2
[1.6.x] 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
Backport of 462edd22e5
from master.
2014-02-23 13:58:08 +01:00
Marcin Sokół
98070b94a9
[1.6.x] Fixed #21902 -- Documented search order for list_display.
...
Backport of 09b725f51b
from master.
2014-02-23 13:54:56 +01:00
Jochem Oosterveen
882f2a5b81
[1.6.x] Fixed #22092 -- Documented ResolverMatch.view_name
...
Backport of 271929dd9d
from master.
2014-02-23 13:54:17 +01:00
Marcin Sokół
79cc1fa58d
[1.6.x] Fixed #22113 -- changed object_name to model_name in CBV docs.
...
Thanks to trac user nikunj.sg for the report.
Backport of b887408486
from master.
2014-02-23 13:52:45 +01:00
Baptiste Mispelon
a36513c2b4
[1.6.x] 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.
Backport of 072fb923e1
from master.
2014-02-23 13:52:14 +01:00
Alex de Landgraaf
23cbfc9a25
[1.6.x] Fixed #22063 -- Added reference to NoReverseMatch from the reverse() documentation
...
Backport of b645be80e9
from master.
2014-02-23 13:51:42 +01:00
Zbigniew Siciarz
14366ed33e
[1.6.x] Fixed #22013 -- Documented difference between SERVER_EMAIL and DEFAULT_FROM_EMAIL.
...
Backport of 44814e78cc
from master
2014-02-15 13:30:13 -05:00
Baptiste Mispelon
dbb9819360
[1.6.x] Fixed inaccuracies in generic mixins documentation.
...
Backport of a5391db76a
from master.
2014-02-09 11:00:25 +00:00
Ian Foote
05cef1939e
[1.6.x] Fix typo CRSF -> CSRF
...
Backport of af64f829d7
from master
2014-01-29 12:08:42 -05:00
Tim Graham
c91e772b3a
[1.6.x] Fixed some punctuation; thanks Chris Jerdonek.
...
Backport of 81830ce34f
from master
2014-01-23 09:05:09 -05:00
Baptiste Mispelon
6bf05c0267
[1.6.x] Always use parentheses when documenting a method with no arguments.
...
Backport of 05d36dc06e
from master.
2014-01-22 23:00:06 +01:00
Baptiste Mispelon
6bca149af5
[1.6.x] Don't show `self` in the list of arguments of a method.
...
This is consistent with Python's official documentation
and it's a sphinx recommendation too[1].
[1] http://sphinx-doc.org/markup/desc.html#dir-method
Refs #21855 .
Backport of 79e1d6ebd7
from master.
2014-01-22 22:59:55 +01:00
Tim Graham
a4c32d70c2
[1.6.x] Fixed #21529 -- Noted that {% url %} encodes its output (refs #13260 ).
...
Backport of dfc092622e
from master
2014-01-22 10:45:10 -05:00
Tim Graham
85149a8b7f
[1.6.x] Fixed #18942 -- Clarified usage of {% get_static_prefix %}.
...
Thanks Aymeric for the suggestion.
Backport of bc7668eb51
from master
2014-01-17 16:06:54 -05:00
Tim Graham
4f058655d0
[1.6.x] Fixed #13116 -- Described scope of variables created by {% url ... as var %} syntax.
...
Thanks leif_p for the suggestion.
Backport of 4a5aac47a6
from master
2014-01-17 14:52:02 -05:00
Tim Graham
b1cc1633e0
[1.6.x] Fixed #18285 -- Documented that bulk_create doesn't work with M2M relationships.
...
Backport of 9173d2cb74
from master
2014-01-16 20:49:06 -05:00
Tim Graham
363b8c690a
[1.6.x] Fixed #21768 -- Corrected TemplateView context section.
...
Thanks nedbatchelder for the report and claudep for the patch.
Backport of c05b2f58e7
from master
2014-01-16 07:59:15 -05:00
Kevin Wood
deefdc8e60
[1.6.x] Fixed typo in storage docs
...
Backport of 82f466b571
from master
2014-01-15 18:44:47 -05:00
Vajrasky Kok
0a4e36c68f
[1.6.x] Fixed #21319 -- Added documentation for the Form.fields attribute.
...
Thanks pydanny for the report. Also, added documentation about
base_fields attribute and its difference with fields attribute.
Backport of ea83102d0f
from master
2014-01-02 19:45:22 -05:00
Nathan Smith
8b1de986f6
[1.6.x] Fixed minor typos.
...
Backport of 44d40ba521
from master
2014-01-02 16:22:21 -05:00
Loic Bistuer
3fd16e6261
[1.6.x] Fixed #21581 -- Fixed a number of issues with collectstatic.
...
When STATIC_ROOT wasn't set, collectstatic --clear would delete
every files within the current directory and its descendants.
This patch makes the following changes:
Prevent collectstatic from running if STATIC_ROOT isn't set.
Fixed an issue that prevented collectstatic from displaying the
destination directory.
Changed the warning header to notify when the command is run
in dry-run mode.
Backport of 4befb3015c
from master
2013-12-31 15:04:22 -05:00
Tim Graham
51d6a7d53e
[1.6.x] Fixed #21710 -- Documented User.get_short_name()
...
Thanks Keryn Knight for the report.
Backport of 0150830687
from master
2013-12-30 17:46:16 -05:00
Claude Paroz
2d08390d70
[1.6.x] Fixed #21618 -- Added hints about openlayers.js hosting
...
Thanks kz26 for the report and Tim Graham for the excellent
review.
Backport of b7a7baa554
from master.
2013-12-28 11:11:58 +01:00
Tim Graham
62f282a265
[1.6.x] Fixed #21629 -- Added instructions for loading MySQL time zone definitions.
...
Thanks Aymeric for the suggestion.
Backport of d8d83777eb
from master
2013-12-26 15:50:49 -05:00
Unai Zalakain
54b04cc8e6
[1.6.x] Fixed #21213 -- Added docs for Django's mailing lists.
...
Added docs/internals/mailing-lists.txt documenting the use of django's
mailing lists. All references across docs changed to point to this page.
The referencing makes use of substitution because there's no way to make
a :ref: link in a non-inline fashion in Sphinx. It also makes use of
rst_epilog Sphinx conf for making this substitutions across all the
docs.
Backport of 3895d8899d
from master
2013-12-19 09:24:13 -05:00
Tim Graham
438f9edff6
[1.6.x] Fixed #21585 -- Updated some links to 3rd party database projects.
...
Thanks graeme.perrow at sap.com for the original report.
Backport of 23d9f517dc
from master
2013-12-18 18:50:36 -05:00
Kevin Christopher Henry
dd7e2925dd
[1.6.x] Fixed #21632 -- Docs: Removed example with callable as query parameter
...
Using callables as query parameters is undocumented and not working,
so this changes an example from the ForeignKey.limit_choices_to
documentation that uses it.
Backport of d34c8c338a
from master
2013-12-18 12:37:56 -05:00
Baptiste Mispelon
e888760854
[1.6.x] Added some internal links to render_to_string documentation.
...
Backport of 1689744aee
from master.
2013-12-15 23:03:26 +01:00
Tim Graham
6a36b71fc2
[1.6.x] Fixed typo in docs/ref/models/fields.txt
...
Backport of dfc95d240d
from master.
2013-12-15 10:51:58 -05:00
Claude Paroz
ef9832f148
[1.6.x] Updated a bunch of hyperlinks in documentation
...
Backport of 626bdf648
from master.
2013-12-08 18:48:30 +01:00
Tim Graham
3f8583a2c8
[1.6.x] Added a warning regarding risks in serving user uploaded media.
...
Thanks Preston Holmes for the draft text.
Backport of df6760f12c
from master
2013-12-02 13:49:47 -05:00
Baptiste Mispelon
02f9e90fdf
[1.6.x] Fixed #21515 -- Corrected example of template.Context in documentation.
...
Thanks to trac user oubiga for the report.
Backport of 077af42139
from master.
2013-11-28 00:59:00 +01:00
Ludwik Trammer
593ec42ad1
[1.6.x] Fixed #21507 -- Corrected default widget information for FileField
...
Backport of 70e61310d6
from master
2013-11-25 08:27:27 -05:00
Tim Graham
df18cc632c
[1.6.x] Fixed typo in previous commit; refs #21490 .
...
Backport of 03bc0a8ac5
from master
2013-11-24 16:29:10 -05:00
Tim Graham
af65860c5b
[1.6.x] Fixed #21490 -- Fixed custom admin URL reverse example.
...
Thanks glarrain for the report.
Backport of bfe7377adb
from master
2013-11-24 15:19:34 -05:00
Ramiro Morales
8750296918
[1.6.x] Fixed #21488 -- Multiple locales treatment in i18n commands.
...
Removed multiple locales separated by commas variation (that wasn't
working as documented) in favor of simply allowing use of the
``--locale``/``-l`` options more than once for ``makemessages`` and
``compilemessages``.
Thanks Romain Beylerian for the report and Claude, Simon for their help.
2013-11-23 11:02:30 -03:00
Markus Amalthea Magnuson
47abfa237e
[1.6.x] Fixed #21427 -- Clearly state integer field value ranges in docs
...
Added an explicit mention of the exact value ranges for integer type
fields that are safe in all databases supported by Django. Also, put
all value numbers inside double ticks.
Backport of b6a6cf4ab7
from master.
2013-11-21 14:17:58 +01:00
Rocky Meza
ac2ef4af7c
[1.6.x] Fixed the base class note in the Date Views docs.
...
Backport of 42197e31aa
from master
2013-11-19 10:25:48 -05:00
Baptiste Mispelon
4c9362d81f
[1.6.x] Added more internal links in the management command documentation.
...
Backport of bc0413cbc6
from master.
2013-11-18 19:28:29 +01:00
Dominic Rodger
a9c50fccf2
[1.6.x] Fixed #20852 - Fixed incorrectly generated left quotes in docs.
...
Sphinx generates left single quotes for apostrophes after
code markup, when right single quotes are required. The
easiest way to fix this is just by inserting the unicode
character for a right single quote.
Instances of the problem were found by looking for
">‘" in the generated HTML.
Backport of c33d1ca1d9
from master.
2013-11-18 16:03:00 +01:00
Baptiste Mispelon
b6acc4f749
[1.6.x] Removed a mention of `Form._errors` from the documentation.
...
Also removed a sentence that was incorrect: raising a
`ValidationError` inside `Form.clean` doesn't clear the
`cleaned_data` attribute.
Thanks to loic84 and timograham for the review.
Backport of 9aa6d4bdb6
and
0048ed77c7
from master.
2013-11-12 20:54:37 +01:00
Bernardo Pires
4aed1ee339
[1.6.x] Fixed #21372 -- Corrected docs regarding translating LANGUAGES.
...
Corrected LANGUAGES documentation on how to translate language
names. Now using django.utils.translation.ugettext_lazy instead
of a dummy gettext() function.
Thanks to Salvatore for the report.
Backport of 8bc350b385
from master.
2013-11-10 00:02:13 +01:00
Baptiste Mispelon
86e72f5ba9
[1.6.x] Fixed versionadded misuse in the admin documentation.
...
Backport of c82e850eed
from master.
2013-11-09 15:10:14 +01:00
glts
d4b1724b36
[1.6.x] Added missing parameter in npgettext_lazy docs
...
Backport of 413307fe35
from master
2013-11-08 18:35:43 -05:00
Baptiste Mispelon
6c34e18bd4
[1.6.x] Fixed #21396 : Document backwards-incompatible change in RedirectView.get_redirect_url.
...
Thanks to Tim for the review.
Backport of f2e0266be7
from master.
2013-11-08 10:55:11 +01:00
Tim Graham
33503c57ef
[1.6.x] Fixed spelling ("dependant" -> "dependent")
...
Dependent means reliant on.
A dependant is a person like a child or spouse.
Thanks Andrew Wilcox for the report.
Backport of 090315f5df
from master
2013-11-01 21:32:05 -04:00
Claude Paroz
3f1b20841a
[1.6.x] Fixed #21364 -- Specified InnoDB full-text support from MySQL 5.6.4 on
...
Thanks thevlad at gmail.com for the report.
Backport of 89116cf24a
from master.
2013-11-01 11:02:11 +01:00
Claude Paroz
f03c699159
[1.6.x] Fixed #21359 -- Corrected MySQL collation name in databases docs
...
Thanks k_sze for the report.
Backport of 67c6c1a7c
from master.
2013-11-01 10:46:39 +01:00
Tim Graham
d774cb219c
[1.6.x] Fixed #21306 -- Documented lower-casing behavior of title filter.
...
Backport of eafe279120
from master
2013-10-30 09:35:05 -04:00
Tim Graham
da0c7723fa
[1.6.x] Fixed #21316 -- Documented that modifying safe strings makes them unsafe.
...
Thanks dev@simon.net.nz for the suggestion and vijay_shanker for the patch.
Backport of 1edef50880
from master
2013-10-30 08:12:09 -04:00
Shai Berger
27f3f34136
Fixed #13245 : Explained Oracle's behavior w.r.t db_table
...
and how to prevent table-name truncation
Thanks russellm & timo for discussion, and timo for review.
Backported from master 317040a73b
2013-10-23 15:01:05 +03:00
Riccardo Magliocchetti
15a6667a70
[1.6.x] Fixed #21296 -- Added docs for PostgreSQL and unix domains sockets.
...
Backport of 1e39982b6e
from master
2013-10-21 13:10:41 -04:00
Juergen Schackmann
f198abc7e4
[1.6.x] Fixed #21212 -- Documented the reverse name for OneToOneField.
...
Thanks bjb at credil.org for the report.
Backport of f8632572ad
from master
2013-10-18 16:22:41 -04:00
Bouke Haarsma
da181056a9
[1.6.x] Fixed #21210 -- Documented when runserver doesn't auto-restart.
...
Thanks gergely at polonkai.eu for the suggestion.
Backport of 9b7d38ed5a
from master
2013-10-14 10:38:30 -04:00
Ramiro Morales
503092b09a
[1.6.x] Forms docs: More emphasis in 'id' value customizability.
...
18ea1c473b
form master.
2013-10-12 13:30:58 -03:00
Tim Graham
06b149e220
[1.6.x] Fixed #10913 -- Documented how related_name affects QuerySet filtering
...
Thanks neithere for the suggestion.
Backport of 75bb6ba966
from master
2013-10-02 12:13:44 -04:00
Curtis Maloney
98773c4bb5
[1.6.x] Fixed #21154 -- Updated TemplateResponse docs to better explain context.
...
Thanks mrmachine for the report.
Backport of c39c9f2ad8
from master
2013-09-30 10:21:34 -04:00
Ramiro Morales
5303afcd97
[1.6.x] Note about static files dirs paths on Windows.
...
Added it to the settings reference. We used to have it in comment form
in our old, bigger default project template settings.py file.
5866a49369
from master.
2013-09-28 20:35:47 -03:00
Tim Graham
d1047c8b4c
[1.6.x] Fixed #21116 -- Made usage of manage.py in docs more consistent.
...
Thanks daniel.quattro at gmail.com for the report.
d1c9802811
from master.
2013-09-25 21:11:17 -03:00
Brett Koonce
db98c48884
[1.6.x] Removed extra p (topppings->toppings)
...
Backport of 946a2226ea
from master
2013-09-23 19:25:07 -04:00
Louis Fill
a6a5c8b06d
[1.6.x] Fixed #21070 -- Added a more complex database configuration example.
...
Thanks joejasinski for the suggestion.
Backport of e15f7f31d0
from master
2013-09-23 12:18:47 -04:00
Ben Huckvale
cdb56725d4
[1.6.x] Fixed #21120 -- Added more explicit text on using validators and link to writing validators.
...
Thanks nicolas at niconomicon.net for the suggestion.
Backport of 98e0453f00
from master
2013-09-23 10:39:10 -04:00
Ramiro Morales
b2876c0c91
[1.6.x] A few doc additions for changes from d228c1192e
.
...
ce0c5c38ea
from master.
2013-09-22 13:54:54 -03:00
mlissner
14f76b15c4
[1.6.x] Correct very minor typo
...
Just changed as to has.
Backport of d8f2d940cc
from master
2013-09-21 18:18:42 -04:00
Curtis Maloney
e94efee946
[1.6.x] Fixed #21133 -- Clarifed documentation about strftime formatting.
...
Backport of 43a2ec7999
from master
2013-09-21 06:56:00 -04:00
Goetz
097fb98f81
[1.6.x] Fixed #21101 -- Updated urlize documentation to mention email addresses
...
Backport of 39b49fd339
from master
2013-09-13 12:42:40 -04:00
Matt Austin
a929adfd3b
[1.6.x] Fixed #21095 -- Documented new requirement for dates lookups.
...
Day, month, and week_day lookups now require time zone definitions in the database.
Backport of 9451d8d
from master.
2013-09-13 10:20:13 +02:00
Ramiro Morales
66e6e2d146
[1.6.x] Fixed a couple of typos in GeoDjango docs.
...
8b366a50f4
from master.
2013-09-12 19:45:27 -03:00
Phaneendra Chiruvella
e8bb41d05c
[1.6.x] Minor typo fix in django.contrib.auth.models.User docs
...
Backport of bd72c2acb6
from master
2013-09-11 19:44:35 -04:00
Tim Graham
b05639dcac
[1.6.x] Fixed #20887 -- Added a warning to GzipMiddleware in light of BREACH.
...
Thanks EvilDMP for the report and Russell Keith-Magee
for the draft text.
Backport of da843e7dba
from master
2013-09-11 08:18:48 -04:00
oz123
960f5bc759
[1.6.x] Fixed #21075 - Improved doc for calling call_command with arguments.
...
Backport of fca4c4826e
from master
2013-09-10 09:18:14 -04:00
Tim Graham
01ad508514
[1.6.x] Fixed spelling; refs #16895 .
...
Thanks Panagiotis Issaris for the report.
Backport of fb51c9a0f2
from master
2013-09-09 11:31:25 -04:00
e0ne
276e053803
[1.6.x] Fixed #16895 -- Warned about cost of QuerySet ordering
...
Thanks outofculture at gmail.com for the suggestion.
Backport of cbf08c6b0c
from master
2013-09-09 09:49:15 -04:00
Aymeric Augustin
01edcf70f2
Fixed #20409 -- Clarified how unique_for_date works when USE_TZ is set.
2013-09-07 14:09:52 -05:00
Tim Graham
7b8037f3aa
[1.6.x] Fixed #20005 -- Documented that Oracle databases need execute permission on SYS.DBMS_LOB.
...
Thanks jafula for the suggestion.
Backport of a86ecc80a2
from master
2013-09-07 14:01:05 -04:00
Keith Edmiston
a357c854c9
[1.6.x] Fixed #16992 -- Added InnoDB warning regarding reuse of AUTO_INCREMENT values.
...
Thanks kent at nsc.liu.se for the report.
Backport of c54fa1a7bc
from master
2013-09-07 12:16:43 -04:00
Keith Edmiston
2c73ba88f2
[1.6.x] Fixed #19295 -- Documented that CachedStaticFilesStorage isn't compatible with runserver --insecure.
...
Backport of 028db97503
from master
2013-09-06 17:30:59 -04:00
Eric Boersma
180b9955cc
[1.6.x] Fixed #21035 -- Changed docs to treat the acronym SQL phonetically.
...
The documentation and comments now all use 'an' to
refer to the word SQL and not 'a'.
Backport of 4d13cc56de
from master
2013-09-05 20:16:14 -04:00
Tim Graham
1dd061ad77
[1.6.x] Fixed #21044 -- Documented django.core.urlresolvers.Resolver404
...
Thanks Keryn Knight for the suggestion.
Backport of eacf060e01
from master
2013-09-05 08:45:58 -04:00
Tim Graham
cda4fc8225
[1.6.x] Fixed #20958 -- Documented that GenericForeignKey fields can't be accessed in forms.
...
Thanks marky1991.
Backport of 533d1ab334
from master
2013-09-04 13:19:32 -04:00
Paul C. Anagnostopoulos
fe0eb2f995
[1.6.x] Clarified docs for some tags and filters
...
Backport of 1ccdc08189
from master
2013-09-04 13:04:51 -04:00
Loic Bistuer
a62b640f7d
[1.6.x] Fixed #20973 -- Document serving static files without django.contrib.staticfiles
...
Backport of 7b04038a7f
from master
2013-09-03 09:01:43 -04:00
Claude Paroz
4e3794dd1f
[1.6.x] Fixed #20998 -- Allow custom (de)serialization for GIS widgets
...
Thanks Mathieu Leplatre for the report and the initial patch.
Backport of 102f26c92
from master.
2013-09-02 13:34:26 +02:00
Claude Paroz
68ae9f39b7
[1.6.x] Fixed copy/paste error in measurement docs
...
Backport of e87997dd33
frmo master.
2013-08-31 10:33:46 +02:00
Tim Graham
0089a9a854
[1.6.x] Fixed typo in docs/ref/models/options.txt
...
Backport of a89c856a7a
from master
2013-08-30 21:07:04 -04:00
Anssi Kääriäinen
76e38a2177
[1.6.x] Fixed #20988 -- Added model meta option select_on_save
...
The option can be used to force pre 1.6 style SELECT on save behaviour.
This is needed in case the database returns zero updated rows even if
there is a matching row in the DB. One such case is PostgreSQL update
trigger that returns NULL.
Reviewed by Tim Graham.
Refs #16649
Backport of e973ee6a98
from master
Conflicts:
django/db/models/options.py
tests/basic/tests.py
2013-08-30 09:47:34 +03:00