1
0
mirror of https://github.com/django/django.git synced 2025-01-18 22:33:44 +00:00

20206 Commits

Author SHA1 Message Date
Yoong Kang Lim
b8f203b3f2 [1.8.x] Fixed #24667 --- Repaired model_fields cardinality test
Backport of 36eab95e7fde7fad4368192ddbef4e2dbb32dc91 from master
2015-04-20 09:41:38 -04:00
Marco Santamaria
1e0bf2cab9 [1.8.x] Fixed #11078 -- Removed inaccurate docs about proxy models Meta.
Backport of bae72bdd2aa93472617ed28fc3d5a01f0920ea6e from master
2015-04-20 09:17:28 -04:00
Claude Paroz
ff6e8681a3 [1.8.x] Fixed #24658 -- Added missing Meta attribute in schema tests
Without that, the Note model would be initially created and then
the tests using that model failed when run in isolation.
Backport of f54c0ec06e from master.
2015-04-19 00:08:21 +02:00
Shai Berger
8363f217f2 [1.8.x] Fixed #24595 Oracle test failure
The only problem for Oracle was the test, which tested nullity on
text/char fields -- but Oracle interprets_empty_strings_as_null.

Backport of d5a0acc from master
2015-04-18 18:55:54 +03:00
Tim Graham
ae47854a25 [1.8.x] Removed DateTimeQuerySet from docs.
Obsolete since refs #23867.

Backport of e9fdecf98417e39a93c81a854a780550321a9795 from master
2015-04-18 10:14:38 -04:00
Tim Graham
bd0883d5cc [1.8.x] Fixed typo in docs/releases/1.8.1.txt 2015-04-17 11:25:55 -04:00
Eric Whitmire
901de5fbce [1.8.x] Fixed #24655 -- Fixed JavaScript path of contrib.admin's related field widget 2015-04-17 11:22:22 -04:00
Tim Graham
f21dd827b7 [1.8.x] Fixed #24657 -- Fixed include template tag example.
Thanks pattypatpat for the report.

Backport of f47c796b52a3c504d487c2484153fa5d90a25a74 from master
2015-04-17 07:54:56 -04:00
Claude Paroz
bbfcd9618b [1.8.x] Fixed #24595 -- Prevented loss of null info in MySQL field alteration
Thanks Simon Percivall for the report, and Simon Charette and Tim
Graham for the reviews.
Backport of 02260ea3f6 from master.
2015-04-17 11:01:36 +02:00
Tim Graham
d0b18542f7 [1.8.x] Fixed gis_tests when run without GIS dependencies.
Backport of ed336a1a5d3991acef2208b7aaf9fbe99af48a14 from master
2015-04-16 20:01:30 -04:00
Tim Graham
9e5e4914ef [1.8.x] Fixed #24646 -- Fixed jinja2 example on Python 2.
Backport of d974c89ebb8a59d91f664035d98d42dbb5cdd592 from master
2015-04-16 19:33:07 -04:00
Anssi Kääriäinen
581afddc77 [1.8.x] Fixed #24605 -- Fixed incorrect reference to alias in subquery.
Thanks to charettes and priidukull for investigating the issue, and to
kurevin for the report.

Backport of 355c5edd9390caad5725375abca03460805f663b from master
2015-04-16 09:31:29 -04:00
Daniel Lindsley
1e594b257e [1.8.x] Fixed #23984 -- Added Javascript i18n documentation
This fleshes out the documentation around all of the exported
Javascript functions available from the ``javascript_catalog``
view.

Backport of 8ca9bc5ec326c0b01634dac264a9ba6f0857483e from master
2015-04-16 08:19:30 -04:00
Abdulrahman Alotaibi
5678e4b93a [1.8.x] Fixed #24644 -- Added HTTP_ACCEPT to example headers list.
Backport of 62261ddd0f2d5f2e6bcce013f2913cdb1b1f0be0 from master
2015-04-16 07:39:33 -04:00
Tim Graham
6e5e1a380c [1.8.x] Fixed #24645 -- Documented use of HStoreExtension.
Backport of d3bf5e7b0016edc02e125699c0b0d3aa93404940 from master
2015-04-16 07:25:38 -04:00
Anssi Kääriäinen
70ff455a35 [1.8.x] Fixed #24615 -- ordering by expression not part of SELECT
Fixed queries where an expression was used in order_by() but the
expression wasn't in the query's select clause (for example the
expression could be masked by .values() call)

