1
0
mirror of https://github.com/django/django.git synced 2025-04-09 15:59:41 +00:00

2801 Commits

Author SHA1 Message Date
Tim Graham
84ec3bfc11 [1.8.x] Fixed #25434 -- Documented HttpRequest.site and created a section for middleware attributes.
Thanks Nick Pope for the initial patch.

Backport of 02ef96c5e58d8d3492b6e38246c8268f1a0de47e from master
2015-10-24 09:59:36 -04:00
Sergey Fedoseev
b609296ab2 [1.8.x] Fixed #25603 -- Made clear that geometry's SRID is meant in docs for GEOSGeometry.transform.
Backport of 310049a5a from master.
2015-10-24 10:56:13 +02:00
Jacek Bzdak
d83454fbf2 [1.8.x] Fixed #25397 -- Documented class-based view context variable clash with context processors.
Backport of 494b7986a3e5996d857b085f188a630d1504d9ca from master
2015-10-23 15:24:18 -04:00
薛丞宏
415837543e [1.8.x] Clarified that the test client response content attribute is bytes.
Backport of 484edc81c1ebd195c333f3ea8d3f9ca882a17837 from master
2015-10-23 14:27:15 -04:00
Tim Graham
6861c2027d [1.8.x] Fixed #21894 -- Corrected a form.clean() example in case a superclass doesn't return data.
Backport of 80855a4b3787bace050a8b4a2b80f79306e69812 from master
2015-10-21 13:53:56 -04:00
Jacek Bzdak
3e8234b77e [1.8.x] Fixed #25574 -- Documented {{ dict.items }} shadowing in for template tag docs.
Backport of 32cd7069711d2e02fcd20c005c59c175d542c62e from master
2015-10-21 11:46:06 -04:00
Sergey Fedoseev
4171d208f4 [1.8.x] Fixed quotes in GeoQuerySet aggregates examples.
Backport of 92c1ae1b0b9955a511c19e07921c10126b6faa54 from master
2015-10-13 23:41:22 -04:00
Claude Paroz
15359f1fe9 Added precision about GeoJSON field outputs
Backport of 533c10998 from master.
2015-10-12 21:51:08 +02:00
Andrew Artajos
29c9a7d220 [1.8.x] Fixed #25398 -- Revised instances of os.path.join()
Replaced occurrences of os.path.join(BASE_DIR, 'folder/subfolder')
to os.path.join(BASE_DIR, 'folder', 'subfolder')

Backport of d2ef521a53 from master.
2015-10-03 09:10:26 +02:00
Nick Williams
2a8988c3b0 [1.8.x] Fixed link to the MySQL Connector/Python Django Backend documentation.
Backport of 3f342d74e9196da475dd312cf43eaffec13af964 from master
2015-10-02 12:33:26 -04:00
Tim Graham
f79682eaf2 [1.8.x] Fixed #25485 -- Improved deprecation docs for contenttypes reorganization. 2015-09-29 19:24:59 -04:00
Tim Graham
5ebf6fd891 [1.8.x] Fixed #24323 -- Documented @admin.register can't be used with super(XXXAdmin in __init__().
Backport of 4cd2bdae07ac5561fdae0eede58c68df4dfcc780 from master
2015-09-28 07:26:54 -04:00
Rob Hudson
4dcd4ef17e [1.8.x] Corrected use of 'affect' vs 'effect' in docs.
Backport of 021782d22b80ea57fdd5e040add58adeafaedc55 from master
2015-09-25 18:35:19 -04:00
Tim Graham
66f50e97d6 [1.8.x] Bumped latest Python 2.7 release in docs/ref/databases.txt.
Backport of ce531f7ad783facc5799cf43b59b5ce053aa5d9e from master
2015-09-24 10:57:00 -04:00
Tim Graham
e7064df44f [1.8.x] Fixed #25386 -- Warned about differences between Engine and DjangoTemplates.
Backport of 2634f606d55b63511ab1c50c4fad2d52fbda1b19 from master
2015-09-23 19:19:03 -04:00
Aymeric Augustin
76bf4bc111 [1.8.x] Recommended against default_app_config.
Most likely this is a losing fight -- people seem to love this small
convention -- but at least the reasons for avoiding it will be
documented.

Refs #25356.

