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
Claude Paroz
05a781a475
[1.8.x] Removed source strings from translated po files
2015-04-01 14:54:07 +02:00
Markus Holtermann
2218f7617e
[1.8.x] Refs #24554 -- Prevented rendering of unused migrations
...
Thanks Claude Paroz and Tim Graham for the review
Backport of 3e7d9d05ac5efff4e4732c3453c7a8ef502d0ed0 from master
2015-04-01 11:14:55 +02:00
Markus Holtermann
0c7e2833d9
[1.8.x] Fixed #24554 -- Sped up migrations by rendering initial apps when they are first needed
...
Calling Migration.mutate_state() now also allows to do in_place
mutations in case an intermediate state is thrown away later.
Thanks Anssi Kääriäinen for the idea, Ryan Hall for parts of the patch,
and Claude Paroz and Tim Graham for the review
Backport of 57dc8dd3fa3c3adf133c522ecadb501d94bacd52 from master
2015-04-01 11:14:55 +02:00
Joost Rijneveld
9e9914701a
[1.8.x] Fixed typo in docs/ref/templates/builtins.txt
...
Backport of 48ddc66219deaac2aa5fa3d2cb0f420404d6b8ec from master
2015-03-31 21:21:50 -04:00
Kostochko Dmitriy
c2674c2103
[1.8.x] Fixed typo in docs/topics/cache.txt
...
Backport of d026eb63666a34382912cf68af75492fc583b9db from master
2015-03-31 21:16:26 -04:00
Tim Graham
7b9f7b6670
[1.8.x] Fixed sessions test on Python 3.5; refs #23763 .
...
SimpleCookie.__repr__() changed in
https://hg.python.org/cpython/rev/88e1151e8e02
Backport of 4e59156c10d36eeb1e6fced4dff0f11157f68264 from master
2015-03-31 08:41:31 -04:00
Tim Graham
793ecf6db7
[1.8.x] Documented jinja2 install requirement.
...
Backport of 56286542dbb7d1cca253b25de0eb3eb4392ff271 from master
2015-03-31 07:45:02 -04:00
Andriy Sokolovskiy
121c5f7d5b
[1.8.x] Removed duplicate attribute in MySQL DatabaseSchemaEditor.
...
Backport of 29b4a3f513f412fb4a987b777b61b596c09d217e from master
2015-03-30 19:24:06 -04:00
Jorge Barata González
2bddc74b42
[1.8.x] Fixed #15590 -- Documented how the path of a FileField can be changed.
...
Thanks simon29 for report, and freakboy3742, floledermann,
jacob, claudep and collinanderson for discussing the task.
Backport of 931a340f1feca05b7a9f95efb9a3ba62b93b37f9 from master
2015-03-30 10:39:14 -04:00
Christopher Luc
c4e8f21a9c
[1.8.x] Fixed #24281 -- Improved docs for timezone handling for auto_now and auto_now_add
...
Thanks djbug for the report and Aymeric Augustin and Carl Meyer for the
review.
Backport of 8119876d4a533fbc2ba4d1c30eaddbcc28119488 from master
2015-03-29 23:38:51 +02:00
Tim Graham
c0102dc7ff
[1.8.x] Fixed skipping of gis_tests when dependencies not installed.
...
Backport of ba1665ed75264e57b7bc6cd7606e072ad3050a3b from master
2015-03-28 09:39:49 -04:00
Tim Graham
a70dea2c06
[1.8.x] Fixed #24541 -- Clarified ModelFormSet's handling of initial data.
...
Backport of 6de3a1e2c34ae5bfcdec3ebbf3d682aa578ecae0 from master
2015-03-28 08:59:50 -04:00
Tim Graham
b0846a040e
[1.8.x] Fixed syntax highlighting in docs/topics/auth/default.txt
...
Backport of 3e132406e3a95b3fe54e75129013e10bf3e9e86a from master
2015-03-28 07:51:37 -04:00
SaeX
6f69e77a9e
[1.8.x] Fixed typo in docs/topics/forms/modelforms.txt
...
Backport of 19e41a9799079ddae3ba94f95d25577ab4232037 from master
2015-03-28 07:40:54 -04:00
Moritz Sichert
44a05a8a91
[1.8.x] Fixed #24469 -- Refined escaping of Django's form elements in non-Django templates.
...
Backport of 1f2abf784a9fe550959de242d91963b2ad6f7e9c from master
2015-03-27 20:01:41 -04:00
Tim Graham
6a2f46f238
[1.8.x] Fixed #24519 -- Clarified location of templates directory in tutorial 2.
...
Backport of 2acf9d099d29f45c829ee0127e55b7cfdd201995 from master
2015-03-27 09:58:44 -04:00