Thanks to Trac alias MattBlack85 for the report.
Backport of fb5c7748da from master.
2015-04-16 09:42:42 +02:00
Jon Dufresne
c38d8f0f87 [1.8.x] Fixed model_fields tests to use django TestCase.
Backport of 97bb48d9ba864060d57a3137fb9c456b98ecc79b from master
2015-04-15 08:19:55 -04:00
Simon Charette
a988cc8f18 [1.8.x] Fixed typos in the 1.7.7 release notes.
Backport of 28e89783254ac0899a26eee324555a9033ccbe9a from master
2015-04-14 22:14:52 -04:00
Tim Graham
62012b071e [1.8.x] Removed docs for removed transaction APIs.
Backport of 6b8c969878fb937c94eaf2cdc3de94554f171bdd from master
2015-04-14 13:53:18 -04:00
Markus Holtermann
c8b89964de [1.8.x] Fixed title in 1.7.8 release notes
Refs 309142dba10e24557b67a2734aa67d56518c0b14

Backport of 825bb0ab08cec353edcd2b9aea651bfe9392ef97 from master
2015-04-14 19:28:03 +02:00
Andrew Pinkham
b1d83209d0 [1.8.x] Fixed #24635 -- Updated deprecated urls.py examples in default project template.
Backport of 0b5abb03218ff0c575cee0c83e446bab81cbfadd from master
2015-04-14 12:58:31 -04:00
peterfarrell
309142dba1 [1.8.x] Fixed #24637 -- Fixed database introspection with SQLite 3.8.9.
Backport of f8e8853b51476af1cc75a229dadc990c9ccf45ec from master
2015-04-14 11:30:21 -04:00
Joe Borg
6724ae1185 [1.8.x] Added missing periods in migrate help messages.
Backport of 503bbc49d894586934b520bafe116b2c40bb45ec from master
2015-04-14 08:10:39 -04:00
Tim Graham
42f9bbd9d9 [1.8.x] Fixed typos in docs/ref/templates/api.txt
Backport of c612786cf15e2e1d00162ed4e335e83b75e6c978 from master
2015-04-14 07:58:36 -04:00
Maxime Lorant
e560bc2a3e [1.8.x] Fixed formatting in docs/ref/templates/builtins.txt
Backport of 6023312dde022d31d44373e8834431456095dc7c from master
2015-04-14 07:05:57 -04:00
Markus Holtermann
584c6591a3 [1.8.x] Refs #24625 -- Filtered docutils warnings output in tests
Instead of setting ``warning_stream`` in the docutils config overrides
to ``False`` I opted for filtering the stderr in the tests to keep the
error output showing up in server logs.

Thanks Tim Graham for the report and review

Backport of 3caf7efb44712f89d6552076c240a3c898673a2c from master
2015-04-14 11:27:57 +02:00
Jay Wineinger
496800b3bf [1.8.x] Fixed #24611 -- Fixed update() crash with related UUID pk object.
Backport of 923da0274a9a8c4ef2ac9776f71bd14628e39fc3 from master
2015-04-13 12:20:41 -04:00
Afriza N. Arief
3928270495 [1.8.x] Fixed typo in docs/howto/deployment/wsgi/apache-auth.txt
Backport of b295fcd19c00706d7f60db73741c1311ee141409 from master
2015-04-13 07:51:08 -04:00
Markus Holtermann
3862826fed [1.8.x] Fixed #24625 -- Prevented arbitrary file inclusion in admindocs
Thanks Tim Graham for the review.

Backport of 09595b4fc67ac4c94ed4e0d4c69acc1e4a748c81 from master
2015-04-11 21:12:09 +02:00
Claude Paroz
774d09a7dd [1.8.x] Fixed #24624 -- Replaced obsoleted rel.opts in admindocs view
Thanks Scott Sanders for the report, and Markus Holtermann and
Tim Graham for the reviews. Refs #24381.
Backport of 4e7ed8d0d from master.
2015-04-11 15:34:02 +02:00
andredelorme
190afb8618 [1.8.x] Fixed typo in docs/ref/contrib/admin/index.txt
Backport of d5d92260bbc5b00abc9d59a1987efb6a322bd3cd from master
2015-04-09 13:44:31 -04:00
Tim Graham
b1dc128a03 [1.8.x] Fixed #24578 -- Fixed crash with QuerySet.update() on FK to O2O fields.
Thanks Anssi Kääriäinen for review.

Backport of 10b4c010ab2cdaa6ba8bfaec3e3540299ea77be from master
2015-04-09 08:24:07 -04:00
Tim Graham
d11e87bff5 [1.8.x] Fixed #24602 -- Removed obsolete reference to __metaclass__ in custom model fields docs.
Thanks schinckel for the report.

Backport of 6d7784a7b994eb8287ec851b22acb5170e77a90a from master
2015-04-08 08:36:41 -04:00
Tim Graham
9e87017a38 [1.8.x] Fixed #24600 -- Fixed inaccurate example in template Context docs.
Thanks pattypatpat for the report.

