1
0
mirror of https://github.com/django/django.git synced 2025-03-23 07:40:44 +00:00

1600 Commits

Author SHA1 Message Date
Baptiste Mispelon
126af8fa7b [1.5.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 79e1d6ebd70898d514a44b85648e3d24104c4243 from master.
2014-01-22 23:26:05 +01:00
Tim Graham
b83dae688e [1.5.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:18 -05:00
Kevin Wood
a32680407b [1.5.x] Fixed typo in storage docs
Backport of 82f466b571 from master
2014-01-15 18:45:06 -05:00
Nathan Smith
4d05e672bf [1.5.x] Fixed minor typos.
Backport of 44d40ba521 from master
2014-01-02 16:22:26 -05:00
Tim Graham
3cf9ba5fa3 [1.5.x] Fixed #21710 -- Documented User.get_short_name()
Thanks Keryn Knight for the report.

Backport of 0150830687 from master
2013-12-30 17:46:56 -05:00
Kevin Christopher Henry
6833773775 [1.5.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:38:00 -05:00
Baptiste Mispelon
0e98050847 [1.5.x] Fixed #21515 -- Corrected example of template.Context in documentation.
Thanks to trac user oubiga for the report.

Backport of 077af42139db84d88f293ab5eadc989a9169dce1 from master.
2013-11-28 01:00:32 +01:00
Ludwik Trammer
e19506d14e [1.5.x] Fixed #21507 -- Corrected default widget information for FileField
Backport of 70e61310d6 from master
2013-11-25 08:27:35 -05:00
Tim Graham
c0c7795562 [1.5.x] Fixed typo in previous commit; refs #21490.
Backport of 03bc0a8ac5 from master
2013-11-24 16:29:14 -05:00
Tim Graham
0934894976 [1.5.x] Fixed #21490 -- Fixed custom admin URL reverse example.
Thanks glarrain for the report.

Backport of bfe7377adb from master
2013-11-24 15:19:39 -05:00
Rocky Meza
af16a35ff4 [1.5.x] Fixed the base class note in the Date Views docs.
Backport of 42197e31aa from master
2013-11-19 10:33:28 -05:00
Baptiste Mispelon
8d1f339667 [1.5.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 9aa6d4bdb6618ba4f17acc7b7c0d1462d6cbc718 and
0048ed77c7016a03aed6dbc255a6372f3df2ccd5 from master.
2013-11-12 21:05:06 +01:00
Bernardo Pires
12ff1623d6 [1.5.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 8bc350b38516d8c3a14aed113dd3402b9375b75c from master.

Conflicts:
	docs/topics/i18n/translation.txt
2013-11-10 00:09:02 +01:00
glts
1669a438a9 [1.5.x] Added missing parameter in npgettext_lazy docs
Backport of 413307fe35 from master
2013-11-08 18:35:52 -05:00
Tim Graham
2e881f15b8 [1.5.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:10 -04:00
Claude Paroz
60ec8ae4b2 [1.5.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:48 +01:00
Claude Paroz
dd0c204828 [1.5.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:47:29 +01:00
Tim Graham
f832f0d2c3 [1.5.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:19 -04:00
Shai Berger
cc0dcfc644 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 317040a73b77be8f8210801793b2ce6d1a69301e
2013-10-23 15:04:14 +03:00
Riccardo Magliocchetti
045d192222 [1.5.x] Fixed #21296 -- Added docs for PostgreSQL and unix domains sockets.
Backport of 1e39982b6e from master
2013-10-21 13:10:51 -04:00
Juergen Schackmann
8ffa99ccb6 [1.5.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:47 -04:00
Bouke Haarsma
5c1be8a870 [1.5.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:34 -04:00
Aymeric Augustin
2fb127b881 Fixed #21261 -- Added missing import in RedirectView docs
Thanks yokomizor.
2013-10-13 19:00:55 +02:00
Tim Graham
997a332cbb [1.5.x] Fixed #21180 -- Additional deprecation notes for databrowse.
Thanks einsteiger for the suggestion.
2013-10-01 10:21:04 -04:00
Curtis Maloney
20f394f4d5 [1.5.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:40 -04:00
Brett Koonce
13aff91ae7 [1.5.x] Removed extra p (topppings->toppings)
Backport of 946a2226ea from master
2013-09-23 19:25:19 -04:00
Ben Huckvale
a722dfda93 [1.5.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:40:27 -04:00
Ramiro Morales
8e51bea4fb [1.5.x] Fixed a couple of typos in GeoDjango docs.
8b366a50f4 from master.
2013-09-22 14:07:14 -03:00
mlissner
177270ea73 [1.5.x] Correct very minor typo
Just changed as to has.

Backport of d8f2d940cc from master
2013-09-21 18:18:46 -04:00
Curtis Maloney
b8e7730f3e [1.5.x] Fixed #21133 -- Clarifed documentation about strftime formatting.
Backport of 43a2ec7999 from master
2013-09-21 06:56:17 -04:00
Goetz
dbc2e8eb73 [1.5.x] Fixed #21101 -- Updated urlize documentation to mention email addresses
Backport of 39b49fd339 from master
2013-09-13 12:42:47 -04:00
Tim Graham
169594f5ae [1.5.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:52 -04:00
oz123
693ebff1a4 [1.5.x] Fixed #21075 - Improved doc for calling call_command with arguments.
Backport of fca4c4826e from master
2013-09-10 09:18:20 -04:00
Tim Graham
9d3a66aa9f [1.5.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:10 -04:00
Keith Edmiston
37587624bf [1.5.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:17:01 -04:00
Keith Edmiston
afc624cab0 [1.5.x] Fixed #19295 -- Documented that CachedStaticFilesStorage isn't compatible with runserver --insecure.
Backport of 028db97503 from master
2013-09-06 17:31:04 -04:00
Tim Graham
8f4552adf1 [1.5.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:46 -04:00
Jorge C. Leitão
6f44ef16cb [1.5.x] Added links to file docs.
Backport of d72f83c410 from master
2013-08-29 12:49:32 -04:00
Ramiro Morales
5547ba743c [1.5.x] Typos introduced in 57c82f909b. 2013-08-22 22:35:10 -03:00
Tim Graham
616a4d385a [1.5.x] Fixed #20922 -- Allowed customizing the serializer used by contrib.sessions
Added settings.SESSION_SERIALIZER which is the import path of a serializer
to use for sessions.

Thanks apollo13, carljm, shaib, akaariai, charettes, and dstufft for reviews.

Backport of b0ce6fe656 from master
2013-08-22 17:49:11 -04:00
Marc Tamlyn
3b32b1544f [1.5.x] Fixed #20944 -- Removed inaccurate statement about View.dispatch().
Backport of bac4d03ce6 from master
2013-08-22 09:21:41 -04:00
Ramiro Morales
9a7d59e8c7 [1.5.x] Made description of LANGUAGE_CODE setting more clear.
297f5af222 from master.
2013-08-22 08:34:19 -03:00
Kevin Christopher Henry
bbe2ad3e38 [1.5.x] Documentation - Noted that OneToOneField doesn't respect unique.
Added OneToOneField to the list of model fields for which the unique
argument isn't valid. (OneToOneFields are inherently unique, and if
the user supplies a value for unique it is ignored / overwritten.)
2013-08-20 21:21:40 -07:00
Tim Graham
3a829bf75a [1.5.x] Added some doc links for django.contrib.messages
Backport of b6178fa24b from master
2013-08-14 13:05:30 -04:00
Tim Graham
70cf70ad21 [1.5.x] Added an anchor for django.forms.Form.clean in docs
Backport of 8442268869 from master
2013-08-08 14:14:20 -04:00
Jaime Irurzun
d8dc2b123d [1.5.x] Clarified meaning of models.User.is_authenticated()
Backport of f96fe3cd1e from master
2013-08-08 10:27:48 -04:00
Daniele Procida
bf55bbdcb5 [1.5.x] Added more on @cached_property, refs #20870
Backport of 7e6af9d40c from master
2013-08-08 09:47:30 -04:00
Daniele Procida
e8ea55212b [1.5.x] Fixed #20870 -- Documented django.utils.functional.cached_property
Backport of 7a2296eb5b from master
2013-08-08 05:36:57 -04:00
Julien Phalip
fcc8381505 [1.5.x] Fixed a small formatting issue.
Backport 0b071ba7df7394b9 of from master.
2013-08-04 17:31:42 -07:00
Tim Graham
56d56d55b1 [1.5.x] Fixed #20860 -- Removed references to defunct chicagocrime.org
Backport of 1593a86494 from master
2013-08-04 14:46:45 -04:00