Backport of 94a36cf from master
2015-09-22 08:32:39 +02:00
Flavio Curella
63147dfa07 [1.8.x] Fixed #25430 -- Fixed incorrect RunSQL examples.
Backport of 95edabb45e016ed269f96acc03d4a2bfcecd6b71 from master
2015-09-19 18:19:38 -04:00
Mariusz Felisiak
a0ce708c1c [1.8.x] Made assorted improvements to the Oracle documentation.
Backport of 6f1b09bb5c1bafe4633514cbff37f9a7ed7a63ae from master
2015-09-18 09:50:35 -04:00
Stephen Paulger
52c1212726 [1.8.x] Removed unnecessarily rude terminology.
Backport of 443dffbeb214da18a0a4204b5295c2b97df418ab from master
2015-09-16 09:35:37 -04:00
Tim Graham
8388f24e79 [1.8.x] Fixed #25369 -- Corrected syndication's get_object() example.
Backport of 64d7a553e1be20174b0aa2882111049abf392d4f from master
2015-09-14 15:30:31 -04:00
Tim Graham
2955dfdeca [1.8.x] Refs #25386 -- Added links to the OPTIONS of the built-in template backends.
Backport of f3e5a746469401a16939de0fc17fed584ced2118 from master
2015-09-12 18:43:57 -04:00
Tim Graham
95c00c40ae [1.8.x] Refs #25381 -- Clarified that AppConfig model methods search only the current app.
Backport of e7e8d30cae9457339eb49ae8584e82ff0a038e99 from master
2015-09-11 14:09:15 -04:00
Renato Oliveira
f328ebdede [1.8.x] Fixed #25382 -- Removed obsolete references to DateQuerySet.
Backport of e3720b990a33ae259da4b1f1f6069aa6bbc8c03d from master
2015-09-11 12:21:11 -04:00
Jose Carlos Menezes
d32edd8c99 [1.8.x] Fixed #25351 -- Added example for database test settings to docs.
Backport of cf99bae53af2ed8f73622bc8a8ed0331c272fda3 from master
2015-09-11 08:19:32 -04:00
Flavio Curella
501b32b255 [1.8.x] Fixed #25380 -- Added Postgres.app to the PostGIS options on OS X.
Backport of 0c7c18cc9e80101c882749c99437ad700fde0ca0 from master
2015-09-11 08:00:07 -04:00
Bibhas
72219d7b32 [1.8.x] Fixed #25371 -- Added reverse_sql and reverse_code examples to docs.
Backport of 4283a038431ef6428d086d4911179bd8eb8b2299 from master
2015-09-09 14:21:17 -04:00
Tim Graham
26658ccb0e [1.8.x] Removed some discussion of deprecated {% url %} behavior.
Backport of dbd8e32f7495fed54203376493f09adc474ebde1 from master
2015-09-05 11:56:13 -04:00
David Sanders
e060d57e9a [1.8.x] Added default value for default kwargs for QueryDict.
Backport of 48c420d99209b147b58d7b873d1b54f76249c8dc from master
2015-09-05 08:23:16 -04:00
Maxime Lorant
7dabaa8ee3 [1.8.x] Refs #25345 -- Updated links to code.google.com.
Backport of c92cd22d02349b73d169a3a2ff3b6fe7a54bfb0c from master
2015-09-04 08:18:22 -04:00
Tim Graham
800a162c0c [1.8.x] Moved misplaced versionadded annotation.
Backport of 12083c5d47a8db1193e401fca1520da5d4a31668 from master
2015-09-03 08:58:54 -04:00
Tim Graham
4f83bfa9e5 [1.8.x] Refs #2495 -- Documented that MySQL cannot have TextField(unique=True).
Backport of e8cbc2b322d873a6fe39faca18d340ce93035087 from master
2015-08-27 09:30:29 -04:00
David Sanders
0723a39a59 [1.8.x] Updated PROJ.4 link to new GitHub wiki.
Backport of 7efdd40407838dc3c922e0e62e9b4eefabe7de01 from master
2015-08-25 09:57:34 -04:00
Tim Graham
206534893f [1.8.x] Fixed #25309 -- Corrected that ATOMIC_REQUESTS applies per view not per request.
Backport of 2a1a085bf1355370205dd44fa60c6aab91ed0976 from master
2015-08-25 09:54:48 -04:00
Marc
3fa5229600 [1.8.x] Recommended the JavaScript Cookie library instead of jQuery cookie.
jQuery cookie is no longer maintained in favor of the JavaScript
cookie library. This also removes the jQuery dependency.