Backport of 3acefcefeb5283473ac35d7e842027814d57d574 from master
2015-04-08 07:30:28 -04:00
lampslave
e2294b453c [1.8.x] Fixed typo in docs/ref/models/expressions.txt
Backport of 800240cb1dda2c4ff7182df3566d744c6c377bf7 from master
2015-04-07 13:59:20 -04:00
Tim Graham
993074d78d [1.8.x] Fixed #24429 -- Doc'ed that Django 1.8 doesn't require an integer PK for custom user models.
Backport of 981e3b9394022810bd536474344e2f91c190b858 from master
2015-04-07 10:47:48 -04:00
Patrik Lundin
b3d36c3514 [1.8.x] Specified file names for example code in docs/topics/forms/index.txt
Backport of f9c212d09ad59cd5b5d9be06e92be87d44c75d95 from master
2015-04-07 09:35:39 -04:00
Patryk Zawadzki
9f632dc702 [1.8.x] Fixed #24513 -- Made sure a model is only rendered once during reloads
This also prevents state modifications from corrupting previous states.
Previously, when a model defining a relation was unregistered first,
clearing the cache would cause its related models' _meta to be cleared
and would result in the old models losing track of their relations.

Backport of 0385dad073270c37f8c4a5f13edce43f2a69ba8a from master
2015-04-07 14:56:33 +02:00
Marios Zindilis
f5681f1cbf [1.8.x] Fixed typo in docs/intro/tutorial02.txt
Backport of 7a7c797234aede7603e92a0a90b9f4c4a8b92a0c from master
2015-04-07 07:41:46 -04:00
Thomas Güttler
ffa5a7550d [1.8.x] Added admonition about reusable apps and AUTH_USER_PROFILE.
Backport of 566c9362363f4b65cc64a35f907c2d6c39d0289e from master
2015-04-06 19:50:23 -04:00
Jon Dufresne
551d4bb46a [1.8.x] Fixed #24584 -- Fixed microsecond handling with older MySQLdb
Backport of 2cf58e80d from master.
2015-04-06 22:45:36 +02:00
Marten Kenbeek
773387ce42 [1.8.x] Fixed #24278 -- Fixed serialization of migration operations.
Fixed MigrationWriter.serialize() to correctly handle migration
operations by utilizing OperationWriter.

Thanks Piotr Maliński for the report.

Backport of e8e4f978dd4b7a3d0c689c6e3301e3c6f9e50003 from master
2015-04-05 20:29:27 +02:00
Marten Kenbeek
651cc369ad [1.8.x] Refs #24278 -- Allowed multi-line serializations in OperationWriter.
Changed OperationWriter to support multi-line serialized values with
correct indentation.

Backport of d597174bd4cfd9a0e1b34dae8b4d8d027a8cab72 from master
2015-04-05 20:29:21 +02:00
Tim Graham
9b815399d2 [1.8.x] Added link to download page to find supported versions.
Backport of 8c4827ec1d44fee05db189766174c115795a495e from master
2015-04-04 08:00:30 -04:00
Tim Graham
3313156d8e [1.8.x] Fixed flake8 warning. 2015-04-04 07:50:53 -04:00
Claude Paroz
3a76276212 [1.8.x] Fixed #24569 -- Made some translation functions accept None value
get_language() can return None when translations are deactivated.
Thanks Nicola Peduzzi for the reporti and Tim Graham for the review.
Backport of 7a0d9b5cda from master.
2015-04-04 10:58:54 +02:00
Claude Paroz
7821f856a6 [1.8.x] Fixed #24571 -- Restored testserver positional arguments parsing
Thanks Domas Lapinskas for the report and Tim Graham for the
review.
Backport of 426b63ba04 from master.
2015-04-04 10:48:40 +02:00
Sam Thursfield
5cc0407e45 [1.8.x] Fixed #24556 -- Added reminder about HTTPS to passwords docs.
Backport of 1119063c69eb4fc091c212e59462f3ec3d5676a4 from master
2015-04-03 10:55:35 -04:00
Preston Timmons
7ae7600d2b [1.8.x] Updated docstring for firstof tag to reflect new auto-escaping behavior.
Backport of a1842e3299daf3bde0ab5d418c912a265e7479c9 from master
2015-04-03 07:29:09 -04:00
Ian Lee
dcf2bbf0f0 [1.8.x] Fixed minor typo in Cryptography section of 1.8 release notes
Backport of 90c4c300a816e92f559bcec19c0778499efc19ef from master
2015-04-03 07:27:15 -04:00