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

20139 Commits

Author SHA1 Message Date
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
Matt Hooks
5e4a69e07d [1.8.x] Fixed typo in django.core.files.File docstring.
Backport of 2c39f282b8389f47fee4b24e785a58567c6c3629 from master
2015-04-02 20:39:00 -04:00
Tim Graham
f718691ec8 [1.8.x] Removed Django 1.6 from the Python version chart.
Backport of 147ac856131233b2960503c3cc0d65059a57851a from master
2015-04-02 14:22:29 -04:00
Baptiste Mispelon
09188b5024 [1.8.x] Fixed #24566 -- Added support for serializing timedelta
Thanks to knbk for the report.

Backport of 30a3c2f74c030449d3a8b9f02ab6744874712e54 from master.
2015-04-02 17:41:08 +02:00
Tim Graham
e7366ab1f9 [1.8.x] Fixed mistakes in tests unveiled by version bump to 1.8.1. 2015-04-02 07:01:42 -04:00
Krzysztof Gogolewski
b0512db5c4 [1.8.x] Fixed typo in docs/internals/deprecation.txt 2015-04-01 19:01:44 -04:00
Aymeric Augustin
ae4d21e159 [1.8.x] Pointed Jinja2 users to Babel instead of makemessages.
Backport of 8520551 from master
2015-04-01 22:37:39 +02:00
Tim Graham
0c01913d55 [1.8.x] Added stub release notes for 1.8.1.
Backport of 1b605838bf1fa5527fd82b0f94d11c43d41f3f81 from master
2015-04-01 16:18:47 -04:00
Tim Graham
349c15b45e [1.8.x] Post-release version bump. 2015-04-01 16:18:03 -04:00
Tim Graham
feac4c30ce [1.8.x] Bumped version for 1.8 release. 1.8 2015-04-01 15:46:45 -04:00
Tim Graham
2011c7a031 [1.8.x] Added release date for Django 1.8.
Backport of 61d6c5d02effef8852d344e4fcaf0754fd47d741 from master
2015-04-01 15:31:16 -04:00
Claude Paroz
72de42cd40 [1.8.x] Refs #24500 -- Avoided locale.getpreferredencoding in makemessages
Fixes a regression introduced in 53c2cf1e.
Backport of 3f4e77840 from master.
2015-04-01 20:03:51 +02:00
Claude Paroz
70c5031d56 [1.8.x] Adapted form regression test to new translations
Backport of 2112b7d78 from master.
2015-04-01 19:53:11 +02:00
Tim Graham
5a4f95805f [1.8.x] Refs #24538 -- Simplified a test per Aymeric's feedback.
Backport of a184a99123e4dc4c2a90c20e1604e5d301cd76bf from master
2015-04-01 13:19:57 -04:00
Tim Graham
5c63c45512 [1.8.x] Fixed #23441, #24555 -- Improved the behavior of InclusionNode.
This change:

* Makes the InclusionNode cache-safe by removing render-time side effects
  to its nodelist.
* Ensures the render_context stack is properly scoped and reset by updating
  the render call to use Template.render rather than Nodelist.render.

Backport of 0808ccce3808235c5b5a56e3f689cec0d4bc0ebf from master
2015-04-01 13:12:18 -04:00
Tim Heap
ff8eabc5cc [1.8.x] Fixed #24538 -- Allowed self in Jinja context
Rendering a Jinja template with self in the context threw an error.
While self is a reserved variable in Jinja, including self in the
context is not an error, so Django should respect that.

Backport of 4ea1909d3c420ba1fbdbf7221cad518d43aef885 from master
2015-04-01 12:27:52 -04:00
Claude Paroz
5483c66f85 [1.8.x] Fetched updated contrib translations from Transifex 2015-04-01 15:05:29 +02:00
Claude Paroz
d1b206daf8 [1.8.x] Fetched updated core translations from Transifex 2015-04-01 14:54:32 +02:00