Backport of f9de1972685ab5ab31ce483a297d85d3e119088b from master
2015-08-19 10:05:01 -04:00
Anton Strogonoff
a67bf4be35 [1.8.x] Used consistent capitalization and hyphenation of "class-based views" in docs.
Backport of 20787b5c298d97dda10286a942a788423fed483f from master
2015-08-18 19:08:08 -04:00
Anton Strogonoff
e5663ec297 [1.8.x] Limited line length in docs/ref/contrib/messages.txt example.
Backport of d35f184b20743352dc41f1272184005054a36ae7 from master
2015-08-17 07:48:24 -04:00
Tim Graham
d2dfe3ae81 [1.8.x] Fixed #25268 -- Tweaked wording in docs/ref/forms/api.txt
Backport of 5b5a27942b2fa113df4d6eb3d77a33c85f58634f from master
2015-08-14 08:28:53 -04:00
Adam Brenecki
99b5649a07 [1.8.x] Fixed #24988 -- Documented passing a dictionary of ValidationErrors to ValidationError
Backport of 52a190b65781f8dc07abd230aaf9043fbdbf4fba from master
2015-08-13 17:43:06 -04:00
Tim Graham
312abecefd [1.8.x] Corrected indentation of JsonResponse docs.
Backport of 290145e6616b32a0b0c63f44b7c09d0a4af7dfd5 from master
2015-08-12 10:28:43 -04:00
Tim Graham
bcf5fb78d7 [1.8.x] Fixed typo in docs/ref/contrib/gis/geoquerysets.txt
Backport of 56ed80ac2a7dac6dc26754f7fe95941e8a6f124e from master
2015-08-11 09:33:44 -04:00
Tim Graham
e4b813c0e7 [1.8.x] Fixed #25160 -- Moved unsaved model instance data loss check to Model.save()
This mostly reverts 5643a3b51be338196d0b292d5626ad43648448d3 and
81e1a35c364e5353d2bf99368ad30a4184fbb653.

Thanks Carl Meyer for review.

Backport of 5980b05c1fad69eef907e0076aa2dc837edab529 from master
2015-08-10 11:31:22 -04:00
Tim Graham
2112879305 [1.8.x] Refs #25236 -- Discouraged use of ifequal/ifnotequal template tags.
Backport of 787cc7aa843d5c0834f56b5f8ae03b86ce553c51 from master
2015-08-08 08:55:51 -04:00
Tim Graham
43a05a93e9 [1.8.x] Corrected some inconsistent headings in docs/ref/templates/builtins.txt.
Backport of 7080cef7bf12c7985d6c81822296e70d13553ef4 from master
2015-08-08 08:55:37 -04:00
Claude Paroz
cda66497aa [1.8.x] Updated Wikipedia links to use https
Backport of 64982cc2fb from master.
2015-08-08 12:09:53 +02:00
Tim Graham
ce0f2a4a4f [1.8.x] Fixed #25213 -- Discouraged use of QuerySet.extra()
Thanks Anssi Kääriäinen for the draft text and Simon Charette
for review.

Backport of e8cd65f8297928d3fa7ad3d338953a4423028713 from master
2015-08-05 08:15:44 -04:00
Tim Graham
6f6043fd26 [1.8.x] Fixed #25212 -- Documented the RawSQL expression.
Backport of 97fa7fe961f961b6c93a11b50a7a1ed35c8bce8d from master
2015-08-05 08:15:30 -04:00
Tim Graham
df05495e8c [1.8.x] Fixed #25224 -- Fixed typo in docs/ref/contrib/flatpages.txt
Backport of 28cb272a7279e6dfc4d5c53838ebf7343c3e66b5 from master
2015-08-04 14:52:24 -04:00
Tim Graham
f32bb3adf0 [1.8.x] Refs #17914 -- Discouraged using reverese() with callables.
Backport of a6acfc31837fd7a9e0e387320d995b2c85cfcfce from master
2015-08-03 08:38:27 -04:00
Tim Graham
ef5cf564bf [1.8.x] Fixed #24690 -- Added a warning about mutable defaults for ArrayField.
Backport of f93e7f5674436b230e6b4023570939a20c0c6055 from master
2015-08-01 07:53:33 -04:00
Tim Graham
386a6dc3d7 [1.8.x] Fixed #25174 -- Moved some details of CheckMessage to the reference guide.
Backport of faa2a0f662ed6fe0b90d10e98cc8ee3795d9307c from master
2015-07-31 08:51:13 -04:00