Tim Graham
01c00dc631
[1.7.x] Fixed possible "RuntimeError: maximum recursion depth exceeded" building docs.
...
Backport of 6a71ac61bd8ebd57f036e076a4f7f29cf2d88c00 from master
2016-02-16 09:37:01 -05:00
Ramon Moraes
6a6ef95be8
[1.7.x] Updated xhtml2pdf URL in docs.
2016-02-16 07:06:01 -05:00
Tim Graham
82e651e948
[1.7.x] Fixed typo docs/ref/models/relations.txt
...
Backport of dfd4bd5fc5236d6e237c60be8599bb6fff6b0bc0 from stable/1.8.x
2015-11-30 18:49:54 -05:00
Tim Graham
2d66d04e73
[1.7.x] Bumped version for 1.7.11 release.
2015-11-24 11:30:11 -05:00
Tim Graham
e6c631e68e
[1.7.x] Added release date for 1.7.11 release.
2015-11-24 10:48:46 -05:00
Florian Apolloner
8a01c6b531
[1.7.x] Fixed a settings leak possibility in the date template filter.
...
This is a security fix.
2015-11-16 21:06:32 -05:00
Tim Graham
3bd43598f7
[1.7.x] Refs #23751 -- Added some unicode characters to the latex preamble.
...
Thanks Graham Wideman for the patch.
Backport of a80d70dd10f3c7d483579734e524c94c62832070 from master
2015-11-16 20:41:10 -05:00
Tim Graham
904c47bc06
[1.7.x] Fixed #23751 -- Fixed code snippet formatting in docs PDF.
...
Thanks Graham Wideman for the patch.
Backport of e48a5b5a03181b3ada6183595eb6e1c599a9657a from master
2015-11-16 20:41:06 -05:00
Tim Graham
a4973c8f28
[1.7.x] Bumped mysqlclient test requirement to >= 1.3.7.
...
mysqlclient 1.3.7 fixes the test failures caused by 1.3.6.
Backport of 2514e044a7fce58176c4e79eec298f3d8f70e89b from master
2015-11-12 21:35:30 -05:00
Simon Charette
fd1426570e
[1.7.x] Refs #25693 -- Added a regression test for to_attr
validation on forward m2m.
...
Backport of cc8c02fa0fa2119704d1c39ca8509850aef84acc from master
2015-11-11 12:42:53 -05:00
Simon Charette
3d037b9f68
[1.7.x] Refs #25693 -- Avoided redundant calls to get_fields() in to_attr
validation.
...
Conflicts:
django/db/models/query.py
Backport of cc8c02fa0fa2119704d1c39ca8509850aef84acc from master
2015-11-11 12:36:59 -05:00
Ian Foote
6184cb9baa
[1.7.x] Fixed #25693 -- Prevented data loss with Prefetch and ManyToManyField.
...
Thanks to Jamie Matthews for finding and explaining the bug.
Backport of 4608573788c04fc047da42b4b7b48fdee8136ad3 from master
2015-11-11 00:58:53 -05:00
Tim Graham
85a41b449b
[1.7.x] Fixed #23985 -- Documented a backwards incompatible change in URLValidator.
...
Backport of 8c5b8018f69226389a1373523c41cd37883c9556 from master
2015-10-29 18:07:09 -04:00
Tim Graham
afcbdf2805
[1.7.x] Documented Python 3.5 support for Django 1.8.
...
Backport of d27085b02d58ecf8b72e7189b6a5feaf634ec977 from stable/1.8.x
2015-10-26 10:17:21 -04:00
Nick Williams
e03fe2f6bb
[1.7.x] Fixed link to the MySQL Connector/Python Django Backend documentation.
...
Backport of 3f342d74e9196da475dd312cf43eaffec13af964 from master
2015-10-02 12:34:11 -04:00
Tim Graham
5172bb9eec
[1.7.x] Documented auth's login/logout function parameters.
...
Backport of c14b6b52ff131db263bf06a02f903a73390975da from master
2015-09-28 14:13:02 -04:00
Tim Graham
8f42934f86
[1.7.x] Refs #24361 -- Corrected documented level of the 'django' logger.
...
The logger doesn't define an explicit level, therefore it defaults
to WARNING.
Backport of 4a06a904dcd27388ec9a3cfb2bc8a8421bb44816 from stable/1.8.x
2015-09-23 11:22:28 -04:00
Tim Graham
fc94944183
[1.7.x] Added a version requirement to python-memcached in test requirements.
...
Backport of 12a62e7e4b8e6d1136aa4457619449cbbcf9dd7c from master
2015-09-17 15:12:06 -04:00
Tim Graham
5c603a178b
[1.7.x] Added a version requirement to mysqlclient in test requirements.
...
Backport of fc8a6a9b002aef90ff68f3d95e560db1ea728c76 from master
2015-09-17 15:11:48 -04:00
David Sanders
9cc6a606c6
[1.7.x] Added default value for default kwargs for QueryDict.
...
Backport of 48c420d99209b147b58d7b873d1b54f76249c8dc from master
2015-09-05 08:22:35 -04:00
Tim Graham
2d2eeff3b1
[1.7.x] Refs #25144 -- Revised deprecation timeline: migrations won't become compulsory.
...
Backport of e133b55943f26e87cff5b22215a776a9ce3fc6f3 from master
2015-09-04 09:59:49 -04:00
Tim Graham
c0f9957cea
[1.7.x] Fixed typo in tests/migrations/test_autodetector.py.
...
Backport of 01966bb2a779f68d1a371acb1bf814fac7bb5132 from master
2015-08-20 14:52:41 -04:00
Markus Holtermann
6c61cea83a
[1.7.x] Fixed style issues in testing docs
...
Backport of f33607ce0b744794f6ceafa1dddffbcb32e90978 from master
2015-08-19 21:57:57 +10:00
Tim Graham
665b9eb5e2
[1.7.x] Post-release version bump.
2015-08-18 13:30:35 -04:00
Tim Graham
abb8dda6c9
[1.7.x] Bumped version for 1.7.10 release.
2015-08-18 08:38:33 -04:00
Tim Graham
2f5485346e
[1.7.x] Fixed DoS possiblity in contrib.auth.views.logout()
...
Refs #20936 -- When logging out/ending a session, don't create a new, empty session.
Previously, when logging out, the existing session was overwritten by a
new sessionid instead of deleting the session altogether.
This behavior added overhead by creating a new session record in
whichever backend was in use: db, cache, etc.
This extra session is unnecessary at the time since no session data is
meant to be preserved when explicitly logging out.
Backport of 393c0e24223c701edeb8ce7dc9d0f852f0c081ad,
088579638b160f3716dc81d194be70c72743593f, and
2dee853ed4def42b7ef1b3b472b395055543cc00 from master
Thanks Florian Apolloner and Carl Meyer for review.
This is a security fix.
2015-08-18 08:24:51 -04:00
Tim Graham
95af894668
[1.7.x] Added stub release notes for security releases.
2015-08-18 08:24:46 -04:00
Tim Graham
16b1be70ab
[1.7.x] Fixed typo in docs/ref/contrib/gis/geoquerysets.txt
...
Backport of 56ed80ac2a7dac6dc26754f7fe95941e8a6f124e from master
2015-08-11 09:33:50 -04:00
Tim Graham
64a118c1eb
[1.7.x] Fixed #25224 -- Fixed typo in docs/ref/contrib/flatpages.txt
...
Backport of 28cb272a7279e6dfc4d5c53838ebf7343c3e66b5 from master
2015-08-04 14:52:30 -04:00
Claude Paroz
9efddb7f3e
[1.7.x] Updated GeoIP test for newer versions
...
Backport of 3f9dca62cb31a2b4b279b7d312a850660d21e91f from master
2015-07-30 18:17:13 -04:00
Tim Graham
4fc5b487a8
[1.7.x] Fixed #25183 -- Fixed non-deterministic GeoIP test.
...
google.com doesn't always resolve to an IP inside the United States.
Backport of 5b6ca150730cddb09ff8622d49b273d57b9c6703 from master
2015-07-30 18:12:42 -04:00
Tim Graham
0f4f75a308
[1.7.x] Fixed #25199 -- Fixed dead link to HTMLdoc.
...
Backport of e176de25127a2750ea1c6a705b2c0983b5782b41 from master
2015-07-30 13:26:40 -04:00
jorgecarleitao
b492921cf8
[1.7.x] Fixed typo in docs/ref/middleware.txt
...
Backport of 7c642cafbb9e9ab1ba3ee7bb3d8fe1c0a58e06e8 from master
2015-07-27 07:18:28 -04:00
Ali Vakilzade
50ca151276
[1.7.x] Fixed signature of ModelAdmin.get_paginator() in docs.
...
Backport of ecf4ed246ae192f8d381b799b921a892fd7afa85 from master
2015-07-20 08:08:32 -04:00
Tim Graham
eba3ec90ea
[1.7.x] Added 1.4.22 release notes.
...
Backport of 427a49f9e996d5d7712472ce287b80857086ee02 from master
2015-07-14 07:28:04 -04:00
Tim Graham
baebfe6860
[1.7.x] Post-release version bump.
2015-07-08 16:01:31 -04:00
Tim Graham
0cbe3c63af
[1.7.x] Bumped version for 1.7.9 release.
2015-07-08 07:36:17 -04:00
Tim Graham
ae49b4d994
[1.7.x] Prevented newlines from being accepted in some validators.
...
This is a security fix; disclosure to follow shortly.
Thanks to Sjoerd Job Postmus for the report and draft patch.
2015-07-08 07:35:43 -04:00
Carl Meyer
1828f4341e
[1.7.x] Fixed #19324 -- Avoided creating a session record when loading the session.
...
The session record is now only created if/when the session is modified. This
prevents a potential DoS via creation of many empty session records.
This is a security fix; disclosure to follow shortly.
2015-07-08 07:35:39 -04:00
Tim Graham
9eda28ac48
[1.7.x] Added security release note stubs.
2015-07-08 07:35:17 -04:00
Luke Plant
f23656cd1a
[1.7.x] Corrected example code for get_query_set upgrade in 1.6 release notes
...
The conditional setting of `get_query_set` is required for correct behaviour
if running Django 1.8. The full gory details are here:
http://lukeplant.me.uk/blog/posts/handling-django%27s-get_query_set-rename-is-hard/
Backport of f87e552d9842ff9591a9c51ebdb5f96e4dd54b00 from master
2015-07-08 11:07:52 +01:00
Tim Graham
2baf6826c9
[1.7.x] Backported .gitignore and .hgignore from master.
2015-07-01 10:32:24 -04:00
Marten Kenbeek
9bd3a2325e
[1.7.x] Refs #23621 -- Fixed warning message when reloading models.
...
Backport of aabb58428beae0bd34f32e5d620a82486b670499 from master
2015-06-30 15:01:28 -04:00
Tim Graham
1efda84a95
[1.7.x] Corrected Python version support info in docs/topics/install.txt
2015-06-17 11:30:43 -04:00
Tim Graham
207da07d59
[1.7.x] Fixed #24903 -- Fixed assertRaisesMessage on Python 2.7.10.
...
A regression found in in Python 2.7.10 rc1 wasn't reverted for the final
release: https://bugs.python.org/issue24134
Backport of two commits from master:
* c2bc1cefdcbbf074408f4a4cace88b315cf9d652
* e89c3a46035e9fe17c373a6c9cd63b9fd631d596
2015-06-09 16:14:49 -04:00
argaen
7ae53e7480
[1.7.x] Fixed import in docs/ref/contrib/syndication.txt
...
Backport of 1725d009918e7d37390d5abd34034f3defca5fc3 from master
2015-06-09 12:38:10 -04:00
Andriy Sokolovskiy
927d90ee1e
[1.7.x] Fixed #24817 -- Prevented loss of null info in MySQL field renaming.
...
Backport of 80ad5472ce4b6ba6e94227422d0727371e97cdf0 from master
2015-05-28 10:26:27 -04:00
I am Clinton
8bb369ef63
[1.7.x] Fixed mistakes in docs/topics/forms/formsets.txt examples.
...
Backport of 9c8a2ab81db1fa999862034d9e8e9e1d091a72e5 from master
2015-05-22 11:30:13 -04:00
latyas(懒)
198ad25a03
[1.7.x] Fixed typo in docs/ref/contrib/admin/index.txt
...
Backport of 8b106cfaa07dc04ad27a1a90c1eb03af80111695 from master
2015-05-20 09:03:33 -04:00
Tim Graham
3908c3cb71
Reverted "[1.7.x] Made minor edits to docs/intro/tutorial01.text"
...
This reverts commit ba4237c3b31906aa7cf1c2ec02751b878c962c53.
Claude asked that these fixes not be backported as they affect translations.
2015-05-19 13:00:45 -04:00
I am Clinton
ba4237c3b3
[1.7.x] Made minor edits to docs/intro/tutorial01.text
...
Backport of f3b51f51931d42cbba8a18e34d0aaee1b2f085bc from master
2015-05-19 12:33:41 -04:00
I am Clinton
4dc85b5936
[1.7.x] Fixed typos in docs/ref/request-response.txt
...
Backport of e4f0e5a981e1965bd6b6b5d51f87499fa5f780b3 from master
2015-05-18 09:46:27 -04:00
Charles Dee Rice
5dee28030c
[1.7.x] Fixed #24789 -- Fixed wrong positional args order in doc example
...
Arguments shown in example code (signal, sender, instance) appeared to
be the incorrect positional arguments for a post_save signal (which
might start as: sender, instance, created), as documented:
https://docs.djangoproject.com/en/1.8/ref/signals/#post-save
Backport of 4f3c44424187de20d7f75fdde6624b9f683a9cf2 from master.
2015-05-13 10:29:54 +02:00
I am Clinton
cb2fcabdd1
[1.7.x] Light edits to docs/topics/forms/index.txt
...
Backport of ec74dba2ab3f04fb828c0b926b49f63ec8486dd8 from master
2015-05-12 09:17:26 -04:00
Tim Graham
d92eaebf61
[1.7.x] Fixed #24780 -- Removed outdated discussion of signals and custom users.
...
Backport of 8e86d9d3dfd68bebbfd1dd5006e0c25696855269 from master
2015-05-11 09:10:47 -04:00
Sławomir Ehlert
edeb257084
[1.7.x] Fixed typos in docs/ref/contrib/gis/geoquerysets.txt
...
Backport of 64ed8cdc9f2f7333b2a9fd6b318f520278c39293 from master
2015-05-06 09:59:28 -04:00
Simon Baechler
d42cbde0c6
[1.7.x] Refs #21357 -- Added a working session example to the docs.
2015-05-05 12:35:13 -04:00
José Padilla
285371bd76
[1.7.x] Fixed typo in translation import statement
...
Backport of b0bd1f0e19857ed8c085f4621c5b7fcfde5ec040 from master
2015-05-02 19:41:52 -04:00
Tim Graham
3d625cfc20
[1.7.x] Post-release version bump.
2015-05-01 16:46:11 -04:00
Tim Graham
8830c05c26
Bumped version for 1.7.8 release.
2015-05-01 16:37:45 -04:00
Tim Graham
57a0e7dda9
[1.7.x] Added dates to release notes.
...
Backport of 06aaed41a4a9b8da8aca5854a45e457c0b72210e from master
2015-05-01 16:25:20 -04:00
Dmitry Medvinsky
7ff6825377
[1.7.x] Added translation.override() context manager to docs.
...
Backport of cf34ee68f0d70cfbcba40524b5d1086ad94874e1 from master
2015-04-29 21:23:38 -04:00
Mounir
d99b9f4d23
[1.7.x] Fixed typo in docs/topics/i18n/translation.txt
...
Backport of 25b52d04f6eace3b702adf7c6ab68daf1867c7e3 from master
2015-04-28 12:53:58 -04:00
Tim Graham
f6ecb5407e
[1.7.x] Fixed #24704 -- Clarified system check interaction with runserver.
...
Backport of 0f2e82b9ec9797147945a6f9a402b5ae0fb1d9f4 from master
2015-04-25 15:06:49 -04:00
Nik Nyby
bb40d9820f
[1.7.x] Added missing comma in LocMemCache example.
...
Backport of 9d6914da668d9a38537d4c29e3601f06dd830477 from master
2015-04-24 20:29:29 -04:00
Daniel Harding
0b7d737d9f
[1.7.x] Updated startproject MIDDLEWARE_CLASSES in docs.
...
Backport of ad31bc0565914c4676bfb7c116c4be407a367be4 from master
2015-04-24 09:38:59 -04:00
Richard Eames
bcd7f396f9
[1.7.x] Fixed #24613 -- Added example to QuerySet.defer() documentation
...
Backport of dd99f57710bb4930561a6c049f54719af80850ec from master
2015-04-22 19:19:33 -04:00
Tim Graham
2dc82a8d27
[1.7.x] Fixed #24684 -- Typo in docs/topics/forms/modelforms.txt
...
Backport of 1418f7530455abf3e6f743164ae15ee6b2566a3c from master
2015-04-22 09:31:47 -04:00
Simon Charette
a297af972f
[1.7.x] Fixed #24674 -- Documented the correct NullBooleanField formfield.
...
Thanks to knbk for the report.
Backport of 37e23c606031d5b34197e196fb6e6fed0137bb37 from master
2015-04-20 15:20:29 -04:00
Anton
67bf6bb9f5
[1.7.x] Fixed typo in docs/topics/class-based-views/intro.txt
...
Backport of f5fbddf22f5e9b760e76ef35f104270026c60693 from master
2015-04-20 14:12:03 -04:00
Tim Graham
32871fc215
[1.7.x] Fixed #24668 -- Amended ModelAdmin.save_formset() example for #10284 .
...
Thanks Carsten Fuchs.
Backport of e15c55e2bf5eb2f1073d18b4ee6fdce2369820f2 from master
2015-04-20 10:50:04 -04:00
Marco Santamaria
276f760eaa
[1.7.x] Fixed #11078 -- Removed inaccurate docs about proxy models Meta.
...
Backport of bae72bdd2aa93472617ed28fc3d5a01f0920ea6e from master
2015-04-20 09:19:11 -04:00
Shai Berger
773ec512b1
[1.7.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 19:17:10 +03:00
Tim Graham
84142946c0
[1.7.x] Fixed #24657 -- Fixed include template tag example.
...
Thanks pattypatpat for the report.
Backport of f47c796b52a3c504d487c2484153fa5d90a25a74 from master
2015-04-17 07:55:03 -04:00
Claude Paroz
ada0845dda
[1.7.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 02260ea3f61b from master.
2015-04-17 10:48:13 +02:00
Anssi Kääriäinen
c3a9820251
[1.7.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:32:23 -04:00
Daniel Lindsley
bcb536004a
[1.7.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:46 -04:00
Abdulrahman Alotaibi
7002539a4e
[1.7.x] Fixed #24644 -- Added HTTP_ACCEPT to example headers list.
...
Backport of 62261ddd0f2d5f2e6bcce013f2913cdb1b1f0be0 from master
2015-04-16 07:39:48 -04:00
Simon Charette
ad63e70565
[1.7.x] Fixed typos in the 1.7.7 release notes.
...
Backport of 28e89783254ac0899a26eee324555a9033ccbe9a from master
2015-04-14 22:15:33 -04:00
Markus Holtermann
a5d79832fe
[1.7.x] Fixed title in 1.7.8 release notes
...
Refs d74903e4fb381576e5cb0cbfbd19555bcd255752
Backport of 825bb0ab08cec353edcd2b9aea651bfe9392ef97 from master
2015-04-14 19:29:04 +02:00
peterfarrell
d74903e4fb
[1.7.x] Fixed #24637 -- Fixed database introspection with SQLite 3.8.9.
...
Backport of f8e8853b51476af1cc75a229dadc990c9ccf45ec from master
2015-04-14 11:30:38 -04:00
Tim Graham
1b21666bd9
[1.7.x] Fixed typos in docs/ref/templates/api.txt
...
Backport of c612786cf15e2e1d00162ed4e335e83b75e6c978 from master
2015-04-14 07:58:52 -04:00
Maxime Lorant
4c9d79e116
[1.7.x] Fixed formatting in docs/ref/templates/builtins.txt
...
Backport of 6023312dde022d31d44373e8834431456095dc7c from master
2015-04-14 07:06:12 -04:00
Afriza N. Arief
dce97cb740
[1.7.x] Fixed typo in docs/howto/deployment/wsgi/apache-auth.txt
...
Backport of b295fcd19c00706d7f60db73741c1311ee141409 from master
2015-04-13 07:51:12 -04:00
Tim Graham
51e5e2efc6
[1.7.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:32 -04:00
Marios Zindilis
080e5dde54
[1.7.x] Fixed typo in docs/intro/tutorial02.txt
...
Backport of 7a7c797234aede7603e92a0a90b9f4c4a8b92a0c from master
2015-04-07 07:41:52 -04:00
Thomas Güttler
5f8016cdfe
[1.7.x] Added admonition about reusable apps and AUTH_USER_PROFILE.
...
Backport of 566c9362363f4b65cc64a35f907c2d6c39d0289e from master
2015-04-06 19:50:27 -04:00
Tim Graham
69f00f0091
[1.7.x] Added link to download page to find supported versions.
...
Backport of 8c4827ec1d44fee05db189766174c115795a495e from master
2015-04-04 08:00:33 -04:00
Sam Thursfield
abd625558b
[1.7.x] Fixed #24556 -- Added reminder about HTTPS to passwords docs.
...
Backport of 1119063c69eb4fc091c212e59462f3ec3d5676a4 from master
2015-04-03 10:55:45 -04:00
Krzysztof Gogolewski
b9cbf750d6
[1.7.x] Fixed typo in docs/internals/deprecation.txt
2015-04-01 19:02:26 -04:00
Joost Rijneveld
cb756f5dec
[1.7.x] Fixed typo in docs/ref/templates/builtins.txt
...
Backport of 48ddc66219deaac2aa5fa3d2cb0f420404d6b8ec from master
2015-03-31 21:22:02 -04:00
Kostochko Dmitriy
db165cf348
[1.7.x] Fixed typo in docs/topics/cache.txt
...
Backport of d026eb63666a34382912cf68af75492fc583b9db from master
2015-03-31 21:16:29 -04:00
Jorge Barata González
18f11072b8
[1.7.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:18 -04:00
Christopher Luc
19ddf59b26
[1.7.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:40:45 +02:00
Tim Graham
7c7d29adbe
[1.7.x] Fixed #24541 -- Clarified ModelFormSet's handling of initial data.
...
Backport of 6de3a1e2c34ae5bfcdec3ebbf3d682aa578ecae0 from master
2015-03-28 08:59:53 -04:00
Tim Graham
be865fe62e
[1.7.x] Fixed syntax highlighting in docs/topics/auth/default.txt
...
Backport of 3e132406e3a95b3fe54e75129013e10bf3e9e86a from master
2015-03-28 07:51:40 -04:00
SaeX
bd542cbff6
[1.7.x] Fixed typo in docs/topics/forms/modelforms.txt
...
Backport of 19e41a9799079ddae3ba94f95d25577ab4232037 from master
2015-03-28 07:41:00 -04:00
Tim Graham
da07f4b08f
[1.7.x] Fixed #24519 -- Clarified location of templates directory in tutorial 2.
...
Backport of 2acf9d099d29f45c829ee0127e55b7cfdd201995 from master
2015-03-27 09:58:47 -04:00
David Seddon
db4e160754
[1.7.x] Corrected typo in documentation
...
Backport of 0f6f80c2e7736ec4e2aa40287fe8c37ffff0a783 from master
2015-03-25 13:44:21 -04:00
Tim Graham
0121fb8148
[1.7.x] Fixed #24361 -- Clarified docs on reconfiguring logging.
...
Thanks Tuttle for the report and draft patch, and Carl Meyer for
help and review.
Backport of c633667da3605208ea5fc137f5322c599f48da69 from master
2015-03-24 12:26:29 -04:00
Matt Seymour
388dc33f5b
[1.7.x] Fixed #24501 -- Improved auth.decorators.user_passes_test() example.
...
Backport of fca14cd3f27a01f7ba1fe32ea9587fa75b85713a from master
2015-03-24 10:30:33 -04:00
David Seddon
b46643a47e
[1.7.x] Refs #14645 -- Documented bug with exclude() and multi-value relations
...
Backport of 6770b7ecd208a0746f181e54202fb829460c6490 from master
2015-03-20 17:52:05 -04:00
Claude Paroz
5cad259c12
[1.7.x] Fixed #23520 -- Explained that custom plural forms should be avoided
...
Thanks aruseni for the report.
Backport of 556eb67701 from master.
2015-03-20 20:47:04 +01:00
Tim Graham
b2a80f9053
[1.7.x] Fixed #24503 -- Corrected docs on how LANGUAGE_CODE works as a fallback.
2015-03-20 08:29:52 -04:00
Tim Graham
a81c224ad1
[1.7.x] Post-release version bump.
2015-03-18 20:17:41 -04:00
Tim Graham
159f3bfafc
[1.7.x] Bumped version for 1.7.7 release.
2015-03-18 08:52:17 -04:00
Tim Graham
2a4113dbd5
[1.7.x] Made is_safe_url() reject URLs that start with control characters.
...
This is a security fix; disclosure to follow shortly.
2015-03-18 08:51:51 -04:00
Tim Graham
e63363f8e0
[1.7.x] Fixed an infinite loop possibility in strip_tags().
...
This is a security fix; disclosure to follow shortly.
2015-03-18 08:51:21 -04:00
Tim Graham
26fd726274
[1.7.x] Added stub release notes for security releases.
2015-03-18 08:50:49 -04:00
Tim Graham
1189271371
[1.7.x] Refs #24487 -- Added upgrade tips about removal of SortedDict.
...
Thanks Pascal Chambon for the initial patch.
Backport of c5c8751147d41913a05e86097ea29ccc9fc2e5be from master
2015-03-17 13:42:57 -04:00
John Giannelos
cb48e192fb
[1.7.x] Fixed #24427 -- Stopped writing migration files in dry run mode when merging.
...
Also added display of migration to stdout when verbosity=3.
Backport of 8758a63ddbbf7a2626bd84d50cfe83b477e8de0a from master
2015-03-16 19:58:08 -04:00
Preston Timmons
eaf86858d4
[1.7.x] Documented Context.get() method.
...
Backport of 4d9414098bd98aacd241827a01f6ad2dff71f113 from master
2015-03-16 13:13:57 -04:00
HerHde
36fb3b39de
[1.7.x] Added missing punctuation in some comments in tutorial 5.
...
Backport of 39573a11db694a584de6ca2a858fa05ec4ea13e1 from master
2015-03-16 08:25:03 -04:00
Steven Das
2583ee2a7e
[1.7.x] Added comma to improve readability in 1.7 release notes.
...
Backport of 4f494ed0c60cdfc44b65aeea7f42f6b7245c03af from master
2015-03-16 08:17:15 -04:00
Matthew Wilkes
d0607a7eee
[1.7.x] Fixed #24354 -- Prevented repointing of relations on superclasses when migrating a subclass's name change
2015-03-14 15:35:16 -04:00
Tim Graham
0094ad227d
[1.7.x] Removed a broken link in the docs.
2015-03-14 15:06:55 -04:00
Floris den Hengst
08f38d19f8
[1.7.x] Fixed doc typos.
...
Backport of e42a720ba22a51c68d2316d425234a197eaff467 from master
2015-03-14 12:29:54 -04:00
Tim Graham
f8ed647435
[1.7.x] Refs #24462 -- Emphasized that order_by() clears previous ordering.
...
Backport of b9d9ab23bdcc404708aada664e718a9d56415ca3 from master
2015-03-13 15:42:09 -04:00
Andrei Kulakov
9bb451aedb
[1.7.x] Fixed #24052 -- Doc'd how to write data migrations with models in multiple apps.
...
Backport of b089759d6025582f36fbea3c4be3855c50b82462 from master
2015-03-13 13:25:34 -04:00
Claude Paroz
4e8b1648d0
[1.7.x] Documented gdal DataSource encoding parameter
...
Thanks Max Demars for the suggestion and Tim Graham for the review.
Backport of a8991b9b9f1 from master.
2015-03-13 16:42:25 +01:00
Remco Kranenburg
96bbade674
[1.7.x] Refs #23559 -- warned about consequences of letting users edit User model in admin.
...
Backport of f6b09a7f85c3b67b2011553838b079788c413432 from master
2015-03-13 08:51:27 -04:00
Ian Lee
639583ed1d
[1.7.x] Fixed typo in docs/howto/custom-template-tags.txt.
...
Backport of 7614efa2f9e169749ab109aab909fbc244fd76a9 from master
2015-03-13 08:14:35 -04:00
Ian Lee
311116aa64
[1.7.x] Documented how to use a non-root subdirectory with mod_wsgi.
...
Backport of 7f8588d22ea3b53ba55d05922b67e7b3a0a7c91c from master
2015-03-12 20:10:04 -04:00
Steven Das
8d3011ff5c
[1.7.x] Fixed typo in docs/ref/models/fields.txt
...
Backport of 53bc6e2e98b4889082049f50718b13f8d5d84b6b from master
2015-03-12 19:16:29 -04:00
Aksel Ethem
8084a68f78
[1.7.x] Fixed #24364 -- Doc'ed that ManifestStaticFileStorage shouldn't be used during testing.
...
Backport of b4d8b16e5109170614ba505e36f60c2ad64dafc2 from master
2015-03-12 09:24:02 -04:00
Dan Fellin
3d55798e98
[1.7.x] Fixed typo in docs/topics/forms/modelforms.txt.
...
Backport of 6ff826e12ea99c0eb871716cfedc2c8e199695f3 from master
2015-03-11 19:58:18 -04:00
Calvin Jeong
98d8e052ea
[1.7.x] Fixed typo in docs/ref/database.txt
...
Backport of cefbbb9db3410f757532e0f968e76a8fd9e7ce3b from master
2015-03-10 07:12:44 -04:00
Psilo Cybin
6819cab5d6
[1.7.x] Fixed #24456 -- Added links to topics/forms/modelforms.txt.
...
Backport of 866e71140f9612e45087b8acafefa2e51ffc4a29 from master
2015-03-09 20:54:01 -04:00
Floris den Hengst
7a08c966ac
[1.7.x] Fixed #24432 -- Added docs for ManyToManyFields that reside in and refer to the same model.
...
Backport of b9b8411129efe13642cef1fc6bbfc62bed717352 from master
2015-03-09 20:46:29 -04:00
Tim Graham
ee24ba2666
[1.7.x] Added stub release notes for 1.7.7.
...
Backport of ea9157f681654d393c970108866edb344b65a1aa from master
2015-03-09 13:10:15 -04:00
Tim Graham
084c97c29b
[1.7.x] Post-release version bump.
2015-03-09 11:57:04 -04:00
Tim Graham
40fb8f4ecd
[1.7.x] Bumped version for 1.7.6 release.
2015-03-09 10:18:18 -04:00
Baptiste Mispelon
2654e1b939
[1.7.x] Fixed #24461 -- Fixed XSS issue in ModelAdmin.readonly_fields
2015-03-09 10:17:54 -04:00
Tim Graham
5a3b531121
[1.7.x] Clarified an item in 1.7.6 release notes.
...
Backport of 300fdbbebba45cb4e7f32edc524171019d9bce80 from master
2015-03-09 10:11:49 -04:00
Tim Graham
fba158bf8d
[1.7.x] Fixed typo in docs/howto/custom-template-tags.txt
...
Backport of 63f2dd4ad774d39fc7bbe05492d30efc45e4e7a9 from master
2015-03-09 07:06:37 -04:00
Rik
8917684c73
[1.7.x] Fixed #21661 -- Expanded authentication views documentation
...
Backport of eb9b7abb833a6d317e355265552d47e0d8f24af8 from master.
2015-03-08 20:41:29 +01:00
Jean-Louis Fuchs
283b630d63
Fixed #24447 -- Made migrations add FK constraints for existing columns
...
When altering from e.g. an IntegerField to a ForeignKey, Django didn't
add a constraint.
Backport of f4f0060feaee6bbd76a0d575487682bc541111e4 from master
2015-03-07 14:30:28 +01:00
Marten Kenbeek
7f2d60996c
[1.7.x] Stressed authentication should be successful before logging in a user.
...
Backport of 8e744fa1507b6d425860c54e7673e603279367eb from master
2015-03-05 12:18:25 -05:00
Aymeric Augustin
5de18e50dc
[1.7.x] Improved get_media_prefix template tag example.
...
Backport of 9a4a9a8a49ed3e38f3038b8d6fc7c405256271f1 from master
2015-03-05 10:00:11 -05:00
Ross Brunton
1c0f66f371
[1.7.x] Fixed #24379 -- Documented that remote user example disables ModelBackend.
...
Backport of 6b28e957df364532109a1897c73a1fa8b1416bd4 from master
2015-03-02 19:57:26 -05:00
Tim Graham
5ebe921a8e
[1.7.x] Fixed #13015 -- Clarified language about model instances attached to forms.
...
Backport of a40a34a4b2d79dbf798df538c26222148d42b17c from master
2015-03-02 18:45:52 -05:00
Andrew Pinkham
edb5c9a01e
[1.7.x] Fixed #24439 -- Removed incorrect make_object_list attributes in CBV docs.
...
Backport of fea45eff5a2f2ad10b2788603db80e5a4fe6be06 from master
2015-03-02 13:33:47 -05:00
Ian Lee
41f9eecf4b
[1.7.x] Added syntax highlighting for apache code blocks
...
Backport of fde4857fb83101d27ae4cb3552a6a6cf20d3d8ce from master
2015-03-02 12:37:14 -05:00
Alex Shaindlin
9cd8343cc3
[1.7.x] Improved wording in tutorial 1.
...
Backport of dcdef1fe2ec59a7aeca39efc5a29f0d238d0c560 from master
2015-02-27 17:54:31 -05:00
Gabriel Muñumel
0831a43c3a
[1.7.x] Fixed #24352 -- Fixed crash when coercing `ManyRelatedManager
` to a string.
2015-02-26 11:00:52 -05:00
Tim Graham
aa6853da22
[1.7.x] Added stub release notes for 1.7.6.
...
Backport of 71820721a19f5628b3176f16813d47378cb2c3cb from master
2015-02-25 09:11:47 -05:00
Tim Graham
2972fd2353
[1.7.x] Post-release version bump.
2015-02-25 09:07:25 -05:00
Tim Graham
634f4229c5
[1.7.x] Bumped version for 1.7.5 release.
2015-02-25 08:49:48 -05:00
Tim Graham
10f7c96f01
[1.7.x] Added release date for 1.7.5 release.
...
Backport of aca73737da8ba173ad9435b1e9e1fe5d8516f3b3 from master
2015-02-25 08:48:02 -05:00
Ian Lee
56aa6fc00b
[1.7.x] Added a missing backtick in form wizard docs.
2015-02-24 00:31:21 -05:00
Kenneth Kam
6e8f42cfc7
[1.7.x] Fixed #23762 -- clarified CACHE_MIDDLEWARE_ANONYMOUS_ONLY deprecation in docs
...
Backport of e83aba0e2cce16cd1b32d1c172239a4e20867e95 from master
2015-02-23 09:23:59 -05:00
Ian Lee
31ffb1b94e
[1.7.x] Broke long lines in code examples.
...
The website only renders code blocks at 96 chars, and therefore
long code lines get wrapped. Manually breaking the lines prevents
the wrapping from occurring.
Backport of 00fbd8fd527fd6ee0319361bf194cd51a1ac1bfb from master
2015-02-23 07:46:23 -05:00
Emin Mastizada
61705f0091
[1.7.x] Added formats for the Azerbaijani locale.
...
Backport of dda2a3cf4cc29d01de180f66d19441f300732e52 from master
2015-02-23 07:37:46 -05:00
Tim Graham
ca910b0c5a
[1.7.x] Corrected sqlmigrate output in tutorial 1.
...
Backport of ff5e47e7a4a638a30424331222e0abdb60842ddd from master
2015-02-22 12:29:43 -05:00
Tim Graham
2a28606b15
[1.7.x] Fixed #24371 -- Cautioned against trying to switch databases.
...
Backport of 7901eccf2e591447850be00011a7bb556a3c53f2 from master
2015-02-22 10:12:18 -05:00
Sean Wang
a3f7b034d7
[1.7.x] Fixed #24358 -- Corrected code-block directives for console sessions.
...
Backport of eba6dff581aa8bd6a1c08456e83e68ad09ae4ec3 from master
2015-02-22 09:38:54 -05:00
Tim Graham
c231ec1af0
[1.7.x] Fixed typo in path to is_safe_url()
...
Backport of dd0b487872de4e3ff966da51e3610bac996e44f0 from master
2015-02-20 09:22:24 -05:00
Tim Graham
d1dd71f1a7
[1.7.x] Added an import to docs/topics/testing/advanced.txt example.
...
Backport of 32b67b3fd1d252566f60cf38fe1459bb83de2ce2 from master
2015-02-17 13:54:01 -05:00
Tim Graham
fcaf2e135d
[1.7.x] Fixed #24350 -- Freshened up database install topic section.
...
Backport of 35f0cae19de226d9d7771304fc8dd2619e644998 from master
2015-02-16 15:00:00 -05:00
Tim Graham
e384991232
[1.7.x] Removed a note about old versions of MySQLdb.
...
Backport of f3bc7c5447a1e4bfa428a7ff32ea3336850c5c2d from master
2015-02-16 14:29:34 -05:00
Carl Meyer
a970c27730
[1.7.x] Fixed #23892 -- Clarified compatibility policy for migrations.
...
Backport of e35c70bef44805d47f6a4ae692be878184c4fe1f from master
2015-02-16 10:12:18 -05:00
Tim Graham
9be44b8ee3
[1.7.x] Added new "W503 line break before binary operator" warning to flake8 ignore.
...
Backport of d652906aebd34d9ba943507ce0c3a7be169fab7c from master
2015-02-15 20:13:02 -05:00
Aymeric Augustin
9b7d512d5f
[1.7.x] Fixed #24318 -- Set the transaction isolation level with psycopg >= 2.4.2.
...
Backport of 76356d96 from master
2015-02-14 18:52:53 +01:00
Claude Paroz
c16f9c2d28
[1.7.x] Fixed #24144 -- Documented that GEOSGeometry.envelope can return a point
...
Thanks Manel Clos for the report.
Backport of 1379165b35 from master.
2015-02-14 16:21:54 +01:00
Carl Meyer
86e9744593
[1.7.x] Fixed #24337 - Added stronger documentation warning about automatic fake-initial.
2015-02-13 11:47:35 -07:00
Tim Graham
1b93b0977d
[1.7.x] Fixed #24332 -- Fixed contrib.sites create_default_site() when 'default' DATABASES is empty.
...
Backport of e8cf4f8abec87b9da6ed8e5c8cf833af9b27f4dd from master
2015-02-13 07:08:49 -05:00
Thomas Güttler
5697a4c9cf
[1.7.x] Clarified timeout=0 in cache docs.
...
Backport of e519ee1d352e0e36fcb8edc9d33ec2845f663d3a from master
2015-02-12 10:33:02 -05:00
Tim Graham
0c9e006d5f
[1.7.x] Fixed #24293 -- Skipped a contrib.sites test if multiple databases aren't setup.
2015-02-12 07:56:49 -05:00
Loic Bistuer
1c1193da39
[1.7.x] Ignored flake8 newly added E402 and E731.
...
Backport of e9874d4cf1f582dd78ad171b4e7ce62f3199390f from master
2015-02-10 19:14:26 -05:00
Markus Holtermann
f8c040e167
[1.7.x] Fixed #24236 -- Treated inherited m2m fields as such if they don't define get_internal_type()
...
Regression introduced in 3d4a826174b7a411a03be39725e60c940944a7fe
Thanks IRC user ris for the report, Loïc Bistuer, Anssi Kääriäinen and
Andriy Sokolovskiy for the discussion and Tim Graham for the review.
2015-02-09 16:48:51 +01:00
Markus Holtermann
37b50db092
[1.7.x] Refs #24236 -- Added regression test for 3d4a826174b7a411a03be39725e60c940944a7fe
...
Thanks irc user ris for the report
2015-02-09 16:48:51 +01:00
Tim Graham
1d85d057c3
[1.7.x] Fixed spelling mistakes in docs.
2015-02-08 14:23:01 -05:00
Markus Holtermann
208d5c42e7
[1.7.x] Revert "[1.7.x] Fixed #24075 -- Prevented running post_migrate signals when unapplying initial migrations of contenttypes and auth"
...
This reverts commit 478546fcef38d95866a92bc44d10e15b26c7254c.
Backport of 2832a9b028c267997b2fd3dd0989670d57cdd08f from master
2015-02-07 20:50:15 +01:00
Markus Holtermann
e6ffe43b67
[1.7.x] Revert "[1.7.x] Refs #24075 -- Silenced needless call_command output while running tests"
...
This reverts commit b419bd38431b83eec93376cd911e2b17eb8e7342.
Backport of bd3d796ecd9a66832ad26024df65caeb63b60a5d from master
2015-02-07 19:57:50 +01:00
Josh Schneier
d3404c1ca8
[1.7.x] Fixed typos of "select_related" in docs.
...
Backport of 7d363ed43247a80d2b764723e1bf6e0e6da4e82f from master
2015-02-04 07:33:48 -05:00
Tim Graham
2401ef8682
[1.7.x] Demoted "Installing a distribution-specific package" in install notes.
...
Backport of 281fc03474ac18c8281ed4cf289128c87bda2030 from master
2015-02-03 16:38:09 -05:00
minusf
dfa0716664
[1.7.x] Fixed typos in docs/ref/forms/validation.txt.
...
Backport of 66f5aa9fa5d53ddd7fbdb7ddac39c429f0c1b4fd from master
2015-02-03 12:27:20 -05:00
Tim Graham
346451164e
[1.7.x] Fixed broken links in class based views flattend index; refs #24250 .
...
Backport of 9a391fbd6102176d576aa96ed3aeee9e9661b455 from master
2015-02-03 09:12:12 -05:00
Tim Graham
9c456ea8ff
[1.7.x] Fixed #24250 -- Corrected mistakes in FormMixin docs.
...
Backport of 5d193d042a3cc49033f0e8b5125913650d779496 from master
2015-02-03 08:42:53 -05:00
Tim Graham
e775200e05
[1.7.x] Simplified a versionchanged note for LiveServerTestCase.
...
Backport of 6d0538bd8c38e83a605c987a40081149b254b802 from stable/1.7.x
2015-02-01 21:07:38 -05:00
Andrei Kulakov
341a20ff6c
[1.7.x] Updated recommendation for testing keyword arg in custom fields.
...
Backport of dbabf43920bfd99f0e720c7c20228c17128a2af8 from master
2015-01-30 08:30:07 -05:00
Tim Graham
39a8640e30
[1.7.x] Added stub 1.7.5 release notes.
...
Backport of ac6033d8835ac54c1222801f6aeb47f9997b517a from master
2015-01-28 06:39:22 -05:00
Tim Graham
b25101a0d0
[1.7.x] Post-release version bump.
2015-01-27 12:27:03 -05:00
Tim Graham
b626c289cc
[1.7.x] Bumped version for 1.7.4 release.
2015-01-27 12:10:08 -05:00
Tim Graham
c93fb26527
[1.7.x] Added 1.4.19 release notes.
...
Backport of 6f8418089c5e81d12718187da2140394ed30da43 from master
2015-01-27 11:48:33 -05:00
Andriy Sokolovskiy
3d4a826174
[1.7.x] Fixed #24104 -- Fixed check to look on field.get_internal_type() instead of class instance
2015-01-27 14:40:39 +01:00
Collin Anderson
6dc6ec2188
[1.7.x] Fixed #24190 -- Clarified len(queryset)
...
Backport of ee23e03637aa8b82311f93b0a660574a0512891a from master
2015-01-24 10:18:19 -05:00
Claude Paroz
b1bf8d64fb
[1.7.x] Fixed #24193 -- Prevented unclosed file warnings in static.serve()
...
This regression was caused by 818e59a3f0. The patch is a partial
backport of the new FileResponse class available in later Django
versions.
Thanks Raphaël Hertzog for the report, and Tim Graham and Collin
Anderson for the reviews.
2015-01-23 08:58:34 +01:00
Simon Charette
7b677fe063
[1.7.x] Fixed #24186 -- Fixed a typo in the admin docs.
...
Thanks to Keryn Knight for the report.
Backport of dccf41cff0f46a94aa1d853d1bad9052079bb454 from master
2015-01-20 11:57:00 -05:00
Markus Holtermann
70845c6809
[1.7.x] Refs #24163 -- Fixed failing Oracle test when migrating from ForeignKey to OneToOneField
...
Thanks Tim Graham for review
Backport of 64ecb3f07db4be5eef4d9eb7687f783ee446c82f from master
2015-01-20 17:46:37 +01:00
Tim Graham
7a1ccc0699
[1.7.x] Fixed #24153 -- Fixed cookie test compatibility with Python 3.4.3+
...
Backport of b19b81b3960ec2090d40be65547502a3386a769b from master
2015-01-19 15:41:29 -05:00
Tim Graham
3e803f9cbd
[1.7.x] Designated Django 1.8 as the next LTS.
...
Backport of c38db4d7e072e9a5002cb4897d9104e5eaa292ed from master
2015-01-19 12:08:20 -05:00
Markus Holtermann
db2a97870d
[1.7.x] Fixed #24163 -- Removed unique constraint after index on MySQL
...
Thanks Łukasz Harasimowicz for the report.
Backport of 5792e6a88c1444d4ec84abe62077338ad3765b80 from master
2015-01-19 17:25:05 +01:00
Tim Graham
bb2b4acc7a
[1.7.x] Added deprecation docs for legacy lookup support; refs #16187 .
...
Backport of 8e435a564034c59ac408ec71283d8ac6ede2ce1f from master
2015-01-19 10:45:55 -05:00
Tim Graham
07bd23d329
[1.7.x] Added missing items to deprecation timeline/1.7 release notes.
...
Backport of ecf109f2159f4581adb354263406116c2bda11d7 from master.
2015-01-18 21:26:19 -05:00
Tim Graham
bc3021b93b
[1.7.x] Removed a flake8 exclude that caused code to be missed.
...
Backport of 2fa2068406cbef08bac3e2da9b69e86c6b931f57 from master
2015-01-18 20:48:47 -05:00
Tim Graham
af523573fc
[1.7.x] Clarified deprecation of forms.forms.get_declared_fields(); refs #19617 .
...
Backport of 89e9f81601f7a343690e1153e70fd56091246d0b from master
2015-01-18 16:07:48 -05:00
Tim Graham
e8191caca5
[1.7.x] Clarified a contrib.sites deprecation and added to 1.7 release notes.
...
Backport of ba27f895878bb155fefb8c1b9beee2c9f3d85b3f from master
2015-01-18 13:45:40 -05:00
Tim Graham
4df91d05e8
[1.7.x] Clarified contrib.contenttypes.generic deprecation; refs #19774 .
...
Backport of 737cd4ff3decfd3e709885d219e70d8395305965 from stable/1.7.x
2015-01-18 13:43:47 -05:00
Tim Graham
eea66a6e97
[1.7.x] Added removal of check management command to deprecation timeline.
...
Backport of 20e4e8fc79af9a87fb48951d03d3747f1f550551 from master
2015-01-17 19:16:41 -05:00
Tim Graham
ecbe20fe20
[1.7.x] Added versionadded to ModelAdmin.get_formsets_with_inlines(); refs #20702 .
...
Backport of 7cfcdd98dcf0dbbde7cfd656e450c52342dbe6f3 from stable/1.8.x
2015-01-17 18:18:06 -05:00
Markus Holtermann
29737a2949
[1.7.x] Cleaned up migration writer tests
...
Backport of 65d55c409343aab7c2ae771c459720ef797b4cdb from master
2015-01-17 20:45:41 +01:00
Tim Graham
85c0eb1e3b
[1.7.x] Replaced deprecated requires_model_validation in docs.
...
Backport of 18192b9fa4387d5e6c677a7929d91ce04f92cda7 from master
2015-01-17 12:52:34 -05:00
Tim Graham
467fd7ea1a
[1.7.x] Updated tutorial 1 with actual migrate output.
2015-01-17 10:54:34 -05:00
Tim Graham
5f600db37a
[1.7.x] Documented django.utils.timezone.FixedOffset; thanks Aymeric.
...
Backport of 25264d4e2a4b3fd6a25e6b617388ea24f3d48d63 from master
2015-01-17 09:31:59 -05:00
Rick Hutcheson
be0bc9a9e7
[1.7.x] Fixed a typo in the test responses docs.
...
Backport of 996292d6498d25c6b3e84435e82edeff5aaa0257 from master
2015-01-16 18:24:48 -05:00
Collin Anderson
cef3f805c2
[1.7.x] Fixed #24160 -- Fixed model_regress test on Windows; refs #24007 .
...
Backport of 5338ff4808c822a8b00e90154b884b7be3011e60 from master
2015-01-16 12:03:15 -05:00
Tim Graham
433e7dd507
[1.7.x] Fixed #23312 -- Marked an i18n test as expectedFailure on Windows/Python 3.
2015-01-16 10:31:49 -05:00
Keryn Knight
bd08cfca6f
[1.7.x] Fixed #24143 -- Encouraged use of Http404 messages for debugging.
...
Backport of 726a9550db5129badc1c44809b0bed728fa1ad90 from master
2015-01-16 09:42:03 -05:00
Tim Graham
065b2a82f6
[1.7.x] Fixed #24135 -- Made RenameModel rename many-to-many tables.
...
Thanks Simon and Markus for reviews.
Backport of 28db4af80a319485c0da724d692e2f8396aa57e3 from master
2015-01-15 20:43:49 -05:00
Markus Holtermann
b419bd3843
[1.7.x] Refs #24075 -- Silenced needless call_command output while running tests
...
Thanks Tim Graham for the report
Backport of 51dc617b21e67636d96cf645905797a4d6ff4bf0 from master
2015-01-15 21:13:27 +01:00
Luke Plant
327703c067
[1.7.x] Direct readers to format_html() in mark_safe() docs.
...
Backport of 4832c004e88a68b98b976b4f68a1c9fdb4ea3530 from master
2015-01-15 08:29:00 +00:00
Markus Holtermann
478546fcef
[1.7.x] Fixed #24075 -- Prevented running post_migrate signals when unapplying initial migrations of contenttypes and auth
...
Thanks Florian Apolloner for the report and Claude Paroz and Tim Graham for the review and help on the patch.
Backport of 737d24923ac69bb8b89af1bb2f3f4c4c744349e8 from master.
2015-01-14 20:37:56 +01:00
Tim Graham
02c059ff7f
[1.7.x] Fixed a static view test on Windows.
...
Backport of a6f144fd4fee0090de3a99b1f50a4142722e7946 from master
2015-01-14 13:57:10 -05:00
Tim Graham
2e2617991a
[1.7.x] Added stub release notes for 1.7.4.
...
Backport of ec7ef5afbbd12abe74314d557aabb3d85d667749 from master
2015-01-14 09:48:06 -05:00
Tim Graham
f7ce66bc46
[1.7.x] Post-release version bump.
2015-01-13 14:14:05 -05:00
Tim Graham
6bf1930fb5
[1.7.x] Bumped version for 1.7.3 release.
2015-01-13 13:11:37 -05:00
Tim Graham
9b403a108c
[1.7.x] Added dates to release notes.
2015-01-13 13:09:34 -05:00
Tim Graham
bcfb47780c
[1.7.x] Fixed DoS possibility in ModelMultipleChoiceField.
...
This is a security fix. Disclosure following shortly.
Thanks Keryn Knight for the report and initial patch.
2015-01-13 13:02:56 -05:00
Tim Graham
818e59a3f0
[1.7.x] Prevented views.static.serve() from using large memory on large files.
...
This is a security fix. Disclosure following shortly.
2015-01-13 13:02:56 -05:00
Tim Graham
de67dedc77
[1.7.x] Fixed is_safe_url() to handle leading whitespace.
...
This is a security fix. Disclosure following shortly.
2015-01-13 13:02:56 -05:00
Carl Meyer
41b4bc73ee
[1.7.x] Stripped headers containing underscores to prevent spoofing in WSGI environ.
...
This is a security fix. Disclosure following shortly.
Thanks to Jedediah Smith for the report.
2015-01-13 13:02:56 -05:00
Tim Graham
33f1ccf5b1
[1.7.x] Added stub release notes for security releases.
2015-01-13 13:02:55 -05:00
Collin Anderson
6a08020fcf
[1.7.x] Fixed bad model example in admin docs.
...
Backport of e7771ec380a116dbef481001fb1ce664f5c7311e from master
2015-01-13 11:53:59 -05:00
Markus Holtermann
ef5889409b
[1.7.x] Fixed #24110 -- Rewrote migration unapply to preserve intermediate states
...
Backport of fdc2cc948725866212a9bcc97b9b7cf21bb49b90 and be158e36251df0b07556657da47cdaf10913c57a from master
2015-01-11 00:35:49 +01:00
Serafeim Papastefanos
1a352fe175
[1.7.x] Fixed #23967 -- Added formats for Greek
...
Backport of 74f02557e0183812d6d60e2548985c5c40b3d27b from master
2015-01-10 11:11:57 -05:00
Claude Paroz
7e65876b7c
[1.7.x] Fixed #24097 -- Prevented AttributeError in redirect_to_login
...
Thanks Peter Schmidt for the report and the initial patch.
Thanks to Oktay Sancak for writing the original failing test and
Alvin Savoy for supporting contributing back to the community.
Backport of d7bc37d61 from master.
2015-01-10 10:13:50 +01:00
Tim Graham
bbcbacf0ad
[1.7.x] Silenced deprecation warning in test_runner app.
2015-01-08 09:44:21 -05:00
Tim Graham
600ea43e67
[1.7.x] Silenced initial_data fixtures warning in test suite.
2015-01-08 09:43:40 -05:00
Tim Graham
557c514f90
[1.7.x] Fixed #24095 -- Prevented WarningLoggerTests from leaking a warnings filter.
...
Backport of ade985999657eaef6a9510c2aeba9b2196d7bf6e from master
2015-01-08 09:09:24 -05:00
Claude Paroz
5e18f6f724
[1.7.x] Fixed #24083 -- Corrected is_bound nature in forms topic docs
...
Thanks ajenhl Trac user for the report.
Backport of e0080cf57 from master.
2015-01-06 09:00:27 +01:00
Claude Paroz
d8fb557a51
[1.7.x] Fixed #23815 -- Prevented UnicodeDecodeError in CSRF middleware
...
Thanks codeitloadit for the report, living180 for investigations
and Tim Graham for the review.
Backport of 27dd7e7271 from master.
2015-01-06 08:45:10 +01:00
Tim Graham
0e21fd4e40
[1.7.x] Added 1.4.18 release notes.
...
Backport of ce17b045bf5629aac66f872c3f548205906e04db from master
2015-01-05 14:25:36 -05:00
Tim Graham
4aed731154
[1.7.x] Increased the default PBKDF2 iterations.
2015-01-03 13:36:13 -05:00
Tim Graham
0a06ae9ef3
[1.7.x] Added 1.7.3 release notes stub.
...
Backport of 439f15beabe2e4d21232798f805ba69367611276 from master
2015-01-03 13:27:46 -05:00
Alfred Perlstein
0148768412
[1.7.x] Fixed #23749 -- Documented how to use the database alias in RunPython.
...
Thanks Markus Holtermann for review and feedback.
Backport of db3f7c15cbf4c9025e83065d1302d0e61d570331 from master
2015-01-03 12:07:28 -05:00
Bibhas
5f8761c639
[1.7.x] Fixed #24070 -- Added tutorial topics to doc index.
...
Backport of b738178825ec9378198d77ac69699513774f0884 from master
2015-01-03 08:48:59 -05:00
Tim Graham
f7ec788bf5
[1.7.x] Post-release version bump.
2015-01-02 21:48:54 -05:00
Tim Graham
880d7638cf
[1.7.x] Bumped version for 1.7.2 release.
2015-01-02 19:44:36 -05:00
Tim Graham
20dcf5155b
[1.7.x] Added dates to release notes.
...
Backport of 15cd71ed24945ff7be5716580603fd65c0d45ef7 from master
2015-01-02 19:20:44 -05:00
Tim Graham
fda458c0b6
[1.7.x] Updated six to 1.9.0.
...
Backport of 52f0b2b62262743d5f935ddae29428e661b5d8ea from master
2015-01-02 13:23:18 -05:00
Tim Graham
1b83464391
[1.7.x] Removed obsolete item from deprecation timeline.
...
Initial SQL data will be removed in Django 1.9 so changes to it
aren't relevant.
Backport of 1729a5250b052832540cd696df3ff0a0a77baddf from master
2015-01-01 13:36:26 -05:00
Tim Graham
8e68b590ab
[1.7.x] Removed doc note about PasswordResetForm requiring an integer PK.
...
This limitation was lifted in refs #14881 .
Backport of a7aaabfaf1fa4c20065ab1133d49f40d4de6b409 from master
2015-01-01 11:40:08 -05:00
Tim Graham
f461bc02cb
[1.7.x] Fixed #23366 -- Fixed a crash with the migrate --list command.
...
Backport of b4bdd5262b18644456d12a00d475adf9897a9255 from master
2014-12-31 17:27:43 -05:00
Andrey Maslov
8de2a44064
[1.7.x] Fixed #24008 -- Fixed ValidationError crash with list of dicts.
...
Backport of 7a878ca5cb50ad65fc465cb263a44cc93629f75c from master
2014-12-31 14:46:17 -05:00
Tim Graham
4abfa73c18
[1.7.x] Renamed tests for util -> utils moves; refs #17627 .
...
Backport of 8a9b0c15a6c0ef60dea3ba3042317520bc201206 from master
2014-12-31 11:33:27 -05:00
Tim Graham
c0bed63889
[1.7.x] Fixed a queries test on Python 2 broken after importing six.moves.range().
...
Backport of 837fc2d8cdfefce375697d95e241836c7be12696 from master
2014-12-31 09:51:10 -05:00
Piotr Pawlaczek
e11ff3975f
[1.7.x] Fixed #23758 -- Allowed more than 5 levels of subqueries
...
Refactored bump_prefix() to avoid infinite loop and allow more than
than 5 subquires by extending the alphabet to use multi-letters.
Backport of 41fc1c0b5eac156e200a10233c7c9210a1c0fed8 from master
2014-12-31 09:42:07 -05:00
Russell Keith-Magee
f1a22feaa8
[1.7.x] Renamed variables to avoid name collision with import of django.db.models.
...
Backport of 013c2d8d02e679c969255d9b11214d020dd34418 from master
2014-12-31 08:02:06 -05:00
Tim Graham
9311a94ca5
[1.7.x] Revert "Updated some docs for the delayed deprecation of legacy table creation; refs #22340."
...
The deprecation was moved back to 1.9 in
61da5f3f02f34810aaa6fcddac3808318a5b95c4.
Backport of d7fc6eb8ca67a6a628e8c7ce669731cf563606e7 from master
2014-12-30 11:53:33 -05:00
Markus Holtermann
d49b5851b4
[1.7.x] Added test for an intermediate swappable model change in migration state.
...
refs #22563
Backport of fca866763acb6b3414c20ca3772b94cb5d111733 from master
2014-12-30 10:03:41 -05:00
Tim Graham
a9da5dd5b6
[1.7.x] Fixed #23581 -- Prevented extraneous DROP DEFAULT statements.
...
Thanks john_scott for the report and Markus Holtermann for review.
Backport of ab4f709da4516672b0bd811f2b4d0c4ba9f5b636 from master
2014-12-30 08:31:18 -05:00
Tim Graham
79645529e7
Revert "[1.7.x] Fixed #23938 -- Added migration support for m2m to concrete fields and vice versa"
...
This reverts commit 1702bc52cc20ed0729893177fc8f4391b4b3183c.
This doesn't work on stable/1.7.x because #23844 wasn't backported and we're
not willing to do so because it's a large change.
2014-12-29 15:37:15 -05:00
Markus Holtermann
1702bc52cc
[1.7.x] Fixed #23938 -- Added migration support for m2m to concrete fields and vice versa
...
Thanks to Michael D. Hoyle for the report and Tim Graham for the review.
Backport of 623ccdd598625591d1a12fc1564cf3ef9a87581f from master
2014-12-29 13:42:29 -05:00
Tim Graham
1cbdb49b0a
[1.7.x] Fixed #24056 -- Fixed syntax highlighting in topics/testing/tools.txt.
...
Backport of 3d0c3a0482496fc1914a40ec3c3eb70e67f0d643 from master
2014-12-27 19:51:33 -05:00
Aymeric Augustin
3483682749
[1.7.x] Fixed #23831 -- Supported strings escaped by third-party libs in Django.
...
Refs #7261 -- Made strings escaped by Django usable in third-party libs.
The changes in mark_safe and mark_for_escaping are straightforward. The
more tricky part is to handle correctly objects that implement __html__.
Historically escape() has escaped SafeData. Even if that doesn't seem a
good behavior, changing it would create security concerns. Therefore
support for __html__() was only added to conditional_escape() where this
concern doesn't exist.
Then using conditional_escape() instead of escape() in the Django
template engine makes it understand data escaped by other libraries.
Template filter |escape accounts for __html__() when it's available.
|force_escape forces the use of Django's HTML escaping implementation.
Here's why the change in render_value_in_context() is safe. Before Django
1.7 conditional_escape() was implemented as follows:
if isinstance(text, SafeData):
return text
else:
return escape(text)
render_value_in_context() never called escape() on SafeData. Therefore
replacing escape() with conditional_escape() doesn't change the
autoescaping logic as it was originally intended.
This change should be backported to Django 1.7 because it corrects a
feature added in Django 1.7.
Thanks mitsuhiko for the report.
Backport of 6d52f6f from master.
2014-12-27 18:26:20 +01:00
Aymeric Augustin
b429a9796a
[1.7.x] Fixed an inconsistency introduced in 547b1810.
...
mark_safe and mark_for_escaping should have been kept similar.
On Python 2 this change has no effect. On Python 3 it fixes the use case
shown in the regression test for mark_for_escaping, which used to raise
a TypeError. The regression test for mark_safe is just for completeness.
Backport of 5c5eb5fe from master.
2014-12-27 18:17:18 +01:00
Tim Graham
a79012f6d8
[1.7.x] Fixed #24000 -- Corrected contrib.sites default site creation in a multiple database setup.
...
Backport of 89e2c60f4396241c667b7a1de37765b7c96d702f from master
2014-12-27 10:29:21 -05:00
wrwrwr
965a999ae5
[1.7.x] Fixed #23929 -- Added more tests for create_default_site.
...
Backport of 1f98ec2e53e4636863396ab54f671f4546f9ba4c from master
2014-12-27 10:26:43 -05:00
Claude Paroz
322560489b
[1.7.x] Fixed #24051 -- Made schema infrastructure honor tablespaces
...
Partial backport of 30cbd5d36. Thanks Douglas J. Reynolds for the
report and initial patch.
2014-12-27 15:12:17 +01:00
Collin Anderson
2af33a0719
[1.7.x] Clarified custom header instructions in tutorial 2.
...
Backport of 0821b3d53ccd575de92ed679d173d779e1ad5acd from master
2014-12-26 18:29:52 -05:00
Tim Graham
1173140dbf
[1.7.x] Fixed #24054 -- Enabled sqlsequencereset for apps with migrations.
...
Backport of c2e419c26781b88f2b34b445f450b735267155b0 from master
2014-12-26 15:57:30 -05:00
Helen Sherwood-Taylor
b9169a100d
[1.7.x] Fixed #24041 -- Documented effect of changing a model instance's primary key.
...
Backport of 4ccdf6e57f49d7e981dcd88c1db65229b8b92487 from master
2014-12-24 15:07:27 -05:00
Frankie Robertson
126eb58abe
[1.7.x] Fixed #24035 -- Clarified docs on CACHE_MIDDLEWARE_KEY_PREFIX vs KEY_PREFIX
...
Backport of 446b50b90e9e60760618b236d8b0ea75a3b19d5a from master
2014-12-23 14:40:35 -05:00
Tim Graham
51ea30a43b
[1.7.x] Fixed #24037 -- Prevented data loss possibility when changing Meta.managed.
...
The migrations autodetector now issues AlterModelOptions operations for
Meta.managed changes instead of DeleteModel + CreateModel.
Thanks iambibhas for the report and Simon and Markus for review.
Backport of 061caa5b386681dc7bdef16918873043224a299c from master
2014-12-23 14:26:56 -05:00
Tim Graham
ac098867c0
[1.7.x] Fixed #23525 -- Fixed admindocs crash on apps installed as eggs.
...
Thanks welbornprod for report and initial patch.
Backport of 01ab84c61330ffa5ac87c637249611c5e5343e57 from master
2014-12-22 15:19:48 -05:00
Alexander Schulze
4c92ecd705
[1.7.x] Fixed #23959 -- Clarified when checks automatically run.
...
Backport of cf2390be164bcb3c5670f73b0a7062d6141f8664 from master
2014-12-22 11:35:57 -05:00
David Cramer
66e9154399
[1.7.x] Corrected scoping of savepoint example
...
Backport of 27f68f8659a648cc9ed3e71f690959ed8a130c5a from master
2014-12-22 07:51:09 -05:00
Oscar Ramirez
1ad5deedd4
[1.7.x] Fixed #23998 -- Added datetime.time support to migrations questioner.
...
Backport of 54085b0f9ba7d9f705f9b9c90d3433b0ef6aa042 from master
2014-12-22 07:26:57 -05:00
Tim Graham
c24624025b
[1.7.x] Added upgrade instructions for deprecated model _meta permission methods.
...
Backport of a3d96bee36040975ded8e3bf02e33e48d06f1f16 from master
2014-12-19 19:12:50 -05:00
Claude Paroz
ea18652238
[1.7.x] Made model_regress unpickling test CWD-independent
...
Refs #24007 . Thanks Tim Graham for his help with the patch.
Backport of 1d9fc5caa947ff4ee72180185e91a9a145171712 and
995be4a1375340a53668dd80444756d77302000d from master
2014-12-19 14:26:46 -05:00
Berker Peksag
a970d6d941
[1.7.x] Moved version directives to the bottom of the loaddata section.
...
Backport of 6403e07c5093e0244497293f31f5f73cebe85b66 from master
2014-12-19 06:57:50 -05:00
Claude Paroz
f46a16614d
[1.7.x] Fixed #24015 -- Factorized create_index_sql expression
...
Backport of 6072f17d0 from master, with one test reinforced.
Thanks Tim Graham for the review.
2014-12-18 21:14:29 +01:00
Tim Graham
2f13a48f33
[1.7.x] Removed need to update Python version support note on each new release.
...
Backport of 0c06f06131c613dc4173c83ea17c68c31835fc71 from master
2014-12-18 11:56:50 -05:00
Tim Graham
c2d8da7555
[1.7.x] Corrected indentation in docs to prevent inadvertent blockquote.
2014-12-18 11:34:11 -05:00
Claude Paroz
47912d9f2b
[1.7.x] Fixed #24007 -- Ensure apps registry's ready before unpickling models
...
This prevents AppRegistryNotReady errors when unpickling Django
models from an external script.
Backport of 108b8bf85 from master.
2014-12-17 18:41:12 +01:00
Mosson, Andrew
6d8c14621e
[1.7x.] Fixed #23497 -- Made admin system checks run for custom AdminSites.
...
Backport of b7219c7ba5fdfbf9349948b5a91af50e32822ee6 from master
2014-12-17 09:16:05 -05:00
Markus Holtermann
a38951948a
[1.7.x] Fixed display of lists after website redesign
...
Thanks Brian Jacobel for the report. refs django/djangoproject.com#197
Backport of c7786550c4ed396b8580db58f7da60e850894d19 from master
2014-12-17 08:24:27 -05:00
Alex Gaynor
ebfb1dab26
[1.7.x] Fixed the formatting of one section of the security page
...
Backport of 104aaab7049afc6ef456fee52763f6d4f7dd575d from master
2014-12-16 19:01:06 -05:00
Tim Graham
c085bea6c3
[1.7.x] Fixed #23975 -- Restored pre_migrate signal if all apps have migrations.
...
Thanks kmmbvnr for the report.
Backport of d2ff8a7241b621b8013c7ec1631e95ae4445f76d from master
2014-12-16 18:39:19 -05:00
Andriy Sokolovskiy
10482faf19
[1.7.x] Fixed #23983 -- Fixed a crash in migrations when adding order_with_respect_to to non-empty table.
...
Backport of 3dbbb8a89ca4beaabd5359fe82e32ed633b15140 from master
2014-12-16 10:56:35 -05:00
Tim Graham
66c0529b3e
[1.7.x] Fixed refs #23987 test on Oracle.
...
Backport of ac5f2a4ef7b9993502ebc02f487cbb06bfb9bf0a from master
2014-12-15 18:20:41 -05:00
Andriy Sokolovskiy
fdf4dc6cea
[1.7.x] Fixed #23405 -- Fixed makemigrations prompt when adding Text/CharField.
...
A default is no longer required.
Backport of d8f3b86a7691c8aa0ec8f5a064ad4c3218250fed from master
2014-12-15 14:58:01 -05:00
Tim Graham
4cc646bb56
[1.7.x] Fixed typos in docs/releases/1.7.2.txt.
...
Backport of d39461eb46b2d11051940e16818baf2f0e1b894d from master
2014-12-15 13:43:34 -05:00
Andriy Sokolovskiy
1690b92b0d
[1.7.x] Fixed #23987 -- Made SQLite SchemaEditor always use effective_default().
...
Backport of 089047331d972c0ee58d13476fc54f2118bf1359 from master
2014-12-15 13:42:08 -05:00
JuneHyeon Bae
eb632bfba5
[1.7.x] Fixed timesince translations for Korean
...
Refs #23989 .
2014-12-14 16:47:06 +01:00
Shai Berger
9189ef438e
[1.7.x] Added release note for Refs #23969
2014-12-13 22:57:25 +02:00
Tim Graham
e905d4984d
[1.7.x] Updated advice on six.moves.range/xrange; refs #23812 .
...
Backport of bc88ec550afd5ce972b8c902572c6447d89c0cc9 from master
2014-12-13 13:42:45 -05:00
Carl Meyer
0a8b911582
[1.7.x] Fixed #23455 -- Accept either bytes or text for related_name, convert to text.
...
Backport of c72eb80d114fb5d90bd21b5549e8abd0bbd17f99 from master.
2014-12-12 13:13:57 -07:00
Carl Meyer
b376071936
[1.7.x] Fixed #23982 -- Added doc note on generating Python 2/3 cross-compatible migrations.
...
Thanks Luke Plant for the report, and Tim Graham, Simon Charette, and Markus
Holtermann for review and discussion.
This is a backport of d4bdddeefe35214f194cb85e40dbb761c206e7fa from master.
2014-12-12 13:09:59 -07:00
Carl Meyer
f8b4cf4022
[1.7.x] Revert "Fixed #23455 -- Forced related_name to be a unicode string during deconstruction."
...
This reverts commit 45bd7b3bd9008941580c100b9fc7361e3ff3ff0d.
This is a backport of 8aaf51f94c70e3cfcd2c75a0be1b6f55049d82d8 from master.
2014-12-12 13:09:04 -07:00
Tim Graham
c64286c62b
[1.7.x] Fixed #23857 -- Fixed admin crash with "save as new" and deleting inline.
...
Thanks amarandon for the report.
Backport of c7a19f42030c15ad3b3475ad9a4854e10733ff74 from master
2014-12-12 11:49:44 -05:00
Grzegorz Slusarek
4b96e862b4
[1.7.x] Fixed #23674 -- Fixed a crash when a MultiValueField has invalid data.
...
Backport of 0dea81cd6d34b3e41cc4bbec99b5fdf06142b09e from master
2014-12-12 08:50:38 -05:00
Tim Graham
a189e9f0d0
[1.7.x] Appeased spell checker.
...
Backport of 6a141832ab9be30d1bde4794560897bcdbe68fb6 from master
2014-12-11 14:44:27 -05:00
Markus Amalthea Magnuson
63d8f84e5d
[1.7.x] Fixed typo in admin deprecation message.
...
Backport of d4e449d73029dd512acb5f156ee5b4e93189e7b9 from master
2014-12-11 13:40:05 -05:00
Markus Holtermann
f446acf8bb
[1.7.x] Fixed #23956 -- Fixed migration creation for multiple table inheritance
...
Backport of 44927ba817a4ecf9834d429ff6c86bc5ac961305 from master
2014-12-11 13:28:57 -05:00
Yohan Boniface
491bf20d19
[1.7.x] Fixed incorrect filter name in docs/topics/i18n/translation.txt.
...
Backport of 38fc463fbfb9b74c38f1e8c33e4c99bc2274a880 from master
2014-12-11 12:12:33 -05:00
Tim Graham
da562d6a87
[1.7.x] Fixed #23961 -- Clarified when makemigrations will create a directory.
...
Backport of fa6e3a40e1866b64eb30e0dfbd43b340c0d831da from master
2014-12-09 07:31:33 -05:00
Tim Graham
6022da4f48
[1.7.x] Fixed #23974 -- Clarified wording of FileField.save/delete save parameter.
...
Thanks GreenAsJade.
Backport of 1aa41dd000e0779c8b1de1f8e7aa4a0f2f752655 from master
2014-12-08 13:18:23 -05:00
Jon Dufresne
4862eb6e5b
[1.7.x] Refs #23964 -- Added warning about case-insensitive, unique fields used with formsets
...
Backport of 4d27d72d149b714431b77f2f15bad1591a9602b7 from master
2014-12-08 12:58:26 -05:00
Berker Peksag
b249d4dcc7
[1.7.x] Added an "htmlview" target to open docs after building them.
...
This is helpful if you build and test documentation updates in
your development env.
Copied from CPython's Doc/Makefile.
Backport of b327a614eb7d885441c6a2575e10b70ac1352aae from master
2014-12-08 07:24:07 -05:00
Quentin Pradet
614cbf1c3c
[1.7.x] Fixed typo in docs/howto/custom-lookups.txt.
...
Backport of 6bc343d8749b3698dd15d1de59dfc02928bb772c from master
2014-12-08 07:20:00 -05:00
Vladimir Rutsky
44527ac346
[1.7.x] Fixed typo in docs/howto/deployment/wsgi/uwsgi.txt.
...
Backport of 1a408e42eef34d8302da06fcbeaccfa6395d1c92 from master
2014-12-07 12:25:46 -05:00
Shai Berger
991f523753
[1.7.x] Fixed #23969 : Made Oracle default test-tablespace larger.
...
It seems our test suite has grown...
Refs #21775
2014-12-07 12:54:04 +02:00
Tim Graham
284496e692
[1.7.x] Fixed #23965 -- Mentioned that FieldFile inherits from File
...
Backport of 5281d9620d13386fd4403f7aa6b9a2afd9b5a93f from master
2014-12-06 11:52:22 -05:00
wrwrwr
a80e4817a7
[1.7.x] Cleaned up a note in docs/topics/db/sql.txt.
...
Backport of 34a06d99e0fc96a0f0648bfde141d342e963e971 from master
2014-12-06 09:26:16 -05:00
Peter Inglesby
00018642c9
[1.7.x] Fixed typo in docs/ref/applications.txt.
...
Backport of 0fde2ca0368928bb8ee16b06b8ca33031bb779b7 from master
2014-12-06 09:23:37 -05:00
Claude Paroz
01e117abf0
[1.7.x] Fixed documentation of GeoModelAdmin.openlayers_url
...
Backport of e3091350 from master.
2014-12-06 12:47:42 +01:00
Tim Graham
6a94c97729
[1.7.x] Corrected example in Form.has_changed() docs.
...
Backport of ebfadb808043c689b19cfee818c10f63866ee8fc from master
2014-12-05 13:17:36 -05:00
Young Yang
58e0d6bdbc
[1.7.x] Fixed #23955 -- Corrected formset fields in topic guide.
...
Backport of f0c7a6f36005d489e049236922abe0bd3a3eac2c from master
2014-12-05 11:33:16 -05:00
Claude Paroz
6ba960266a
[1.7.x] Fixed #23954 -- Added special text/varchar PostgreSQL indexes in migrations
...
Thanks adityagupta104 for the report and Tim Graham for the review.
Backport of 8d7a48027e from master.
2014-12-04 21:39:32 +01:00
Tim Graham
d57124433f
[1.7.x] Fixed #23920 -- Fixed MySQL crash when adding blank=True to TextField.
...
Thanks wkornewald for the report and Markus Holtermann for review.
Backport of 765fa36d57d08d0568438f6fd74521e7a56abb61 from master
2014-12-04 10:59:05 -05:00
Tim Graham
e8c88c93ec
[1.7.x] Fixed typo in aggregation docs.
2014-12-03 20:10:28 -05:00
Benjamin Bach
48bd44670b
[1.7.x] Documented a current limitation of multiple table annotation; refs #10060 .
...
Backport of 4b23a6c7a9232cc07ec95fe98be17efbd4449822 from master
2014-12-03 19:19:28 -05:00
Theodoros Ikonomou
82c0c7b34f
[1.7.x] Fixed typo in docs/ref/request-response.txt.
...
Backport of 49d034fff21213b369c08b39772e0437c3cc723b from master
2014-12-03 18:44:06 -05:00
Tim Graham
5219a02fda
[1.7.x] Added a test to verify headers set by default middleware; refs #23939 .
...
Backport of 50c1d8f24b0d04c813b3dd34720df86446091afa from master
2014-12-03 14:17:05 -05:00
Tim Graham
38960a5dd8
[1.7.x] Fixed assertion from refs #23939 test.
...
The assertion is different on master due to
393c0e24223c701edeb8ce7dc9d0f852f0c081ad.
2014-12-03 14:09:23 -05:00
Tim Graham
99c0cc5300
[1.7.x] Fixed #23939 -- Moved session verification out of SessionAuthenticationMiddleware.
...
Thanks andrewbadr for the report and Carl Meyer for the review.
Backport of b06dfad88fb12a927c86a1eb23064201c9560fb1 from master
2014-12-03 13:42:02 -05:00
Gavin Wahl
e9975ed3cd
[1.7.x] Fixed #23950 -- Prevented calling deconstruct on classes in MigrationWriter.
...
Backport of dee4d23f7e703aec2d1244e4facbf7f4c88deed5 from master
2014-12-03 08:32:59 -05:00
Tim Graham
de92c61e40
[1.7.x] Added some directories on Jenkins to flake8 exclude.
...
Backport of 53908c1f934b32e83e9fa34c14910b1837f7f610 from master
2014-12-02 18:42:14 -05:00
Tim Graham
0a70d63b0b
[1.7.x] Tweaked fix for refs #23946 ; thanks Claude.
...
Backport of 5c773447c3239a297b22929f0df15d2971d72e77 from master
2014-12-02 15:58:49 -05:00
Andriy Sokolovskiy
2d0d6cadd4
[1.7.x] Fixed #23946 -- Fixed runserver crash when socket error contains Unicode chars.
...
Backport of bba545345f46f09245799f7ae0a22177a84eba71 from master
2014-12-02 12:02:18 -05:00
Kamil Braun
ccc30ffe57
[1.7.x] Fixed #23934 -- Fixed regression in admin views obj parameter.
...
Backport of 0623f4dea46eefba46efde6c6528f7d813ef4391 from master
2014-12-02 08:43:59 -05:00
Claude Paroz
3a42d9730c
[1.7.x] Fixed #23909 -- Prevented crash when collecting SQL for RunSQL
...
Thanks James Rivett-Carnac for the report and Markus Holtermann
for the review.
Backport of e11c6fd21 from master.
2014-12-02 09:02:54 +01:00
Tim Graham
bc5bb3e1a0
[1.7.x] Fixed selenium test failure of JavascriptI18nTests.
...
The failure was introduced in dd1ea70779adff294140eddb0229c382e12f32f3.
The tests wouldn't start due to a "Dependency on unknown app" error.
Backport of b8cc5f3cd4c70518dceb894edf9717abff79f0b4 from master
2014-12-01 17:04:44 -05:00
Tim Graham
943b1047de
[1.7.x] Fixed flake8 warnings.
...
Backport of 392e11945fa246d751d23bb515703fcaf55dfa26 from master
2014-12-01 16:01:18 -05:00
Markus Holtermann
ba3e976186
[1.7.x] Fixed #23880 -- Added missing index_together handling for SQLite
...
Backport of d2202ec2d4d0477b682c6d0051f27ab4843ef89f from master
2014-12-01 16:00:36 -05:00
Shai Berger
d62e16fe46
[1.7.x] Restored the 'TEST_' prefix in the warning about deprecated test database settings
...
Backport of 88edce2abb from master
2014-12-01 02:18:16 +02:00
Claude Paroz
25e0329fbe
[1.7.x] Removed instructions to create a PostgreSQL cluster in GIS docs
...
Creating a new cluster is neither required not recommendable for
most users. The previous section explains how to create a user
with sufficient permissions to automatically create a database
during tests.
2014-11-29 11:22:08 +01:00
wrwrwr
3ac39bb63d
[1.7.x] Added notes on registering signals in ready() and using dispatch_uid.
...
Refs #23641 .
Backport of d66bda60590daabe21f60a532a613a31a10fedbd from master
2014-11-27 11:23:43 -05:00
wrwrwr
e3ea5d4dad
[1.7.x] Fixed typo in docs/topics/forms/modelforms.txt.
...
Backport of a15aba66f2fc650f70a791fb7fa880cf85cb1229 from master
2014-11-27 10:54:09 -05:00
Berker Peksag
8819f6f7c9
[1.7.x] Fixed #23847 -- Improved the email_check example in the auth documentation.
...
Backport of 87bd13617c57a806deb550e3af1c06ce00517a9c from master.
2014-11-27 11:57:54 +01:00
Carl Meyer
6f65bd1cf0
[1.7.x] Fixed #23872 -- Removed sensitivity of migrations tests to CWD.
...
Backport of 47b7f601eeb93bd7a91f87b77da658212f2f2314 from master.
2014-11-26 17:36:04 -07:00
Kenial Lee
5f79da5814
[1.7.x] Fixed #23901 -- Documented how to use SpatiaLite with Homebrew.
...
Backport of cc870b8ef5e3464c6f051e3ef0a25dfc4b597452 from master
2014-11-26 14:05:21 -05:00
Luke Plant
87254532fb
[1.7.x] Release notes for ff3d746e8d8e8fbe6de287bd0f4c3a9fa23c18dc
...
Backport of 8b15018fd57b7b10df321b61a17601982660ebdc from master
2014-11-26 08:22:49 +00:00
Luke Plant
8e3c3be32d
[1.7.x] Fixed bug in circular dependency algo for migration dependencies.
...
Previous algo only worked if the first item was a part of the loop,
and you would get an infinite loop otherwise (see test).
To fix this, it was much easier to do a pre-pass.
A bonus is that you now get an error message that actually helps you debug
the dependency problem.
Backport of ff3d746e8d8e8fbe6de287bd0f4c3a9fa23c18dc from master, with
additional tests from c5def493d0993d65bf7d96f0a204006cbeaa6178
2014-11-26 08:15:33 +00:00
Simon Charette
2a20bccda9
[1.7.x] Fixed #23754 -- Always allowed reference to the primary key in the admin
...
This change allows dynamically created inlines "Add related" button to work
correcly as long as their associated foreign key is pointing to the primary
key of the related model.
Thanks to amorce for the report, Julien Phalip for the initial patch,
and Collin Anderson for the review.
Backport of f9c4e14aeca7df79991bca8ac2d743953cbd095c from master
2014-11-25 13:32:24 -05:00
Simon Charette
f46ebc680b
[1.7.x] Added warning about get_inline_instances() permission checking; refs #23754 .
...
Backport of e0d1f2684ae60573b209783f9fd4f9db163ad704 from master
2014-11-25 13:15:02 -05:00
Redouane Zait
f671905fdb
[1.7.x] Fixed #23898 -- Added missing context to admin's deleted_selected view.
...
Backport of 8e7b384d89db67e450aef1f2eb9a12703a5942e9 from master
2014-11-25 11:27:30 -05:00
Richard Olsson
3350531ceb
[1.7.x] Fixed typo in docs/ref/django-admin.txt
...
Backport of c1552af1fe5832011e3b1c3e5b40c20ff3dbe6f9 from master
2014-11-25 07:51:58 -05:00
Tim Graham
299e7718cf
[1.7.x] Fixed #23907 -- Added admin.site.register in tutorial 2 for consistency.
...
Backport of 1dbdc03382 from master
2014-11-24 15:59:43 -05:00
Sergey Fedoseev
78fe7ec14f
[1.7.x] Fixed #23888 -- Fixed crash in File.__repr__() when name contains unicode.
...
Backport of 1e9ac504e4 from master
2014-11-24 15:55:43 -05:00
Tom V
014f699c8b
[1.7.x] Fixed typo in django/utils/decorators.py comment.
...
Backport of d049b36f91538595b9c7cdb7a1506c130803d226 from master
2014-11-24 10:46:28 -05:00
Luke Plant
9d0e61f04d
[1.7.x] Further fixes to the migration notes for get_query_set
...
This rename is very tricky for the case of subclasses which define
get_query_set and haven't been updated yet, which applies to all projects in
the form of RelatedManager from Django 1.5.
Backport of 0c623da66406d1f20b5e26d497d57da5ad0de066 from master
2014-11-24 15:35:31 +00:00
Danilo Bargen
60cf46fdf5
[1.7.x] Fixed #23543 -- Added docs on testing management command output.
...
Backport of cdee8659763ee7044c1507bcd2202581b1744f0b from master
2014-11-24 10:29:14 -05:00
Luke Plant
e10c5a8fdd
[1.7.x] Better migration docs for get_query_set -> get_queryset
...
This way they won't need to fix things again when get_query_set disappears
Backport of 91e2780dfba5609b0f83d51aee1cf7e8fe78b1f7 from master
2014-11-24 10:17:27 +00:00
Kevin Ndung'u
22d292e23b
[1.7.x] Fixed #23900 -- Added missing imports in code example.
...
The Preventing header injection example included
classes that are not imported.
Thanks to Collin Anderson and Berker Peksağ for the
reviews.
Backport of 0d74209ef66111f29f122d5f5fdf8e2964890cc5 from master.
2014-11-23 23:08:13 +01:00
Carl Meyer
2d06c112d1
Revert "[1.7.x] Fixed #23892 -- Made deconstructible classes forwards compatible"
...
This reverts commit 8014001d9287d516c58be80ad71fb63593648b3d.
Adding kwargs to deconstructed objects does not achieve useful
forward-compatibility in general, since the additional kwargs are silently
dropped rather than having their expected effect. In fact, it can cause the
failure to be more difficult to debug. Thanks Shai Berger for discussion.
2014-11-22 22:26:58 -07:00
Carl Meyer
8014001d92
[1.7.x] Fixed #23892 -- Made deconstructible classes forwards compatible
...
Backport of f36151ed169813f2873e13ca9de616cfa4095321 from master.
2014-11-22 14:33:46 -07:00
Claude Paroz
4592059484
[1.7.x] Updated an old note about GEOSGeometry.transform
...
Backport of b0a58b9085b from master.
2014-11-22 13:26:49 +01:00
Simon Charette
cc5aa809e2
[1.7.x] Fixed typo in forms/models.py comment.
...
Backport of a7c3d0f288a66d327e71476e9a9bfcc791602b8c from master
2014-11-21 15:59:54 -05:00
Stanislas Guerra
4ea39230fc
[1.7.x] Fixed #23778 -- Added a doc section on using the Django runner for reusable apps.
...
Backport of 06726965c3e53e9a6b87e1532951a93d5f94f426 from master.
2014-11-21 13:07:45 -07:00
Alasdair Nicol
f91c6ecc22
[1.7.x] Fixed #23865 -- documented how to assign errors to a field in Model.clean()
...
Also added a unit test wit the simpler syntax which we have documented,
where the dictionary values are strings.
Backport of 5b26a014a81ba0d404d46e11d2b45c01d92b97e5 from master
2014-11-21 13:02:40 -05:00
Tom V
910dcd574a
[1.7.x] Fixed typo in docs/internals/release-process.txt.
...
Backport of a3aeba0f9535e59133e49374a6485a85f26d756e from master
2014-11-21 11:49:48 -05:00
Andrzej Pragacz
feded19104
[1.7.x] Fixed #23794 -- Fixed migrations crash when removing a field that's part of index/unique_together.
...
Backport of 72729f844e0dd9bd01b3874171b89ab0d136a40e from master
2014-11-21 10:57:38 -05:00
Markus Holtermann
145467a636
[1.7.x] Fixed duplicate index error on Oracle; refs #23859 .
...
Refers to regression introduced in 7b4a994599b75a07cb07d1e0cc26b3bbf25ab7a6
Backport of 4c709cc0ef0daa2b527e056865f51796fb0d42f3 from master
2014-11-20 14:44:05 -05:00
Anssi Kääriäinen
01f2cf2aec
[1.7.x] Fixed #23605 -- Fixed nested subquery regression
...
Added relabeled_clone() method to sql.Query to fix the problem. It
manifested itself in rare cases where at least double nested subquery's
filter condition might target non-existing alias.
Thanks to Trac alias ris for reporting the problem.
Backport of 5c481db29572a387651681b43d5d4523f96b3793 from master
2014-11-20 13:53:28 -05:00
Alasdair Nicol
2e2607870d
[1.7.x] Added missing backticks to form validation docs
...
Backport of 38ab0f13fac428dd05dad02ef7c94da5035927ad from master
2014-11-20 11:09:57 -05:00
Michal Petrucha
593353d8af
[1.7.x] Fixed #23817 -- Updated docs on QuerySet evaluation
...
Removed inaccurate info about partial evaluation after refs #18702 .
Added information on modifying sliced QuerySets; refs #22503 .
Backport of 327df551e89a505c5756becee97c40198f38aff2 from master
2014-11-20 09:35:29 -05:00
Markus Holtermann
1b8c067a4f
[1.7.x] Cleaned up and reformatted autodetector tests
...
Backport of 233165083593baf5f62194f50df26fb830e5f570 from master.
2014-11-19 18:25:00 -05:00
Markus Holtermann
2f8cd09a06
[1.7.x] Formatted model states in autodetector tests
...
Backport of f17acd59303a27876966927869af7f4bfe38a74a from master.
2014-11-19 18:25:00 -05:00
Carl Meyer
03e8c18288
[1.7.x] Fixed #23410 -- Avoided unnecessary rollbacks in related apps when migrating backwards.
...
Backport of ab2819aa7b09d36d9ff24830a9825aa52b87fdb4 from master.
2014-11-19 16:15:05 -07:00
Carl Meyer
ac359dc771
[1.7.x] Fixed #21794 -- Removed deprecation warning for abstract models outside an app.
...
Backport of e7b9a58b081299b30f807d5c66f7a5d1940efe4c from master.
2014-11-19 15:56:25 -07:00
Stratos Moros
50434aebe2
[1.7.x] Fixed #22248 -- Made RenameModel reversible
...
Backport of cf7a2a000e from master
2014-11-19 09:51:07 -05:00
Tillmann Karras
dfcac7d7f5
[1.7.x] Fixed #23799 -- Made makemigrations respect --no-optimize.
...
Thanks to yamila-moreno for the idea of a skip message.
Backport of d18810131995dac63f9d89b0beaeadfc935130aa from master
2014-11-18 09:20:04 +01:00
Carl Meyer
229abe62fa
[1.7.x] Fix malformed note directive.
2014-11-17 16:43:25 -07:00
Markus Holtermann
03d983f7c3
[1.7.x] Fixed #23859 -- Fixed a migration crash when a field is renamed that is part of an index_together
...
Backport of 7b4a994599b75a07cb07d1e0cc26b3bbf25ab7a6 from master.
2014-11-17 15:57:19 -07:00
twidi
49d4095767
[1.7.x] Avoided unneeded calls to state.render() in migrations.
...
Backport of 19ae13d9ed76208b29bb40aec1bfff8196aa7331 from master
2014-11-17 18:45:21 +01:00
twidi
4fbeec5631
[1.7.x] Reordered condition to avoid calling allow_migrate() if unneeded.
...
Backport of 82aca216e130973d142473ebb4b22d1eae146ec7 from master
2014-11-17 18:34:36 +01:00
Tim Graham
5a6d6c5e0b
[1.7.x] Fixed #23855 -- Removed unnecessary all() in tutorial 3.
...
Backport of 8fce7978307058f9bc7d9f815858f27fdd954409 from master
2014-11-17 18:12:19 +01:00
nmundar
b2534bfa7b
[1.7.x] Fixed #23690 - fixed examples of manual rendering of form fields
...
Documentation for rendering form fields manually is now updated to use fields id_for_label instead of hardcoded values with additional mention of label_tag for alternative generation of complete label tag.
Backport of 48515ee1f7bec437544a0a958332483298f4028b from master
2014-11-16 14:36:08 +01:00
Peter Sagerson
42001e027c
[1.7.x] Fixes a race condition in the documentation.
...
The example for django.contrib.admin.ModelAdmin.get_form modifies
self.exclude. However, since ModelAdmin instances are global and have no
thread- or request-locality, this is not safe for concurrent
requests.[1] This updated documentation demonstrates a safe method to
override admin forms on a per-request basis.
[1] https://groups.google.com/forum/#!topic/django-users/AmoUDtEefyA
Backport of 0d1a9d203a970a82a2f81edf0ba7d4b55442fd78 from master
2014-11-16 14:33:14 +01:00
Andreas Madsack
7796f62c36
[1.7.x] Fixed #23808 -- Documented that migrations table is created when using runserver without migrating first.
...
Backport of 27c9b3a27d313e75732c1e8e966b320ddbde499d from master
2014-11-15 20:06:13 +01:00
Erik Romijn
d49c42e20e
[1.7.x] Fixed #23793 -- Clarified password reset behavior in auth docs
...
Backport of c5132382f081bd1b5a3618bbf23fa0cf720af14b from master.
2014-11-15 17:44:29 +01:00
Berker Peksag
3c2507c386
[1.7.x] Fixed #23665 -- Noted precedence of settings.USE_L10N in MONTH_DAY_FORMAT and YEAR_MONTH.
...
Backport of 4f90c99635149fae2f488c03f0b52303fe97e0aa from master
2014-11-15 09:55:31 +01:00
Tim Graham
b050dc46a9
[1.7.x] Fixed #23588 -- Added a link in tutorial for list_display options.
...
Backport of 3a550bb6d32172fc1ec5dd314d20ef1235db995a from master
2014-11-13 20:16:29 +01:00
Tim Graham
cf5e2c46f2
[1.7.x] Fixed #23802 -- Typos in 1.7 release notes.
...
Backport of d5a109f6e6684b2ea8028af5c57f4257872d11aa from master
2014-11-13 20:10:40 +01:00
Tim Graham
1a73d6394e
[1.7.x] Added missing docs for 1_7.W001 check.
...
Backport of 098368d82f67715723b5bd4445a8fe92a0ceae98 from master
2014-11-13 20:09:51 +01:00
Claude Paroz
99ae86d1d4
[1.7.x] Updated Fink doc section to be version-agnostic
...
Backport of 7fd1f3a645f from master.
2014-11-13 14:35:57 +01:00
Tim Graham
4f5614d68e
[1.7.x] Removed thread customizations of six which are now built-in.
...
Backport of 7ef81b5cdd from master
2014-11-13 11:34:03 +01:00
Adam DePue
2d12a59938
[1.7.x] Fixed #23761 -- Fixed crash with MySQL validator and db_type is None.
...
The issue was fixed on master in e9103402c0fa873aea58a6a11dba510cd308cb84.
2014-11-13 11:03:01 +01:00
Tim Graham
d4bec655ae
[1.7.x] Fixed flake8 warning.
...
Backport of dec7da3c4c from master
2014-11-13 10:08:17 +01:00
Baptiste Mispelon
606c57a132
[1.7.x] Fixed #23795 -- Fixed a regression in custom form fields
...
Custom form fields having a `queryset` attribute but no
`limit_choices_to` could no longer be used in ModelForms.
Refs #2445 .
Thanks to artscoop for the report.
Backport of bfb11b95626f39e2f5e18d97d7761c6f93dcc1a9 from master.
Conflicts:
django/forms/fields.py
2014-11-12 22:46:00 +01:00
Tim Graham
3e0d7de8a6
[1.7.x] Fixed #23774 -- Clarified QuerySet.order_by() and related models.
...
Backport of 11b7680d0e from master
2014-11-12 22:01:07 +01:00
aruseni
7c44d4be34
[1.7.x] Fix a typo in 1.7 release notes
...
Backport of faf4d5c510 from master
2014-11-10 20:02:26 -05:00
aruseni
c6d5f74371
[1.7.x] Fixed a typo in 1.6 release notes.
...
Backport of 006451f894 from master
2014-11-10 15:39:04 +01:00
Tim Graham
3fb6e17857
[1.7.x] Fixed #23785 -- Typo in docs/releases/1.6.txt
...
Backport of 091f5b5a4e from master
2014-11-09 22:12:00 +01:00
Markus Holtermann
1f50ea730e
[1.7.x] Fixed #23770 -- Changed serialization strategy for floats with respect to NaN and Inf
...
Thanks to w0rp for the report
Backport of c7c098cf97fbb1416f302c76799058ad63a5f7aa from master.
2014-11-06 15:31:30 +01:00
Tim Graham
77209e783c
[1.7.x] Removed redundant link in 1.7 release notes.
...
Backport of 9f4c718b2f from master
2014-11-05 09:10:16 -05:00
Loic Bistuer
0e03d4618b
[1.7.x] Removed confusing paragraph from the docs.
...
This snippet wasn't particularly helpful as `add_error()` is described
in greater details in the following section.
Thanks Claude Paroz for the report.
Backport of f1f0c4f16b from master
2014-11-05 16:06:20 +07:00
Tim Graham
109719a9cb
[1.7.x] Updated six to 1.8.0.
...
Backport of 81477c91f6 from master
2014-11-04 21:22:45 -05:00
Tim Graham
e7ec0af6fc
[1.7.x] Fixed links to mysqlclient in database notes.
...
Backport of e0685368c6 from master
2014-11-04 07:36:18 -05:00
Tim Graham
d373e223bd
[1.7.x] Added a warning about nonexistent FK constraints when unmigrated apps depend on migrated ones.
...
Thanks NotSqrt for the report; refs #23741 .
Backport of f0ff452451 from master
2014-11-04 07:27:53 -05:00
Berker Peksag
c3b101fae5
[1.7.x] Fixed versionchanged indentation in docs/.
...
Backport of 5c517ec218 from master
2014-11-03 21:43:21 -05:00
Veres Lajos
6b32adda59
[1.7.x] Fixed typos using https://github.com/vlajos/misspell_fixer
...
Backport of a71a2ea756 from master
2014-11-03 21:07:05 -05:00
Claude Paroz
378f94e39e
[1.7.x] Confirmed Spatialite 4 support
...
Backport of e62dea9ad5 from master
2014-11-03 10:51:23 -05:00
Andy Chosak
d3e71a6daa
Clarified custom lookups output_field documentation
2014-11-03 16:00:34 +02:00
Andy Chosak
12e5b87b89
[1.7.x] Fixed #23420 - broken warning for unbound naive datetime objects
...
Fixed issue with warning message displayed for unbound naive datetime
objects when USE_TZ is True. Adds unit test that demonstrates the issue
(discoverable when using a custom lookup in MySQL).
Backport of ceb1ffcc8d from master.
Conflicts:
tests/custom_lookups/tests.py
2014-11-03 15:59:17 +02:00
James Brewer
74d0311d6b
[1.7.x] Fixed #23376 -- Clarified that certain Storage methods should be implemented but are not required.
...
Backport of 332706eaa0 from master
2014-11-03 07:18:48 -05:00
Tim Graham
3ac46d0726
[1.7.x] Fixed #23744 -- Fixed typo in selenium testing example.
...
Thanks djbug for the report.
Backport of 6d0547c1ad from master
2014-11-01 12:37:26 -04:00
Tim Graham
17205a98ed
[1.7.x] Fixed #23731 -- Fixed migrations crash when adding blank GeometryFields on PostGIS.
...
Thanks raratiru for the report and Claude Paroz for review.
Backport of d6d55368d4 from master
2014-10-31 18:38:46 -04:00
Tim Graham
e876c7f1ee
[1.7.x] Fixed #23732 -- Corrected and enhanced select_related() docs.
...
Thanks Daniele Procida for the report and review.
Backport of e958c760f9 from master
2014-10-31 15:40:34 -04:00
Tim Graham
c2cad66e47
[1.7.x] Added a warning about direct settings manipulation in tests.
...
Thanks Thomas Chaumeny for the initial patch.
Backport of 3f651b3e88 from master
2014-10-31 13:37:56 -04:00
Markus Holtermann
40ad022d5e
[1.7.x] Fixed #23738 -- Allowed migrating from NULL to NOT NULL with the same default value
...
Thanks to Andrey Antukh for the report.
Backport of 715ccfde24 from master
2014-10-31 13:30:56 -04:00
Aymeric Augustin
12bace46c1
[1.7.x] Avoided using private API get_template_from_string.
...
Conflicts:
django/contrib/webdesign/tests.py
Backport of c0c1bb9e from master.
2014-10-31 11:43:54 +01:00
Tim Graham
31d1ccca3f
[1.7.x] Fixed #23735 -- Clarified that admindocs must be enabled to view template tag libraries in admin.
...
Thanks Aymeric Augustin for the report.
Backport of 19242c675f from master
2014-10-30 19:04:34 -04:00
Tim Graham
f2de562235
[1.7.x] Fixed #23736 -- Corrected the description of the value that silent_variable_failure uses.
...
Thanks Aymeric Augustin for the report.
Backport of e7cb4f2fba from master
2014-10-30 18:44:51 -04:00
Tim Graham
01119c9c0f
[1.7.x] Fixed #23737 -- Recommended the render() shortcut more strongly.
...
Thanks Aymeric Augustin for the report.
Backport of f85fcc75e3 from master
2014-10-30 18:35:15 -04:00
Tim Graham
ee2e09864d
[1.7.x] Fixed #23734 -- Replaced striptags in template filter overview since it has security implications.
...
Thanks Aymeric Augustin for the suggestion.
Backport of 08c5887f13 from master
2014-10-30 18:27:44 -04:00
Zan Anderle
30bd586a1c
[1.7.x] Explained why admindocs omits model methods with arguments.
...
Backport of 9e3aaa5a46 from master
2014-10-30 18:19:48 -04:00
Aymeric Augustin
aca514b7c4
[1.7.x] Removed extra period.
...
Backport of 8f79c15 from master
2014-10-30 20:50:00 +01:00
Berker Peksag
79b6717927
[1.7.x] Converted seealso directives to use 4 space indendation.
...
Backport of affc04060f from master
2014-10-30 14:46:27 -04:00
Tim Graham
9c9f35ed27
[1.7.x] Fixed #23152 -- Added support for transactional Spatialite metadata initialization.
...
Thanks Doug Goldstein for the initial patch.
Backport of 57e40551e4 from master
2014-10-30 13:58:02 -04:00
slollo
ffd31c017f
[1.7.x] Updated FIRST_DAY_OF_WEEK for Ukrainian to Monday.
...
Backport of eab3dc195e from master
2014-10-30 09:20:57 -04:00
David Hoffman
d9bb7128fe
[1.7.x] Fixed #23558 -- documented slugify limitations
...
Backport of 03467368db from master
2014-10-30 09:08:01 -04:00
Berker Peksag
cb952099f4
[1.7.x] Fixed #23575 -- Added a code example for custom AdminSite.
...
Backport of 4a9b4a23bd from master
2014-10-30 08:51:39 -04:00
Raul Cumplido
9d1c5088bd
[1.7.x] Fixed #23725 -- Substituted AUTH_USER_MODEL for User in docs.
...
Backport of 68d3db8a7b from master
2014-10-30 08:30:06 -04:00
P.A. SCHEMBRI
92628cc982
[1.7.x] Added cross reference in admin docs to topic about saving objects in formsets.
...
Backport of 388c6038fd from master
2014-10-29 13:39:18 -04:00
Markus Holtermann
21358e7225
[1.7.x] Fixed #23614 -- Changed the way the migration autodetector orders unique/index_together
...
Thanks to Naddiseo for the report and Tim Graham for the review
Backport of 5c9c1e029d from master
2014-10-29 13:16:23 -04:00
Tim Graham
bb42bab6d3
[1.7.x] Fixed #23719 -- Fixed MySQL 5.6 crash with GeometryFields in migrations.
...
Backport of 03bd79ed2 from master
2014-10-29 08:25:59 -04:00
Berker Peksag
d73c7e5db6
[1.7.x] Limited lines to 119 characters in django/{contrib,db}.
...
Refs #23395 .
Backport of c9178ef17a (to decrease chance of backport conflicts) from master
2014-10-29 08:01:35 -04:00
Oliver Meinusch
9766ed6a0e
[1.7.x] Fixed QuerySet datetimes argument name in docs.
...
Backport of 6b39401baf from master
2014-10-27 19:49:50 -04:00
Tim Graham
b7231e39a4
[1.7.x] Fixed #23708 -- Corrected mod_wsgi docs reference to nonexistent comment in wsgi.py.
...
Thanks inglesp for the report.
Backport of e460b1c573 from master
2014-10-27 18:20:18 -04:00
bahoo
dea3eefa72
[1.7.x] Fixed typo in squashing migrations documentation
...
Backport of af7d66b4f2 from master
2014-10-27 17:53:34 -04:00
Claude Paroz
a0cfd77971
[1.7.x] Added GeoDjango compatibility with mysqlclient driver
...
Thanks Tim Graham for helping on that issue.
2014-10-27 16:10:35 +01:00
Claude Paroz
0a4183dfe6
[1.7.x] Fixed typo in MySQL backend doctring
...
Thanks CHI Cheng for the report.
2014-10-27 14:03:15 +01:00
Claude Paroz
6a1bd837b1
[1.7.x] Fixed #23717 -- Fixed makemessages crash when STATIC_ROOT=None
...
Backport of 528c9af54 from master.
2014-10-27 13:59:09 +01:00
Tim Graham
abee4f718e
[1.7.x] Fixed stable/1.7.x test failures from refs #23699 .
2014-10-27 08:19:57 -04:00
Tim Graham
af1c85e851
[1.7.x] Fixed flake8 warning.
...
Backport of ef9e3c5ed8 from master
2014-10-27 07:13:47 -04:00
Tim Graham
6149a0ab18
[1.7.x] Edited release note for refs #23621 .
2014-10-27 07:13:23 -04:00
Tim Graham
5cc8180a65
[1.7.x] Fixed #23699 -- Prevented flush from loading initial data for apps with migrations.
...
Backport of dd1ea70779 from master.
2014-10-27 07:13:05 -04:00
Tim Graham
e317d7fc72
[1.7.x] Fixed documentation of make_password kwargs.
...
Backport of ed7c4df1ee from master
2014-10-27 06:44:18 -04:00
Claude Paroz
b42930e4b7
[1.7.x] Fixed #23446 -- Officially recommended mysqlclient as MySQL driver
...
Thanks Corey Farwell for the report and Tim Graham for the review.
Thanks also to Inada Naoki for creating and maintaining mysqlclient.
Backport of 7f089ac2e3 from master.
2014-10-27 09:17:31 +01:00
Loic Bistuer
7fa6781f81
[1.7.x] Fixed #23621 -- Warn for duplicate models when a module is reloaded.
...
Previously a RuntimeError was raised every time two models clashed
in the app registry. This prevented reloading a module in a REPL;
while it's not recommended to do so, we decided not to forbid this
use-case by turning the error into a warning.
Thanks dfunckt and Sergey Pashinin for the initial patches.
Backport of 8c4ca16c65 and b62f72498a from master
2014-10-26 00:12:17 +07:00
Berker Peksag
7227ec8ecc
[1.7.x] Removed simplejson inventory file from docs/conf.py.
...
Backport of 695956376f from master
2014-10-25 08:21:49 -04:00
Tim Graham
03a20e5abd
[1.7.x] Fixed #23692 -- Removed alpha/beta/rc release notes.
...
Backport of 740934b507 from master
2014-10-25 08:20:04 -04:00
Tim Graham
6f2658aa34
[1.7.x] Replaced dead links to python-distribute.org.
...
Backport of dc241fdfdf from master
2014-10-24 18:59:17 -04:00
Berker Peksag
17c09704ab
[1.7.x] Fixed versionchanged indentation in topics/testing/advanced.txt.
...
Backport of 1387c80643 from master
2014-10-24 15:41:43 -04:00
James Doherty
69b5428c12
[1.7.x] Fixed typo in docs/ref/request-response.txt
...
Backport of adf8fb34ce from master
2014-10-24 07:49:47 -04:00
Tim Graham
7750fc8fa8
[1.7.x] Fixed #23702 -- Fixed adding an explicit id field on SQLite.
...
Thanks gavinwahl for the report.
Backport of 92269b7b53 from master
2014-10-23 14:35:55 -04:00
Tim Graham
ba6a599ce4
[1.7.x] Fixed #23705 -- Removed unnecessary AliasMatch from example Apache config.
...
Thanks Keryn Knight for the report.
Backport of 4b0a45ce64 from master
2014-10-23 08:51:14 -04:00
Tim Graham
f70a733abc
[1.7.x] Fixed #23630 -- Made AlterModelTable rename auto-created M2M tables.
...
Thanks Naddiseo for the report, Andrew Godwin for guidance,
and Shai Berger for review.
Backport of 41b337efa0 from master
2014-10-23 08:51:08 -04:00
Berker Peksag
41d5222a6a
[1.7.x] Fixed versionchanged indentation in unit-tests.txt.
...
Backport of 22c85bf1a8 from master
2014-10-23 08:04:17 -04:00
Tim Graham
7db89f79b3
[1.7.x] Added a warning about running migrations with DEBUG=True.
...
Thanks Charles Lanahann for the report.
2014-10-22 14:12:47 -04:00
Tim Graham
81095a1ae5
[1.7.x] Added stub release notes for 1.7.2.
...
Backport of 4bf86d25e5 from master
2014-10-22 13:39:27 -04:00
Tim Graham
c4092e8bde
[1.7.x] Post-release version bump.
2014-10-22 13:29:56 -04:00
James Bennett
c5780adeec
[1.7.x] Bump version number for bugfix release.
2014-10-22 12:56:07 -04:00
Tim Graham
0f9b4b5a90
[1.7.x] Added release dates to release notes.
...
Backport of 9dc782b631 from master
2014-10-22 12:24:13 -04:00
Claude Paroz
d5a273eadb
[1.7.x] Fixed #23583 -- More selectively ignored static/media roots
...
Fixed a regression introduced by 28efafa24c.
Thanks Michal Čihař for the report and initial patch, and
Collin Anderson and Tim Graham for the reviews.
Backport of 8b4cc9df9c from master.
2014-10-21 20:20:26 +02:00
Claude Paroz
53bc81dca3
[1.7.x] Fixed #21740 -- Allowed test client data to be an empty string
...
This fixes a regression introduced by 2a31d00933.
Thanks tony-zhu for the report.
Backport of f0bb3c98cc from master.
2014-10-21 09:17:42 +02:00
Simon Charette
117e970610
[1.7.x] Fixed a flake8 warning.
...
Backport of f6c208d95c from master
2014-10-20 13:17:00 -04:00
Tianyi Wang
3f3bed8fb9
[1.7.x] Fixed #23629 -- Allowed autodetector to detect changes in Meta.db_table.
...
Thanks Naddiseo for reporting.
Backport of 5732424bee from master
2014-10-20 13:15:34 -04:00
Tim Graham
417923c69e
[1.7.x] Fixed #20609 -- Added instructions for using AnonymousUser with RequestFactory.
...
Backport of a39df37049 from master
2014-10-20 10:52:36 -04:00
wrwrwr
a2ebbf8916
[1.7.x] Fixed a typo in urlencode documentation.
...
Backport of 62a53bdf11 from master
2014-10-19 19:20:28 -04:00
Jon Dufresne
37ab955d69
[1.7.x] Fixed #23676 -- Rearranged sentence; "by default" applies only to max length
...
Backport of c1b9f99a81 from master
2014-10-18 06:56:12 -04:00
Tim Graham
55a5f0b49a
[1.7.x] Added 1.7.1 release notes for refs #23649 .
...
Backport of 6ce6c77e03 from master
2014-10-17 08:57:15 -04:00
Shai Berger
a1578055e6
[1.7.x] Fixed #23649 -- Made Oracle test-db creation drop test-user earlier when needed
...
Checked database destruction for ORA-29857, which happens when objects of
some types are left over in an old test database (notably, such objects
are created by the GIS backend). When this happens, we can resolve the
issue by dropping the test-user (if we are allowed to).
An alternative approach, to just switch the order of creation (so that,
if the test user exists and can be dropped, it is always dropped before
the tablespace) was considered; but since the user creation depends on
the tablespace, this would necessitate separating the dropping of the user
from its creation -- a change I am reluctant to make.
Thanks Josh Smeaton and Tim Graham for reviews.
Backport of 2e1ed5f33c from master
2014-10-17 04:58:31 +03:00
Tim Graham
0569e0dd74
[1.7.x] Fixed some intersphinx references.
...
Backport of babbf18999 from master
2014-10-16 20:02:23 -04:00
Tim Graham
a1a54b00d2
[1.7.x] Fixed #23667 -- Incorrect settings reference for language cookie.
...
Thanks jamesbeith for the report.
Backport of bedd439297 from master
2014-10-16 19:42:05 -04:00
Rigel Di Scala
e8262b5941
[1.7.x] Fixed #23615 -- Validate that a Model instance's "check" attribute is a method.
...
The "check" name is a reserved word used by Django's check framework,
and cannot be redefined as something else other than a method, or the check
framework will raise an error.
This change amends the django.core.checks.model_check.check_all_models()
function, so that it verifies that a model instance's attribute "check"
is actually a method. This new check is assigned the id "models.E020".
Conflicts:
docs/ref/checks.txt
Backport of a5c77417a6 from master
2014-10-17 00:36:43 +07:00
mcgeeco
b729ef0bda
[1.7.x] Fixed #12008 -- Clarified relationship between template blocks and includes.
...
Thanks Daniele Procida for suggested wording.
Backport of 80b8d3bee0 from master
2014-10-16 10:54:35 -04:00
Ian Lee
813954f15a
[1.7.x] Fixed pep8 in docs/topics/logging.txt
...
Backport of 947af46db3 from master
2014-10-15 18:56:00 -04:00
Claude Paroz
da0ebe39f6
[1.7.x] Fixed #23651 -- Isolated non-existent fixture tests
...
Previous versions of the tests were buggy, as initial_data.json
did exist and the test wasn't failing. It was finally failing on
Python 3.4.2.
Thanks Raphaël Hertzog for the report (and Debian bug #765117
contributors).
Backport of 7a893ee771 from master.
2014-10-15 09:18:14 +02:00
Claude Paroz
555952c3e6
[1.7.x] Adapted invalid cookie test to all Python versions
...
Refs #23638 . Older Python versions are less strict when parsing
invalid cookie content. The test just has to ensure Django doesn't
crash.
2014-10-14 09:59:14 +02:00
Claude Paroz
6398ebab93
[1.7.x] Fixed #23638 -- Prevented crash while parsing invalid cookie content
...
Thanks Philip Gatt for the report and Tim Graham for the review.
Backport of 59d487e7fc from master.
2014-10-13 17:39:23 +02:00
Florian Apolloner
bc13a08f89
[1.7.x] Fixed #23063 -- Convert \n and \r to \r\n when using the SMTP backend as per RFC.
...
Backport of 8d789449c7861b8cf8b10d244f26d9d354989aaf from master.
2014-10-12 22:03:01 +02:00
Dori
d2a2af67f7
[1.7.x] Fixed #23639 -- Fixed doc error in RegexValidator.regex
...
Thanks to @claudep for the report and the original patch.
Backport of c48a29a02a457cfdb1cff11009401459ba24e870 from master.
2014-10-12 13:02:27 +01:00
Tim Graham
625480cf08
[1.7.x] Fixed #23631 -- Removed outdated note on MySQL timezone support.
...
Thanks marfire for the report.
Backport of 9db3653670 from master
2014-10-10 15:22:36 -04:00
Konrad Świat
fd3dccb8dd
[1.7.x] Fixed #23616 - Fixed generic relations in ModelAdmin.list_filter.
...
Thanks ranjur for reporting bug, timgraham for review,
and collinanderson for contributing tips.
Backport of 06b11b617e from master
2014-10-10 13:12:26 -04:00
Markus Holtermann
71988ed953
[1.7.x] Fixed #23609 -- Fixed IntegrityError that prevented altering a NULL column into a NOT NULL one due to existing rows
...
Thanks to Simon Charette, Loic Bistuer and Tim Graham for the review.
Backport of f633ba778d from master
2014-10-09 22:41:27 +07:00
Rudy Mutter
e31be40f16
[1.7.x] Fixed #23365 -- Added support for timezone-aware datetimes to migrations.
...
Backport of a407b846b4 from master
2014-10-09 22:39:17 +07:00
Ian Foote
d830665007
[1.7.x] Fixed #23333 -- Made urlsafe_base64_decode() return proper type on Python 3.
...
Backport of 03d89168a2 from master
2014-10-08 14:03:46 -04:00
Tim Graham
b2f7b517e5
[1.7.x] Fixed #23587 -- Clarified admin template overriding in tutorial 2.
...
Thanks Petrus van Bork for the report.
Backport of e949f4435f from master
2014-10-08 08:19:33 -04:00
André Ericson
fa4b6482df
[1.7.x] Fixed #23611 -- update_or_create failing from a related manager
...
Added update_or_create to RelatedManager, ManyRelatedManager and
GenericRelatedObjectManager.
Added missing get_or_create to GenericRelatedObjectManager.
Conflicts:
tests/generic_relations/tests.py
tests/get_or_create/tests.py
Backport of ed37f7e979 from master
2014-10-08 04:55:47 +07:00
Tim Graham
dbd52f339c
[1.7.x] Fixed #23607 -- Typo in docs/ref/contrib/staticfiles.txt.
...
Thanks Rolandde for the report.
Backport of 87eedfff44 from master
2014-10-06 17:46:26 -04:00
Tim Graham
96f022203a
[1.7.x] Fixed #23593 -- Fixed crash in AdminEmailHandler with non-ASCII characters in request.
...
Thanks edevil for the report and Simon Charette for review.
Backport of 9dff5ce7c7 from master
2014-10-06 17:37:38 -04:00
Markus Holtermann
c2508990cb
[1.7.x] Fixed #23601 -- Ensured view exists in URLconf before importing it in admindocs.
...
Backport of 2f16ff5a6c from master
2014-10-06 13:44:01 -04:00
Carl Meyer
b3569b3a82
[1.7.X] Fixed #23602 -- Add comment on get_absolute_url regarding user input
...
Backport of 04bd84786d39b8a17620dfb3b354599d8d95417b from master.
2014-10-06 11:30:33 -06:00
Loic Bistuer
082abce81e
[1.7.x] Fixed #23594 -- Fixed deepcopy on ErrorList.
...
Thanks Troy Grosfield for the report and Tim Graham for the tests.
Backport of ec2fd02bb3 from master
2014-10-07 00:14:11 +07:00
Kostochko Dmitriy
2999bf055a
[1.7.x] Updated links in admin docs to use :ref:
...
per Sphinx docs: "Using ref is advised over standard reStructuredText
links to sections because it works across files, when section headings
are changed, and for all builders that support cross-references.
Backport of 13409b932a from master
2014-10-06 10:46:43 -04:00
Emmanuelle Delescolle
f8d845910b
[1.7.x] Fixed #23604 -- Allowed related m2m fields to be references in the admin.
...
Thanks Simon Charette for review.
Backport of a24cf21722 from master
2014-10-06 08:43:05 -04:00
Ismail Badawi
e9609fb7a1
[1.7.x] Fixed #23597 -- Clarified the manager that {Single,Multiple}ObjectMixin.model uses.
...
Backport of e501d4c505 from master
2014-10-06 08:24:07 -04:00
Tim Graham
0dbf366d90
[1.7.x] Revert "Improved AppRegistryNotReady message."
...
This reverts commit 154f5f0de108f428de2d5f488e0264f4459a4b66.
Aymeric: "I chose not to talk about django.setup() here on purpose.
This will hardly always be the correct solution."
Backport of 8121860be4 from master
2014-10-04 13:16:05 -04:00
Collin Anderson
154f5f0de1
[1.7.x] Improved AppRegistryNotReady message.
...
Backport of 6fa9fa91a5 from master
2014-10-04 08:24:18 -04:00
Erik Romijn
d2f01afed0
[1.7.x] Made minor typographic correction to SECRET_KEY docs.
...
Backport of 2bb00b0b0b5232aff806c8a9b3f1126c1cf79221 from master.
2014-10-04 10:34:50 +02:00
Erik Romijn
ab8afafcc0
[1.7.x] Fixed #22310 -- Documented exact usage of SECRET_KEY
...
Backport of 4ad57bbe31bc1813264824111de2f9f74dbda0d6 from master.
2014-10-04 09:25:11 +02:00
Luke Plant
adae224572
[1.7.x] Documented how to rename get_query_set if you are a library author
...
Backport of ca139bbfdf48bf59b0918a7d675cdc5d4ae60957 from master
2014-10-02 11:34:19 +01:00
jnothman
b21ec1ab6e
[1.7.x] Added flat=False to signature of QuerySet.values_list()
...
Backport of 20f868bc5a from master
2014-10-01 13:10:14 -04:00
Alasdair Nicol
74c38bad1d
[1.7.x] Fixed #23578 -- Changed examples in docs to use patterns
2014-10-01 01:23:53 +01:00
Claude Paroz
e9c8aefbce
[1.7.x] Updated translations from Transifex
2014-09-30 20:51:54 +02:00
Tim Graham
4743a94429
[1.7.x] Required numpy < 1.9 for tests; refs #23489 .
2014-09-29 19:31:29 -04:00
Duane Hilton
f0e7a695f5
[1.7.x] Fixed #17638 -- Added crosslinks between topic and reference guides.
...
Thanks oinopion for the suggestion and jarus for the initial patch.
Backport of 054bdfeff1 from master
2014-09-29 18:17:13 -04:00
Greg Brown
f9e8da1542
[1.7.x] Fixed typo in docs/topics/db/managers.txt
...
Backport of 9e8658db51 from master
2014-09-29 07:46:24 -04:00
Loic Bistuer
7355885ef5
[1.7.x] Fixed #23560 -- Fixed MigrationWrite to handle builtin types without imports.
...
Thanks Tim Graham for the review.
Backport of b23d47412c from master
2014-09-27 00:40:35 +07:00
Carl Meyer
091289d950
[1.7.X] How many is two?
2014-09-26 11:24:09 -06:00
Carl Meyer
d7bc30ffd2
[1.7.X] Fixed #23561 -- Corrected a security doc example that requires an unquoted HTML attribute.
...
Thanks "djbug" for the report.
2014-09-26 11:08:26 -06:00
Tim Graham
9d7a4ea205
[1.7.x] Fixed #23537 -- Added Oracle GIS SchemaEditor.
...
Thanks Shai Berger for review.
Backport of a8f07530a7 from master
2014-09-25 21:25:46 -04:00
Tim Graham
692df41419
[1.7.x] Added missing import removed in bad merge.
2014-09-25 18:02:40 -04:00
Markus Holtermann
e8a08514de
[1.7.x] Fixed #23455 -- Forced related_name to be a unicode string during deconstruction.
...
Backport of 45bd7b3bd9 from master
2014-09-25 17:50:50 -04:00
Tim Graham
1dec42822c
[1.7.x] Fixed #23538 -- Added SchemaEditor for MySQL GIS.
...
Thanks Claude Paroz for suggestions and review.
Backport of 74e7f91e6d from master
2014-09-25 14:36:31 -04:00
Markus Holtermann
00c2a721e2
[1.7.x] Fixed #23415 -- Added fields for unmanaged and proxy model migrations.
...
Thanks sky-chen for the report.
Backport of 215aa4f53b from master
2014-09-25 10:28:11 -04:00
Claude Paroz
b5d6092707
[1.7.x] Replaced input by textarea in forms docs
...
Backport of 5066fda34d from master.
2014-09-25 15:10:14 +02:00
Tim Graham
d7b32d3120
[1.7.x] Revert "Fixed #23474 -- Prevented migrating backwards from unapplying the wrong migrations."
...
Backport of d7ab2cefb7 from master
2014-09-24 15:56:24 -04:00
Tim Graham
02aa3e30e9
[1.7.x] Fixed #23421 -- Corrected TEST SERIALIZE setting.
...
Thanks gkoller for the report and Markus Holtermann for review.
2014-09-24 14:49:46 -04:00
Markus Holtermann
5356183716
[1.7.x] Fixed #22959 -- Documented that class-based validators need to be deconstructible.
...
Backport of c692e37b63 from master
2014-09-24 14:33:57 -04:00
Markus Holtermann
cf78a0ccc3
[1.7.x] Fixed #23473 -- Documented that @deconstructible classes need __eq__.
...
Backport of 066e672d79 from master
2014-09-24 14:19:43 -04:00
Tim Graham
40e5eb4114
[1.7.x] Corrected --noinput docs for makemigrations; refs #23407 .
...
Backport of 450a616004 from master
2014-09-24 13:30:23 -04:00
Thomas Grainger
bebdb026ce
[1.7.x] Added SuspiciousOperation to list of caught exceptions in testing docs.
...
Backport of 21683011d5 from master
2014-09-24 13:05:06 -04:00
Markus Holtermann
ae14c75014
[1.7.x] Fixed #23426 -- Don't require double percent sign in RunSQL without parameters
...
Backport of b9a670b227 from master
2014-09-24 07:21:50 -04:00
Justin Caratzas
cc74d8e02e
[1.7.x] Fixed #23539 -- Added get_extra(), get_max_num(), and get_min_num() hooks to GenericInlineModelAdmin.
...
Backport of cf43a1ee90 from master
2014-09-24 06:33:07 -04:00
Tim Graham
b4c9920352
[1.7.x] Skipped a broken geoapp test on Oracle; refs #23504 .
...
Backport of 729cd6a11a from master
2014-09-23 20:01:59 -04:00
Sergey Fedoseev
991ec655b6
[1.7.x] Fixed #23503 -- Fixed renaming of model with self-referential m2m field.
...
Backport of 463952d940 from master
2014-09-23 10:12:10 -04:00
Sergey Fedoseev
58d7b84d53
[1.7.x] Fixed #23065 -- Quoted constraint names in SQL generated by migrations.
...
Backport of 83cd18633f from master
2014-09-23 10:11:58 -04:00
Sergey Fedoseev
09b5ff64b8
[1.7.x] Factored create_fk_sql, create_unique_sql, and delete_constraint_sql.
...
Backport of 0bea6c8749 from master
2014-09-23 10:11:29 -04:00
velis74
1c1f418802
[1.7.x] Fixed #23535 -- Updated tutorial to account for default filter added in 5ea34f3f86.
...
Backport of 24aa85cea9 from master
2014-09-22 15:24:48 -04:00
Dejan Noveski
f1d7fffc95
[1.7.x] Fixed #23532 -- Fixed Macedonian locale date formats
...
Backport of 903d144d85 from master.
2014-09-22 18:07:18 +02:00
Ola Sitarska
99c2e40384
[1.7.x] Fixed #23512 -- Made migration docs about initial_data clearer
...
Thanks @abhillman and @Markush2010 for submitting the ticket.
Backport of 21819e6dbf422fe3ebe23cc006c0ef7bfc5c73de from master.
2014-09-21 18:34:08 +02:00
Ola Sitarska
02b3a6dcc0
[1.7.x] Fixed #23529 -- Replaced comments tag library with humanize in docs
...
Backport of ee442e97da390b7136dc12b66ddfa70263a60b5c from master.
2014-09-21 17:33:49 +02:00
Claude Paroz
8a78257133
[1.7.x] Fixed #23530 -- Specified PyYAML requirement in initial-data.txt
...
Thanks aks for the report.
Backport of 5bf654e44b7 from master.
2014-09-21 16:05:26 +02:00
Tim Graham
17a4038cf3
[1.7.x] Skipped a broken GIS test on Oracle; refs #23504 .
...
Backport of 828edc5ba9 from master
2014-09-19 15:06:11 -04:00
Tim Graham
b287676739
[1.7.x] Made a GIS test work on Oracle.
...
Thanks Josh Smeaton and Claude Paroz for advice.
Backport of 7add30df01 from master
2014-09-19 15:05:56 -04:00
Tim Graham
0f52bf7c96
[1.7.x] Fixed some flake8 errors.
...
Backport of 9d30412a5a from master
2014-09-19 12:33:44 -04:00
Tim Graham
988c7425ff
[1.7.x] Skipped an unsupported test on Oracle GIS.
...
This is fixed more elegantly on master with a feature flag in 6c1a0581ab.
2014-09-19 12:26:36 -04:00
Tim Graham
aa9c69a726
[1.7.x] Fixed an inspectapp test on Oracle GIS.
...
This is fixed more elegantly with a feature flag on master in 33e817a6d8.
2014-09-19 12:21:43 -04:00
Tim Graham
e295b0f875
[1.7.x] Removed unnecessary order_by() from a GIS test that crashed Oracle.
...
Oracle cannot order_by() a TextField; refs #23504 .
Backport of 7fc13178d6 from master
2014-09-19 12:16:23 -04:00
Tim Graham
a0a65b2fd2
[1.7.x] Skipped some broken tests on Oracle GIS; refs #23504 .
...
Backport of 7fce7f51ef from master
2014-09-19 12:12:48 -04:00
Tim Graham
c61d2c0387
[1.7.x] Improved GIS migration test cleanup; refs #23504 .
...
Backport of 8facb02faf from master
2014-09-19 12:10:37 -04:00
Aymeric Augustin
07b4c3e115
[1.7.x] Fixed a formatting issue in the 1.7 release notes.
...
Backport of 47ff469 from master.
2014-09-19 13:05:48 +02:00
Malte Beckmann
d4c68c46aa
[1.7.x] Fixed #23417 -- Completed locale formats for zh_CN, zh_Hans, zh_Hant and zh_TW.
...
Backport of 1ac32e76ac from master
2014-09-17 11:18:10 -04:00
Duncan Parkes
40ce3efda2
[1.7.x] Overhauled the Welsh formats.py file.
...
Backport of df7187d795 from master
2014-09-17 11:14:11 -04:00
Tim Graham
fdcef1b863
[1.7.x] Fixed #23491 -- Clarified tutorial 3.
...
Thanks diek for the suggestion.
Backport of 54fd84e432 from master
2014-09-17 08:42:55 -04:00
Joseph Dougherty
722516536e
[1.7.x] Fixed #23499 -- Error in built-in template tag "now" documentation
...
Backport of ab8248361e0a7b4fc7684eaaa5891e16b8562683 from master.
2014-09-17 09:23:20 +02:00
Tim Graham
3f6430d084
[1.7.x] Added 1.7.1 release notes for refs #23492 .
...
Backport of 92a8213fdb from master
2014-09-16 08:32:55 -04:00
Baptiste Mispelon
04e7c7d51f
[1.7.x] Fixed #23492 -- Restored F.__deepcopy__.
...
This reverts commit 3a66035107a640c4905f0a5f247a45f32dbe16d7.
A regression test was also added.
Backport of d63ac5b595694c44ed8a64d782a177d2f92125d9 from master.
2014-09-16 12:24:01 +02:00
Tim Graham
68ab3b1ac1
[1.7.x] Fixed #23486 -- Corrected makemigrations output in tutorial 1.
...
Thanks nmarler for the report.
Backport of 0d1561d197 from master
2014-09-15 20:28:49 -04:00
valtron
563eaf0499
[1.7.x] Fixed #23474 -- Prevented migrating backwards from unapplying the wrong migrations.
...
Backport of abcf28a076 from master
2014-09-15 15:06:21 -04:00
Tim Graham
d1190a1646
[1.7.x] Forwardported 1.4.16 release notes.
...
Backport of 0ae79014c0 from master
2014-09-13 09:23:40 -04:00
Tim Graham
4b8798cfb9
[1.7.x] Added 1.7.1 release notes for refs #23483 .
...
Backport of 08042f1a73 from master
2014-09-13 09:22:26 -04:00
Claude Paroz
31309d4722
[1.7.x] Fixed #23478 -- Complemented sqlmigrate command help
2014-09-13 09:47:14 +02:00
Carl Meyer
ac1adfbe4a
[1.7.x] Fixed #23483 -- Prevented ImproperlyConfigured with dotted app names
...
Made sure the app labels stay unique for the AppConfigStubs, so
migrations wouldn't fail if two dotted app names has the same last part
(e.g. django.contrib.auth and vendor.auth)
Backport of 5e32605ce9 from master.
2014-09-12 15:34:42 -06:00
Tim Graham
7de55fa68e
[1.7.x] Fixed #23403 -- Fixed crash in contrib.sitemaps if lastmod returned a date rather than datetime.
...
Thanks igorcc for the report and Preston Timmons for review.
Backport of 66580fe97c from master
2014-09-11 16:15:03 -04:00
Gabe Jackson
d321218a52
[1.7.x] Added link to LogRecord attributes in logging.txt
...
Backport of c5b4145fca from master
2014-09-11 15:42:40 -04:00
Tim Graham
a358e8dc44
[1.7.x] Added some items to the 1.7.1 release notes.
...
Backport of cc5e81c46d from master
2014-09-10 13:26:01 -04:00
Tim Graham
4500784b24
[1.7.x] Avoided using deprecated version of importlib; refs #23418 .
...
Backport of fbeb7979ee from master
2014-09-10 13:10:39 -04:00
Tim Graham
ac54e6af95
[1.7.x] Corrected indentation in a contrib.humanize test; refs #23340 .
...
Thanks Zach Borboa for the report.
Backport of 96010ae15b from master
2014-09-10 12:27:11 -04:00
Tim Graham
2e749f247c
[1.7.x] Fixed typo in topics/forms/formsets.txt
...
Backport of e265112cd1 from master
2014-09-10 11:17:54 -04:00
Markus Bertheau
35cd0854f9
[1.7.x] Corrected grammar in migrations error message.
...
Backport of 61f56e239f from master
2014-09-10 10:34:32 -04:00
Markus Holtermann
67872bfff1
[1.7.x] Fixed #23452 -- Prevented infinite migrations for empty unique/index_together.
...
Thanks fwkroon for the report.
Backport of 6d5958c7a3 from master
2014-09-10 07:57:31 -04:00
Iain Dawson
c2fe985733
[1.7.x] Fixed an instance of 'an' before a word beginning with a consonant.
...
Backport of ef8ef2a42d from master
2014-09-10 07:17:31 -04:00
Greg Brown
77ec85adae
[1.7.x] Note re migrations importing custom fields
...
Backport of b4d486c80f from master
2014-09-09 20:10:00 -04:00
Aymeric Augustin
c981d9140d
[1.7.x] Fixed #22920 -- Avoid masking some exceptions.
...
If loading an application trigger an ImportError, the details of that
error were lost in some cases. Thanks Ben Davis for the report.
Backport of b161c01 from master
2014-09-09 20:54:07 +02:00
Tim Graham
a8ded528b3
[1.7.x] Fixed #11775 -- Made ABSOLUTE_URL_OVERRIDES work with models that don't define get_absolute_url().
...
Thanks jukvalim for the report and initial patch,
and Preston Timmons for review.
Backport of c32bc1a7a7 from master
2014-09-09 11:07:41 -04:00
Sébastien Fievet
987fce90bf
[1.7.x] Fixed missing trailing parenthesis in docs/releases/1.7.txt
...
Backport of e5ae03fd5a from master
2014-09-09 10:05:28 -04:00
Tim Graham
84b50718ab
[1.7.x] Fixed #23350 -- Updated mod_wsgi auth example to use less memory.
...
Thanks Graham Dumpleton for the report.
Backport of c7f7432be5 from master
2014-09-09 09:32:59 -04:00
Tim Graham
a0954a0681
[1.7.x] Fixed flake8 warning.
...
Backport of 5cba975d26 from master
2014-09-08 17:31:12 -04:00
Petras Zdanavičius
a3e9e9e6c6
[1.7.x] Fixed #23451 -- Fixed typo in inlineformset_factory() error message.
...
Backport of f7eee04ebe from master
2014-09-08 17:22:49 -04:00
Markus Holtermann
1f1a329288
[1.7.x] Fixed broken test from da160d440f; refs #23418 .
...
Backport of 16548cfc7c from master
2014-09-08 16:51:34 -04:00
Markus Holtermann
b0def3bcac
[1.7.x] Fixed #23418 -- Fail when migration deconstruct produces invalid import
...
Backport of d28b5f13b3 from master
2014-09-08 15:41:14 -04:00
Simon Charette
9c4fb019cb
[1.7.x] Fixed #23431 -- Allowed inline and hidden references to admin fields.
...
This fixes a regression introduced by the 53ff096982 security fix.
Thanks to @a1tus for the report and Tim for the review.
refs #23329 .
Backport of 342ccbddc1 from master
2014-09-08 13:54:21 -04:00
Octowl
813619405b
[1.7.x] Fixed #23307 -- Clarified the way max_num limits the output of formsets.
...
Thanks velle for the report.
Backport of 5f3806b861 from master
2014-09-08 13:24:38 -04:00
Andrew Pinkham
27e7972e63
[1.7.x] Fixed #22951 -- Checked for types during deep_deconstruct migration serializ
...
Thanks Sam Hartsfield for the report.
Backport of 4680d25df2 from master
2014-09-08 07:58:06 -04:00
Sébastien Fievet
267b121b1e
[1.7.x] Fixed typo in docs/howto/custom-lookups.txt.
...
Backport of f36ab2d3f2 from master
2014-09-07 06:29:52 -04:00
Marc Tamlyn
48e1071007
[1.7.x] Fixed #23416 -- Make sure DatabaseCreation respects checks.
...
Migrations respected Field.db_parameters()['check'], but
DatabaseCreation was still using just Field.db_type().
Backport of 14c8456 from master
2014-09-06 19:02:28 +01:00
Aymeric Augustin
f8fdb7177b
[1.7.x] Fixed #23437 -- Documented required update of WSGI scripts for 1.7.
...
Thanks Tim for the review.
Backport of dfe209a from master
2014-09-06 19:03:14 +02:00
Collin Anderson
ba8983333a
[1.7.x] Refs #23430 -- gunicorn wants a module, not file
...
Backport of fa74dba994 from master
2014-09-06 12:21:36 -04:00
Tim Graham
a932c596fc
[1.7.x] Fixed #22882 -- Fixed a UnicodeDecodeError in flush.
...
Thanks djbaldey for the report.
Backport of 0e4d79c4f0 from master
2014-09-06 10:09:32 -04:00
Collin Anderson
d19291e9ad
[1.7.x] Fixed #23340 -- Corrected naturaltime docs to match behavior.
...
Thanks zachborboa for the report and blackguest for the patch.
Backport of 7353e26d5d and 0a2bc6e6bd from master
2014-09-06 08:00:29 -04:00
Tim Graham
2b48171081
[1.7.x] Fixed #23438 -- Added snippet & imports to docs/intro/overview.txt.
...
Backport of 88c4e01d34 from master
2014-09-06 07:36:02 -04:00
oromero
af28f3c175
[1.7.x] Fixed #22161 -- Documented send() with no recipients won't raise an exception.
...
Backport of 0f0a5c07f9 from master
2014-09-05 20:40:49 -04:00
Collin Anderson
fee499c80b
[1.7.x] Fixed #23430 -- simplified gunicorn deployment docs.
...
Backport of 77b3907d6d from master
2014-09-05 20:36:56 -04:00
Patrick Beeson
d4ef9a4a21
[1.7.x] Fixed #23427 -- Documented migrate is required before runserver for default projects.
...
Backport of fb545e5a27 from master
2014-09-05 20:00:36 -04:00
Andrew Godwin
de3a3096d8
[1.7.x] Fix Python 3 incompatability
2014-09-05 15:48:20 -07:00
Ben Reilly
4ca44d5e10
[1.7.x] switch out recursive dfs for stack based approach, to avoid possibly hitting the recursion limit
2014-09-05 15:39:47 -07:00
Andrew Godwin
e5cdfb1510
[1.7.x] Update docs to be more clear about nested classes (refs #23418 )
2014-09-05 15:37:53 -07:00
Tim Graham
5e2f336f69
[1.7.x] Fixed #23414 -- Updated version numbers in release process doc.
...
Thanks jaap3 for the report.
Backport of 5c5011ce68 from master
2014-09-05 15:44:56 -04:00
Andrew Godwin
c5578ba9fa
[1.7.x] Fixed #22411 : Throw a more helpful error if contenttypes doesn't exist.
...
Conflicts:
django/contrib/contenttypes/models.py
2014-09-05 12:05:25 -07:00
Andrew Godwin
ffa9e60638
[1.7.x] Fixed #22534 : Reinforce swappable documentation
2014-09-05 11:41:22 -07:00
Nikolaus Schlemm
d0c6016367
[1.7.x] cater for running tests from another directory than tests - applying existing pattern to newly added test_testcase_ordering as well
...
Backport of d11e836203 from master
2014-09-05 14:35:00 -04:00
Sébastien Fievet
0c3a23d2b9
[1.7.x] Fixed typo in docs/topics/checks.txt.
...
Backport of 0f90f741de from master
2014-09-05 14:30:01 -04:00
Sébastien Fievet
994294e0da
[1.7.x] Added missing periods in docs/ref/checks.txt.
...
Backport of 5d04433903 from master
2014-09-05 12:31:10 -04:00
John-Scott Atlakson
368e5cea58
[1.7.x] Fixed imports in Sitemap for static views
example
...
Backport of 344f37718b from master
2014-09-05 07:11:12 -04:00
Tim Graham
676db20824
[1.7.x] Fixed typo in docs/ref/checks.txt.
...
Backport of 2ca244aae6 from master
2014-09-04 12:32:52 -04:00
Thomas Chaumeny
0bc67a16d3
[1.7.x] Fixed documentation links to Query Expression API.
...
Backport of d7a9659110 from master
2014-09-04 09:45:35 -04:00
Corey Farwell
de18a687ad
[1.7.x] Fixed typo in docs/topics/db/transactions.txt.
...
Backport of 4db75925be from master
2014-09-03 11:49:33 -04:00
Tim Graham
0d70bc63d0
[1.7.x] Added stub release notes for 1.7.1.
...
Backport of 09c1f18f22 from master
2014-09-02 21:41:53 -04:00
Tim Graham
15c71a07b8
[1.7.x] Added dates to release notes.
...
Backport of 0fd23545db from master
2014-09-02 21:35:03 -04:00
Tim Graham
f030cdd402
[1.7.x] Post release version bump.
2014-09-02 21:08:28 -04:00
Tim Graham
cedccd2688
[1.7.x] Fixed #23400 -- Added "Remove 'south' from INSTALLED_APPS" to upgrade instructions.
...
Thanks dgrant for the report.
Backport of bda2809712 from master
2014-09-02 21:03:41 -04:00
James Bennett
d92b08536d
[1.7.x] Bump version number for 1.7 release.
2014-09-02 16:08:20 -05:00
James Bennett
6ec31cb516
[1.7.x] Cleanup run on the 1.7 release notes. Backport of 138e3873a53a4fcd17ddccaa2132ff1af82dc7a6 from master.
2014-09-02 15:19:54 -05:00
Alexey Efimov
9cacc25037
[1.7.x] Added missing import in docs/ref/signals.txt.
...
Backport of 4a303341fc from master
2014-09-02 08:15:02 -04:00
Tim Graham
52eadbf5c0
Revert "[1.7.x] Undocumented SeparateDatabaseAndState so crash is not RB. Refs #22918 "
...
This reverts commit a7ac5f018726694e3a79180ef97f2813c715fac0.
2014-09-02 08:12:49 -04:00
Dave Hall
7eabd22217
[1.7.x] Fixed #22918 -- Fixed SeparateDatabaseAndState crash
...
Backport of e03b7940e5 from master
2014-09-02 08:11:45 -04:00
Andrew Godwin
a7ac5f0187
[1.7.x] Undocumented SeparateDatabaseAndState so crash is not RB. Refs #22918
2014-09-01 11:50:31 -07:00
Simon Charette
e42a82edf2
[1.7.x] Fixed #23391 -- Removed an erroneous backtip from the form's documentation.
...
Thanks to Trac alias nessita for the report.
Backport of ab9c886459 from master
2014-08-31 20:11:57 -04:00
Michael Angeletti
074b6785e0
[1.7.x] Removed sentence from docs about migrate prompting to add a superuser.
...
Backport of 21a9e8adf0 from master
2014-08-31 12:33:33 -04:00
Alex Gaynor
f4da04a771
[1.7.x] Added a missing word in a skip message
...
Backport of 8b6cb9d0dd from master
2014-08-30 21:37:15 -04:00
Claude Paroz
d839c75664
[1.7.x] Fixed #22820 -- Treated int and long types alike in lazy_number
...
Thanks kwist for the report and the initial patch.
Backport of 5021421799 from master.
2014-08-30 18:51:52 +02:00
Akis Kesoglou
3297f9e1ad
[1.7.x] Fixed #23370 -- defer() + select_related() crashed with inherited models.
...
Backport of 6613ea6e3f from master
2014-08-30 07:16:42 -04:00
Simon Charette
0396001830
[1.7.x] Corrected a usage example of related_query_name
.
...
Thanks to Petr Glotov for spotting this.
Backport of 05a8cef428 from master
2014-08-29 23:11:37 -04:00
Claude Paroz
022fdb2ac4
[1.7.x] Fixed #22786 -- Documented value_from_datadict caveat
...
Thanks blueyed for the report and Tim Graham for the review.
Backport of 909015a51b from master.
2014-08-29 10:25:32 +02:00
Simon Charette
f201cfae12
[1.7.x] Fixed an Oracle test failure introduced by 1e404180c1.
...
Backport of e98c5513cb from master
2014-08-28 19:37:21 -04:00
Aymeric Augustin
8f033ee04b
[1.7.x] Documented correct kwargs for post_syncdb/migrate.
...
d562527a rename the db to using in the wrong signal.
Thanks Maik Hoepfel for the report.
Backport of 569e0a2 from master
2014-08-28 21:32:44 +02:00
Simon Charette
c32c220881
[1.7.x] Fixed #23379 -- Corrected a referencing issue in sql_create.
...
Thanks to Trac alias flakfizer for the report.
Backport of 1e404180c1 from master
2014-08-28 15:23:46 -04:00
Simon Charette
419f9075c4
[1.7.x] Fixed #23375 -- Added missing security issues to the archive.
...
Also adjusted the pre-release process to prevent future omissions.
Backport of c9c0be31c5 from master
2014-08-28 10:50:09 -04:00
Claude Paroz
9ac713645b
[1.7.x] Fixed #23374 -- Renamed StaticLiveServerCase to StaticLiveServerTestCase
...
Refs #20739 . Thanks Raphaël Hertzog for the report and the initial
patch.
Backport of 3a44e2000 from master.
2014-08-28 08:46:54 +02:00
Simon Charette
4883516bea
[1.7.x] Fixed #23329 -- Allowed inherited and m2m fields to be referenced in the admin.
...
Thanks to Trac alias Markush2010 and ross for the detailed reports.
Backport of 3cbb7590cb from master
2014-08-27 21:27:48 -04:00
Tim Graham
574f8f560f
[1.7.x] Documented --database option for migrate.
...
Thanks Mike O'Connor for the reporty.
Backport of 6aae07fe61 from master
2014-08-27 08:02:17 -04:00
Tim Graham
e86030b3be
[1.7.x] Fixed #23354 -- Documented that ModelChoiceField to_field_name should be a unique field.
...
Thanks Keryn Knight for the suggestion.
Backport of 83762da3fb from master
2014-08-27 07:45:34 -04:00
Erik Romijn
307eef20e3
[1.7.x] Fixed #23075 -- Added documentation on novalidate attribute and made it default for admin
...
Backport of cbdda28208c9c2aea479d5a482ff27bf37869d34 from master.
2014-08-27 09:16:51 +02:00
Duncan Parkes
c13a4c95c1
[1.7.x] Fixed clone URL of Django git repository.
...
Backport of 905c4fdcc3 from master
2014-08-26 20:50:34 -04:00
Tim Graham
403cc55f23
[1.7.x] Fixed #22620 -- Emphasized role of DATABASE_ROTERS in multi-db docs.
...
Thanks Mike O'Connor for the suggestions.
Backport of 5ecead9ab9 from master
2014-08-26 15:52:15 -04:00
Tim Graham
4f0916c374
[1.7.x] Fixed #21567 -- Documented how to deploy multiple sites using the sites framework.
...
Backport of 7b9537fb27 from master
2014-08-26 15:22:28 -04:00
Tim Graham
1b89f976f4
[1.7.x] Fixed #23250 -- Documented that ModelMultipleChoiceField queryset may be None.
...
Backport of ced3e303ca from master
2014-08-26 14:50:37 -04:00
Tim Graham
588afbb2be
[1.7.x] Fixed #17707 , #20734 -- Added examples to URL namespacing docs.
...
Thanks Daniele Procida for review.
Backport of a2bcec3491 from master
2014-08-26 14:35:17 -04:00
Tim Graham
e920c900ec
[1.7.x] Fixed #19312 -- Documented MySQL TIMESTAMP columns cannot be used with USE_TZ=True.
...
Backport of 348c89cbfb from master
2014-08-26 14:11:53 -04:00
Tim Graham
34116ad71c
[1.7.x] Fixed #17719 -- Documented that template syntax sequences cannot be used as string literals.
...
Backport of e02f45d5ea from master
2014-08-26 10:45:18 -04:00
Tim Graham
808722e062
[1.7.x] Fixed #23362 -- Clarified "database columns as attributes" in tutorial.
...
Backport of 035f2e699c from master
2014-08-26 10:07:57 -04:00
Tim Graham
9c849f7c7a
[1.7.x] Fixed spelling mistake in file docs.
...
Backport of a3e88e64a4 from master
2014-08-26 09:44:51 -04:00
Mitch Davis
95556fdd63
[1.7.x] Clarified that makemessages -l takes a locale name, not a language code.
...
Backport of 5473c36cef from master
2014-08-26 08:11:55 -04:00
Shai Berger
5d2b4669e8
[1.7.x] Made main user disconnect after creating test user/tablespaces on Oracle
...
Backport of 4c85a0d95f from master
2014-08-25 21:44:39 +03:00
Tim Graham
187ee0a4ac
[1.7.x] Removed unnecessary absolute_imports.
...
Backport of e0cf030194 from master
2014-08-25 13:13:58 -04:00
Tim Graham
8c8ce2ee64
[1.7.x] Fixed #23131 -- Documented serialization of callable functions in migrations.
...
Backport of 50ae4b4b9e from master
2014-08-24 13:35:01 -04:00
Tim Graham
da2077ed67
[1.7.x] Fixed #22154 -- Added "Built-in" to some class-based views titles.
...
Backport of 0c9f40f776 from master
2014-08-23 19:31:05 -04:00
Raffaele Salmaso
1a918806ca
[1.7.x] Fixed #23341 -- Added migration name to nonexistent migration error in makemigrations.
...
Backport of abd640fbdf from master
2014-08-23 19:19:58 -04:00
Raffaele Salmaso
4ae75cf051
[1.7.x] Fixed #23352 -- Added tests for MigrationGraph.{forwards,backwards}_plan
...
Backport of be4baaefe2 from master
2014-08-23 21:36:08 +00:00
Tim Graham
3d88ed3341
[1.7.x] Fixed #23344 -- Removed duplicate docs for file upload settings.
...
Backport of c7fa27d702 from master
2014-08-23 09:31:48 -04:00
Claude Paroz
46393980cf
[1.7.x] Added new supported languages
2014-08-23 14:12:31 +02:00
Tim Graham
c19c7c192c
[1.7.x] Fixed #23324 -- Mentioned Site.id in contrib.sites docs.
...
Backport of a76aab3583 from master
2014-08-22 13:23:55 -04:00
Kristian Glass
8aca08f828
[1.7.x] Fixed #23342 -- Clarified warning about naive time objects.
...
Thanks to apollo13 for suggested wording.
Backport of b7336ec179 from master
2014-08-22 11:40:04 -04:00
Tim Graham
7abb88a19c
[1.7.x] Fixed #23343 -- Typo in docs/ref/class-based-views/generic-date-based.txt.
...
Backport of 14aff0bd82 from master
2014-08-22 11:34:41 -04:00
Shai Berger
588f66d182
[1.7.x] Fixed schema test for Oracle 11.2.0.1 which is used in Django Project's CI.
...
Refs #23073 Workaround.
Refs #22738 Repeats the mysql "offense". When the issue is solved, the
Oracle special case should be made to play with the solution (that is,
Oracle should be fixed the same way that mysql and the 3rd-party backneds
are).
Backport of 56252e7 from master
2014-08-22 05:34:20 +03:00
Andrew Godwin
fbe4507623
[1.7.x] Update squashmigration docs to also mention circ dep errs (refs #23337 )
2014-08-21 19:18:40 -07:00
Tim Graham
f8aa2aa486
[1.7.x] Added dates to release notes.
...
Backport of b902be798e from master
2014-08-20 16:32:39 -04:00
James Bennett
ad96254af9
[1.7.x] Bump version number for security release.
2014-08-20 15:25:35 -05:00
Markus Holtermann
2da20379c0
[1.7.x] Fixed #23322 -- Use resolved swappable model for dependency resolution during makemigrations
...
Backport of 144cff3f51 from master
2014-08-20 16:08:49 -04:00
Simon Charette
2b31342cdf
[1.7.x] Prevented data leakage in contrib.admin via query string manipulation.
...
This is a security fix. Disclosure following shortly.
2014-08-20 14:42:48 -04:00
Preston Holmes
1a45d059c7
[1.7.x] Fixed #23066 -- Modified RemoteUserMiddleware to logout on REMOTE_USER change.
...
This is a security fix. Disclosure following shortly.
2014-08-20 14:42:48 -04:00
Tim Graham
3123f8452c
[1.7.x] Fixed #23157 -- Removed O(n) algorithm when uploading duplicate file names.
...
This is a security fix. Disclosure following shortly.
2014-08-20 14:42:48 -04:00
Florian Apolloner
bf650a2ee7
[1.7.x] Prevented reverse() from generating URLs pointing to other hosts.
...
This is a security fix. Disclosure following shortly.
2014-08-20 14:42:48 -04:00
Tim Graham
1c00c38b4a
[1.7.x] Added release note stubs for 1.5.9 and 1.4.14.
2014-08-20 14:42:48 -04:00
Tim Graham
2981485280
[1.7.x] Fixed flake8 warnings.
...
Backport of 6f59d29158 from master
2014-08-20 14:38:43 -04:00
Tim Graham
6981eced83
[1.7.x] Fixed migrations tests added in refs #23315 .
...
Backport of d1299fce0e from master
2014-08-20 14:01:50 -04:00
Claude Paroz
49280a73ea
[1.7.x] Fetched translations from Transifex
2014-08-20 10:05:47 +02:00
Claude Paroz
c586fcd4ea
[1.7.x] Added Chinese language aliases in tx client config
...
Transifex doesn't have zh_Hans/zh_Hant locales.
2014-08-20 09:23:18 +02:00
Claude Paroz
cba0182425
[1.7.x] Fixed typo in 1.7 release notes
...
Backport of 12cf10cacd6 from master.
2014-08-20 08:59:24 +02:00
Andrew Godwin
824e02bf83
[1.7.x] Fixed #23315 : Operational dependency fail with mixed create/add
2014-08-19 19:51:23 -07:00
Tim Graham
9dcb2cf4e6
[1.7.x] Added sphinx extension to ease generation of ticket links.
...
Backport of fca677fa43 from master
2014-08-19 17:45:59 -04:00
Tim Graham
dc9751a6e7
[1.7.x] Fixed #17238 -- Added source code links to docs using sphinx.ext.viewcode.
...
Thanks santiagobasulto for the suggestion.
Backport of 9ed4a8c6b1 from master
2014-08-19 17:45:30 -04:00
Claude Paroz
72ad014b6a
[1.7.x] Fixed #22996 -- Prevented crash with unencoded query string
...
Thanks Jorge Carleitao for the report and Aymeric Augustin, Tim Graham
for the reviews.
Backport of fa02120d36 from master.
2014-08-19 22:30:22 +02:00
Lee Sanghyuck
6e5e2b0e28
[1.7.x] Fixed #23316 -- Added datetime.time serialization in migrations.
...
Backport of 11d9cbe2f4 from master
2014-08-19 13:32:05 -04:00
Tim Graham
22a28dd8b0
[1.7.x] Fixed #21801 -- Documented SingleObjectMixin.get_context_data() requires the object attribute.
...
Backport of 03c1609c47 from master
2014-08-19 12:09:18 -04:00
Baptiste Mispelon
24d9aee188
[1.7.x] Fixed broken tests on Oracle after 5853c87a458f62ebd62d7809168355610de2570c.
...
Oracle doesn't have a `BEGIN` statement so the test would
fail.
Refs #23303
Backport of 54164b814cab71a8a0503743befbdcc99ae6c7a0 from master.
2014-08-19 18:00:39 +02:00
Tim Graham
b3f6a0f5a1
[1.7.x] Fixed #23314 -- Tempered recommendation of storing profile data on custom user.
...
Thanks gavinwahl for the report.
Backport of 3569536491 from master
2014-08-19 07:26:04 -04:00
Tim Graham
89f33f427e
[1.7.x] Fixed #17272 -- Documented that non-editable fields are skipped during model validation.
...
Thanks mitar for the report.
Backport of c587bd5a94 from master
2014-08-19 07:18:39 -04:00
Tim Graham
20e3a004ac
[1.7.x] Fixed #23282 -- Corrected inheritance and reverse relations example.
...
Thanks knowledgepoint-devs for the report and claudep for review.
Backport of 7006187064 from master
2014-08-19 06:29:25 -04:00
Tim Graham
c3c686b92d
[1.7.x] Fixed #4991 -- Emphasized XSS ramifications of help_text not being escaped.
...
Backport of 5dbe2a9431 from master
2014-08-19 06:16:36 -04:00
Tim Graham
d6c6181f9e
[1.7.x] Fixed #5726 -- Documented that inspectdb doesn't detect defaults.
...
Backport of 15cafaa565 from master
2014-08-19 06:15:28 -04:00
Tim Graham
5f54752b9d
[1.7.x] Fixed some doc errors that caused syntax highlighting to fail.
...
Backport of 27fdac97ae from master
2014-08-18 20:40:41 -04:00
Baptiste Mispelon
3a80189479
[1.7.x] Fixed #23303 -- Added BEGIN and COMMIT statements to the output of sqlmigrate.
...
Backport of 5853c87a458f62ebd62d7809168355610de2570c from master.
Conflicts:
django/core/management/commands/sqlmigrate.py
tests/user_commands/tests.py
2014-08-18 19:36:34 +02:00
Ramiro Morales
126606c5b8
[1.7.x] Fixed #23298 -- Made makemessages actually ignore specified dirs on Windows.
...
This was detected by two failures in the i18n.test_extraction of our
test suite.
Refs #20422 , refs #22336
Backport of b4dce7c37a from master
2014-08-18 13:00:12 -04:00
Tim Graham
d818e02134
[1.7.x] Fixed #14638 -- Clarified model Field.to_python() docs.
...
Thanks Anubhav Joshi for the patch.
Backport of b6aa60f425 from master
2014-08-18 12:54:15 -04:00
Tim Graham
ad2faaa491
[1.7.x] Fixed #23263 -- Added sqlmigrate to migration topic guide.
...
Backport of 7ed3d0bb61 from master
2014-08-18 09:16:18 -04:00
areski
ee7289656c
[1.7.x] Fixed syntax highlighting and indentation in docs/topics/logging.txt.
...
Backport of 90b64db39c from master
2014-08-15 15:17:48 -04:00
areski
28d9753324
[1.7.x] Fixed #23296 -- Fixed RunPython code sample in Migration Operations.
...
Backport of 7ca665c5f5 from master
2014-08-15 13:57:49 -04:00
Collin Anderson
41cf159c0a
[1.7.x] Fixed #23294 -- Add related_name to existing migrations.
...
Thanks to Florian Apolloner for the review; refs #23288 .
Backport of 1d79d08d9a from master
2014-08-15 13:51:32 -04:00
areski
3af1410949
[1.7.x] Fixed #23278 -- Documented django.db.backends.schema logger
...
Backport of ef90d395ab from master
2014-08-15 12:38:09 -04:00
Tim Graham
6011f24503
[1.7.x] Fixed typo in tests/migrations/test_operations.py
...
Backport of 0ad4672c0f from master
2014-08-15 11:02:18 -04:00
Tim Graham
23455aeee2
[1.7.x] Fixed typo in docs/howto/custom-model-fields.txt.
...
Backport of 99561eef26 from master
2014-08-15 07:30:36 -04:00
Claude Paroz
2cbafd814f
[1.7.x] Complemented 1.6 release notes for 457c16d0d6
...
And accessorily added missing bits fixing #23293 .
2014-08-15 10:14:20 +02:00
Andrew Godwin
b5784048e0
[1.7.x] Fixed #23288 : deconstruct() ignoring related_name
2014-08-14 19:47:34 -07:00
Zhaorong Ma
2b694919db
[1.7.x] Fixed a grammar error in docs/ref/forms/api.txt.
...
Backport of bef5b9b7cd from master
2014-08-14 12:15:14 -04:00
Ramiro Morales
d9559fe163
[1.7.x] Fixed #23291 -- Don't add Unicode varname/value to environment.
...
Windows doesn't like that and it causes 114 failures in the
admin_scripts tests with Python 2.x.
0bfb53866199f366ed140d49938fd185e5898156 from master.
2014-08-14 12:55:09 -03:00
Claude Paroz
63ccf64079
[1.7.x] Fixed #23265 -- Used system-specific encoding in runserver
...
Thanks SpaceFox for the report.
Backport of 055d95fce066 from master.
2014-08-14 12:09:22 +02:00
Tim Graham
46edcd621e
[1.7.x] Corrected content_type parameter name in sitemap docs.
...
mimetype was deprecated in 1.5 per 11ec0253ab4cc926ab9e77619132cb398231ac33.
Backport of a7443c24a3 from master
2014-08-13 21:45:28 -04:00
Tim Graham
d38007e86d
[1.7.x] Removed doc reference to removed HttpResponse.mimetype.
...
Backport of da009ce32c from master
2014-08-13 21:43:07 -04:00
Ola Sitarska
0f44d9f9b1
[1.7.x] Fixed #23283 -- Added default=False to BooleanField's in the docs.
...
Thanks Baptiste for the suggestion.
Backport of 6947885926 from master
2014-08-13 18:24:43 -04:00
areski
05063c60da
[1.7.x] Improved formatting of deconstruct() docs.
...
Backport of d441a9d006 from master
2014-08-13 12:41:39 -04:00
Claude Paroz
67870137b9
[1.7.x] Fixed #22686 -- Prevented makemessages crash with unicode filename
...
A more extensive fix has been reverted on the 1.7.x branch, so this
minimal fix replaces it.
2014-08-12 22:55:35 +02:00
Claude Paroz
e705d8c4b4
[1.7.x] Revert "Applied unicode_literals to makemessages command"
...
This reverts commit cdfefbec7 as it caused a regression (#23271 ).
2014-08-12 22:25:42 +02:00
Andrew Godwin
72fdd62e93
[1.7.x] Fixed #23275 : Unmanaged models kept by autodetector, ignored by ops
2014-08-12 12:51:11 -07:00
Collin Anderson
8f9dd9f256
[1.7.x] Refs #23276 : Removed bad examples of passing views as strings to url()
...
partial backport of a9fd740d22 from master
2014-08-12 14:44:09 -04:00
Ola Sitarska
49419ffd05
[1.7.x] Fixed #23016 -- Updated FAQs per Aymeric's suggestions.
...
Backport of 549284faa4 from master
2014-08-12 13:48:21 -04:00
Tim Graham
0e9d6ad54a
[1.7.x] Fixed indentation typo in docs/ref/contrib/sitemaps.txt.
...
Backport of 2003cb23d4 from master
2014-08-12 12:27:41 -04:00
Tim Graham
9a51270dba
[1.7.x] Added a warning that remove_tags() output shouldn't be considered safe.
...
Backport of 7efce77de2 from master
2014-08-11 07:09:34 -04:00
Ola Sitarska
927d7b8b71
[1.7.x] Fixed #23267 -- Fixed typo in Translation documentation
...
Thanks to Tomin1 for the report.
Backport of 2e7be92b4df29ac851d570e57da5dcf756c5ac52 from master.
2014-08-11 12:08:20 +02:00
Rajiv Makhijani
4ce5ced230
[1.7.x] Fixed #23259 -- Corrected insertion order of extra() select_params
...
A regression caused queries to produce incorrect results for cases where
extra(select) is excluded by values() but included by extra(order_by)
The regression was caused by 2f35c6f10fcbae541691207fb0c0560a13b754fc.
Backport of f0b358880a from master
2014-08-11 09:35:37 +03:00
Florian Apolloner
07c7925282
[1.7.x] Fixed remove_field for spatialite schema changes.
...
Backport of f915d39afe3565ac2355de57c11843530b96f3bc from master.
2014-08-10 16:24:56 +02:00
Florian Apolloner
cdc42ac0d6
[1.7.x] Made sqlite's remove_field behave like the base backend.
...
Backport of 61d783f3d7c9d4c7a0ac05f7fbbaba78e5cef5aa from master.
2014-08-10 13:32:16 +02:00
Andrew Godwin
ee74f9fe3b
[1.7.x] Fixed #23264 : Schema backends honour db_constraint
2014-08-09 17:51:06 +10:00
Justin Hamade
98d6f128d0
[1.7.x] Fixed #22336 -- Added path matching for makemessages ignore option
...
This fixes a regression introduced by 9012a9e200.
Backport of 8fe406864c from master.
2014-08-08 22:55:45 +02:00
Tim Graham
ab883a3477
[1.7.x] Removed some tabs in the docs.
...
Backport of 73ff4498aa from master
2014-08-08 13:59:29 -04:00
Andreas Stocker
288b557ac4
[1.7.x] Fixed #23257 -- Updated docs for new django-jython release.
...
Backport of f3ef55ea7a from master
2014-08-08 12:43:57 -04:00
Simon Charette
f7c609b9dc
[1.7.x] Silenced PostGIS deprecation warnings.
...
Backport of a6fc1859 from master
2014-08-08 12:11:52 -04:00
Tim Graham
fda3eccea3
[1.7.x] Bumped django_next_version in docs config.
2014-08-08 11:45:14 -04:00
Andrew Godwin
267630ad50
[1.7.x] Don't treat .pyc/pyo files as migrations. Refs #23237 among others.
2014-08-08 09:57:49 +10:00
Jacob Haslehurst
29585e9b6a
[1.7.x] Fixed #22982 -- Added GenericRelatedObjectManager.__str__. to prevent crash.
...
Thanks bendavis78 for the report.
2014-08-07 14:41:28 -04:00
Tim Graham
4c56b6f820
[1.7.x] Fixed flake8 warning.
...
Backport of f9f9f3ad60 from master
2014-08-07 10:12:09 -04:00
Andrew Godwin
a7336cdcbe
[1.7.x] Use smart_text rather than naive forcing-to-unicode for state reading
2014-08-07 22:34:53 +10:00
Tim Graham
796030590a
[1.7.x] Added a missing unicode_literals that caused a test failure after refs #23226 .
...
Backport of 57b60f9f93 from master
2014-08-07 08:32:12 -04:00
Andrew Godwin
9cc5d99bde
[1.7.x] Fixed #23252 : Call out removed features in release notes.
...
Also added StrAndUnicode mixin note to deprecation plan as it was
missing.
2014-08-07 14:15:44 +10:00
Mohammed Attia
b6a6033096
[1.7.x] Removed a doc reference to the deprecated mimetype
kwarg.
...
Backport of 61ed959235 from master
2014-08-06 22:18:29 -04:00
Andrew Godwin
bbcd86e264
[1.7.x] Fixed #23226 : Model options appearing as bytes type in migrations
2014-08-07 12:14:42 +10:00
Andrew Godwin
91195c77d0
[1.7.x] Moved index dropping after FK dropping to please MySQL and fix test
2014-08-07 12:00:13 +10:00
Andrew Godwin
0e69af51b1
[1.7.x] Fixed #23244 : Error altering FK to non-FK in migrations
2014-08-07 11:52:49 +10:00
Tim Graham
5e42e9f059
[1.7.x] Fixed #21792 -- Documented Form.has_changed()
...
Thanks bjb at credil.org for the suggestion and
Ivan Mesic for the draft patch.
Backport of edcc75e5ac from master
2014-08-05 08:49:34 -04:00
Tim Graham
9ed92906b3
[1.7.x] Fixed broken links in docs.
...
Backport of 0efd72dc90 from master
2014-08-05 08:23:57 -04:00
Tim Graham
0014d5b305
[1.7.x] Updated links for continous integration server.
...
Backport of 21d0ceefb5 from master
2014-08-05 07:28:54 -04:00
Andrew Godwin
d679672a39
[1.7.x] Stop errors on older Spatialite versions that miss some tables
2014-08-05 21:10:30 +10:00
Shai Berger
f3c0cb0120
[1.7.x] Fixed #23061 : Avoided setting a limit on a query for get with select_for_update on Oracle
...
Thanks Michael Miller for reporting the issue.
Backport of 746f2a4bed from master
2014-08-05 03:21:25 +03:00
areski
a582431b41
[1.7.x] Fixed #23169 - Misc docs fixes.
...
Backport of e4dd8b5dde from master
2014-08-04 08:31:18 -04:00
Andrew Godwin
d723da383d
1.7-specific fix to help text to stop extra migration
2014-08-04 14:18:22 +10:00
Andrew Godwin
d77f92fa1e
[1.7.x] Fixed #23161 : Drop PostGIS geography fields correctly
2014-08-04 14:07:08 +10:00
Andrew Godwin
b2ab666aad
[1.7.x] Fixed #23163 : Align user help text with migrations
2014-08-04 13:57:36 +10:00
Andrew Godwin
6ebfff7f66
[1.7.x] Fixed #23153 : Properly recreate spatialite triggers on alter table
2014-08-04 13:28:41 +10:00
Andrew Godwin
a918c60c37
[1.7.x] Fixed #23091 : CreateModel and AddField were clashing with deferred SQL
2014-08-04 11:59:48 +10:00
Simon Charette
99f3a65c73
[1.7.x] Fixed a MySQL test failure introduced by cbb29af1aa.
...
Seems like unlike other backends MySQL get_constraints fails when dealing
with a non-existing table. refs #23160 .
Backport of 1b00738f73 from master
2014-08-03 17:02:49 -04:00
Simon Charette
6b2473d3e8
[1.7.x] Fixed #23160 -- Correctly rename models with self referential fields.
...
Thanks to whitews AT gmail for the report.
Backport of cbb29af1aa from master
2014-08-03 17:02:41 -04:00
Florian Apolloner
1cb919e408
[1.7.x] Ensured that Paginator.page_range works the same on Python 2 and 3.
...
This somewhat fixes #23088 , refs 23140.
Backport of 2d542bf60cc37c59872c5a20d6af3bf826038739 from master.
2014-08-03 21:11:32 +02:00
Baptiste Mispelon
23b0d636d3
[1.7.x] Fixed #23156 -- Added missing BinaryField.deconstruct() method.
...
Backport of 72f1eb48df335c110f39d56f7978d95896a56bb8 from master.
2014-08-03 15:28:14 +02:00
Baptiste Mispelon
0b1d0afc92
[1.7.x] Added missing logic to TimeField.deconstruct().
...
If auto_now or auto_now_add was used then the serialized
field in the migration contained unnecessary `editable` and
`blank` arguments.
Backport of 74325339327e5b8a2480aee7f482bc71f73c71f9 from master.
2014-08-03 15:27:57 +02:00
Baptiste Mispelon
2c5eee9f88
[1.7.x] Removed unnecessary code in ManyToManyField.deconstruct()
...
Backport of 44169a00c1fe7c130a8b9774e3b02ccce524a3eb from master.
2014-08-03 15:27:26 +02:00
Tim Graham
27b7783fbe
[1.7.x] Removed notes for versions of SQLite older than 5 years.
...
Backport of a9fa3d4667 from master
2014-08-02 20:02:48 -04:00
Tim Graham
59fca56469
[1.7.x] Fixed #23154 -- Removed reference to deprecated run_gunicorn command.
...
Thanks frewsxcv for the report.
Backport of 75f2c65cb6 from master
2014-08-02 15:03:57 -04:00
Erik Romijn
a4eb590958
[1.7.x] Fixed #23149 -- Clarified note on HTTPOnly in cookie-based session docs
...
Backport of e26366da44bb343e7a95d01ff0dd18b8026c2802 from master.
2014-08-02 18:57:34 +02:00
Tim Graham
2ff2809c73
[1.7.x] Updated MySQL links to version 5.6.
...
Backport of fb4f3e04b1 from master
2014-08-02 10:27:26 -04:00
Erik Romijn
893f188386
[1.7.x] Fixed #23148 -- Minor tweaks in tutorial code samples
...
Backport of e075d2e66baae98c5b5c06bff384665ab50e0223 from master.
2014-08-02 10:26:08 +02:00
Tim Graham
ee0208108b
Revert "[1.7.x] Fixed #23088 -- Used six
range
type in Paginator.page_range
."
...
This reverts commit ce95ab8f025cc9f35990f0c2d9a290eec1ece753.
It caused some backwards compatibility concerns (refs #23140 ).
2014-08-01 10:14:28 -04:00
Tim Graham
e02d82155a
[1.7.x] Fixed typo in docs/topics/testing/tools.txt.
...
Backport of 7ce4ef58c9 from master
2014-08-01 09:43:47 -04:00
Loic Bistuer
e2c129fa5b
[1.7.x] Used JsonResponse in CBV examples.
...
Thanks Hiroki Kiyohara and Tim Graham for the reviews.
Backport of 7579080899 from master
2014-07-31 13:46:53 -04:00
Tim Graham
42bb047d33
[1.7.x] Updated timezone docs to use timezone.now()
...
Thanks James Cleveland for the report and Aymeric for suggesting
the solution.
Backport of da59902250 from master
2014-07-31 12:57:50 -04:00
Tim Graham
063e7e56bc
[1.7.x] Fixed flake8 warnings.
...
Backport of 9a922dcad1 from master
2014-07-31 09:25:23 -04:00
Florian Apolloner
567ae0d529
[1.7.x] Fixed the previous commit for Python3.
...
Backport of 4453c80634fb72b60e849480e52c06b570c696d5 from master.
2014-07-30 22:22:56 +02:00
areski
e22ad1c325
[1.7.x] Fixed #23112 -- Field.get_choices tries to index an iterable
...
Backport of 97a38de230371c0b6ad8a86abba8425186c147c7 from master.
2014-07-30 21:36:01 +02:00
Tim Graham
5736631233
[1.7.x] Fixed test failure on Windows.
...
os.close(fd) is needed to avoid "The process cannot access the file
because it is being used by another process"
Backport of c2ab501bab from master
2014-07-30 14:33:58 -04:00
Tim Graham
7dc29dcb99
[1.7.x] Fixed #23134 -- Fixed typos in docs/ref/models/querysets.txt.
...
Thanks Josh Kupershmidt.
Backport of 66630f589c from master
2014-07-30 13:04:38 -04:00
Tim Graham
82695c3f2b
[1.7.x] Fixed flake8 errors.
...
Backport of 34c60c42b6 from master
2014-07-30 12:59:46 -04:00
areski
7cb4a82eaf
[1.7.x] Fixed #23107 -- Made runserver output respect --no-color.
...
Backport of 67d7da5fb9 from master
2014-07-30 12:59:39 -04:00
Tim Graham
813f938093
[1.7.x] Forwardported 1.6.6 release note for #19107 .
...
Backport of 7fcfefbc4a from master
2014-07-30 09:33:44 -04:00
Tim Graham
7e6eeef366
[1.7.x] Fixed #23132 -- Removed confusing clause in auth docs.
...
Backport of abb97cffdf from master
2014-07-30 08:16:01 -04:00
Andrew Godwin
8e7fdfdb6f
[1.7.x] Fixed #23092 : Squashing handles external dependencies
2014-07-29 10:22:30 -07:00
Andrew Godwin
cc875e94cf
[1.7.x] Fixed #23127 : south_migrations note in docs
2014-07-29 10:10:58 -07:00
Andrew Godwin
3deddc2fdf
[1.7.x] Fixed #23090 : Document and enforce not double-squashing migrations
2014-07-29 10:03:59 -07:00
Andrew Godwin
0a4fbf4e13
[1.7.x] Fixed #23101 : Prefer doing deletes before creates in autodetector.
...
Makes declined or missed renames still work (but drop data).
2014-07-29 09:39:01 -07:00
David Arcos
fb8ddac27a
[1.7.x] Fixed a typo in the admin documentation.
...
The 'app' subpackage does not exist, should be 'app'.
Backport of b9daa4f0e1 from master
2014-07-29 12:29:32 -04:00
Andrew Godwin
9abc36b626
[1.7.x] Fix soft_applied in a way that doesn't break tests
2014-07-29 09:24:22 -07:00
Andrew Godwin
053af1422a
[1.7.x] Make detect_soft_applied exit correctly on non-create migrations
2014-07-29 09:19:48 -07:00
Tim Graham
dcedc453a2
[1.7.x] Forwardported 1.6.6 release notes for refs #20292 .
...
Backport of f294f93a17 from master
2014-07-29 09:43:29 -04:00
Tim Graham
c0ddc410ec
[1.7.x] Fixed #23079 -- Added data loss issues to those that will be backported to LTS.
...
Backport of e46801f13d from master
2014-07-29 09:27:28 -04:00
Tim Graham
5ac7fd9664
[1.7.x] Fixed #23120 -- Updated GeoDjango tutorial for migrations workflow.
...
Backport of b012122d30 from master
2014-07-29 09:10:27 -04:00
Baptiste Mispelon
9fb1652ac3
[1.7.x] Fixed #23123 -- Don't use a bare except in ModelAdmin documentation
...
Thanks to wkschwartz for the report and to Tim for the patch.
Backport of e5619330e2d3bf901155e98ef3fa7d224b6a260a from master.
2014-07-29 11:09:40 +02:00
Baptiste Mispelon
13d44f54a2
[1.7.x] Fixed #23114 -- Clarified documentation of template lookups.
...
Thanks to gmunumel and Tom Dalton for their help on the patch.
Backport of 62c74abbb06a081708c2cb5cc459f39beb26acaa from master.
2014-07-29 11:00:19 +02:00
Andrew Godwin
394053ce60
[1.7.x] Fixed #23121 : AlterModelOptions operation not changing state right
2014-07-28 10:47:55 -07:00
Andrew Godwin
d84b881600
[1.7.x] Fixed #23100 : Individual FK creation missing dependencies
2014-07-28 10:33:28 -07:00
Moayad Mardini
acbe3fac7c
[1.7.x] Fixed #22491 -- documented how select_for_update() should be tested.
...
Thanks Andreas Pelme for the report.
Backport of 668d432d0a from master
2014-07-28 10:57:49 -04:00
Gabriel Muñumel
2077bbe3fe
[1.7.x] Fixed #23102 -- Documented that sql* commands now respect allow_migrate().
...
Backport of 0af593dbe5 from master
2014-07-28 10:06:06 -04:00
Aymeric Augustin
d82cf95c52
[1.7.x] Fixed #23062 -- Documented how to create superuser.
...
Patch by Tim Graham. Thanks areski for the review.
Backport of 53a61d8 from master.
2014-07-27 15:49:32 +02:00
James Bennett
b4c80238a2
[1.7.x] Bump version number for 1.7 RC 2.
2014-07-27 14:33:04 +02:00
James Bennett
df55a697b3
[1.7.x] Update from key ID in security.txt to authorized release keys list.
...
Backport of fe87f8d6707e13fb9416d8e4c1ebc01817d53755 from master.
2014-07-27 13:55:40 +02:00
Florian Apolloner
99c2c917c3
[1.7.x] Fixed #23098 -- Checked that lazy choices are not evaluated too soon
...
Thanks Matthieu Agopian for the report.
Backport of 2f73b527dda6683868fac2791f7f07ccb01ea0d9 from master.
2014-07-27 13:32:07 +02:00
Florian Apolloner
f8ec200671
[1.7.x] Only warn about initial data if fixtures have been found.
...
Backport of 2ab0ed7b2842fbb8bf36ee7df9949d10546d953d from master.
2014-07-27 13:29:36 +02:00
Tushar Bhatia
df0d5ea7bc
[1.7.x] Fixed #22979 -- Moved bug* tests
...
Backport of 11181a64f from master.
2014-07-26 21:10:03 -04:00
David Hoffman
30ccb36cb9
[1.7.x] Fixed #23106 -- Updated class-based view reference title.
...
Backport of f14898a453 from master
2014-07-26 20:47:06 -04:00
Andrew Godwin
37f8a83ad0
Merge pull request #2977 from abrahammartin/stable/1.7.x
...
Fixed #23101 db_table wasn't copied in deconstruct
2014-07-26 09:58:59 -07:00
Abraham Martin
999758fc7a
Fixed #23101 db_table wasn't copied in deconstruct
2014-07-26 18:48:36 +02:00
Andrew Godwin
7e708a2536
[1.7.x] Fixed #22944 : Bad dependency on FK alteration in autodetector
2014-07-26 09:22:31 -07:00
qingfeng
3a2badcbb7
[1.7.x] Fixed #23060 -- Prevented UnicodeDecodeError in debug templatetag
...
Backport of 08451f17d0 from master.
2014-07-26 18:04:01 +02:00
David Hoffman
1ef544f91f
[1.7.x] Fixed #22553 -- Added refreshing queryset info to docs.
...
Backport of 6d5daa30cf from master
2014-07-26 10:27:46 -04:00
Niclas Olofsson
ddf2b7d96b
[1.7.x] Fixed #22305 -- Added note to docs about UTF8 database requirement.
...
Backport of 08b85de9b7 from master
2014-07-26 09:40:24 -04:00
Hiroki KIYOHARA
df678b7500
[1.7.x] Fixed code to solve #23070 problem
...
Added a class to wrap callable in settings:
* Not to call in the debug page (#21345 ).
* Not to break the debug page if the callable forbidding to set attributes (#23070 ).
Thanks @bmispelon for giving me some advice.
Backport of d0889863de50d65659f56f0b9ea0672a8b6482a1 from master.
2014-07-26 14:53:31 +02:00
Hiroki KIYOHARA
0d8d4fe9b4
[1.7.x] Added test for the #23070 problem
...
Backport of e569144910e336d2f76a3a31998ec672377d31cc from master.
2014-07-26 14:48:25 +02:00
Federico Frenguelli
bc3d401b9f
[1.7.x] Fixed #22887 -- Added comment for translators on unique_for_date error message
...
Backport of 6eed751162 from master.
2014-07-26 13:56:58 +02:00
David Hoffman
08e8e2137d
[1.7.x] Fixed #23097 -- Switched to new octal format in docs
...
Backport of e1c85167a3 from master.
2014-07-26 11:21:16 +02:00
Tim Graham
d1c08d4758
[1.7.x] Fixed bad usage of rstrip() that caused test failure.
...
If the temporary file name contained a p or y as its last
characters, it would be stripped. refs #23083 .
Backport of 57d2b3f2a7 from master
2014-07-25 15:17:18 -04:00
Tim Graham
4f8a5bd8d0
[1.7.x] Fixed #23083 -- Fixed runserver reloading when deleting a file.
...
Thanks Collin Anderson for the report and hirokiky for the fix.
Backport of b8cb5ba708 from master
2014-07-25 13:25:16 -04:00
Andrew Godwin
3268711417
[1.7.x] Fixed #23085 : Better error message for PostGIS 1.5/bad custom fields
2014-07-25 09:50:17 -07:00
Andrew Godwin
e01c565b47
[1.7.x] Restore support for reading __latest__ for compatability
2014-07-25 09:44:15 -07:00
Andrew Godwin
919d10e619
[1.7.x] Fixed #23093 : soft application detection for swapped models
2014-07-25 09:35:53 -07:00
Andrew Godwin
2bacc9f3b7
[1.7.x] Mark initial_data as deprecated separately from syncdb. Refs #23077 .
...
Conflicts:
docs/internals/deprecation.txt
2014-07-25 09:11:01 -07:00
Jeroen Dekkers
6e7e5bacd5
[1.7.x] Fixed #23071 -- Use last migration's name in dependency to other app
...
Changed the autodetector to lookup the name of the other app's last
migration in the graph and use that as dependency instead of using
__latest__.
2014-07-25 08:54:54 -07:00
Moayad Mardini
d8961a5ad0
[1.7.x] Fixed #22827 -- clarified what each cache middleware does.
...
Thanks Keryn Knight for the report.
Backport of f9b7a0383c from master
2014-07-25 06:26:41 -04:00
Tom Dyson
2127b6fe99
[1.7.x] Improved docs for GEOSGeometry.simplify()
...
Backport of aa8bc7fa7d from master
2014-07-25 06:22:36 -04:00
Moayad Mardini
ce95ab8f02
[1.7.x] Fixed #23088 -- Used six
range
type in Paginator.page_range
.
...
Backport of 6508db2ff9 from master
2014-07-25 06:16:55 -04:00
Aymeric Augustin
0ac986fd8c
[1.7.x] Avoided transactional truncates on amateur databases.
...
Fixed a test failure that appeared after 753a22a6, although the bug
existed before that commit.
Refs #22308 .
Backport of 6877a9d4 from master
2014-07-24 19:18:06 -04:00
Aymeric Augustin
2a97db33a7
[1.7.x] Avoided transactional DDL on castrated databases.
...
Fixed a test failure that appeared after 753a22a6, although the bug
existed before that commit.
Refs #22308 and #23089 .
Backport of 0757e0f30d from master
2014-07-24 18:48:05 -04:00
Aymeric Augustin
5ca82ff71b
[1.7.x] Fixed #23089 -- Fixed transaction handling in two management commands.
...
Previously, when createcachetable and flush operated on non-default
databases, they weren't atomic.
Backport of 753a22a635 from master
2014-07-24 18:13:12 -04:00
Tim Graham
b918bc921c
[1.7.x] Fixed #23014 -- Infinite migration regression with unique/index_together.
...
Backport of 64e75c47ef from master
2014-07-24 14:30:16 -04:00
Tim Graham
5822ca6c10
[1.7.x] Fixed #23094 -- Removed redundant argument in select_related() example.
...
Thanks thegeekofalltrades at gmail.com for the report.
Backport of 5f919b9c81 from master
2014-07-24 14:10:27 -04:00
Tim Graham
0f8e8c86dd
[1.7.x] Silenced test warning for deprecated IPAddressField.
...
Backport of 99cd80dc74 from master
2014-07-24 11:40:49 -04:00
Daniel Roseman
b159b55997
[1.7.x] Corrected headings in migration docs.
...
Backport of e01fa71142 from master
2014-07-24 09:39:40 -04:00
Tim Graham
c86b9d1985
[1.7.x] Silenced a Python 2 ImportWarning in a migrations test.
...
Backport of 66211b4b75 from master
2014-07-24 09:29:45 -04:00
Tim Graham
7cbb4f79d1
[1.7.x] Improved patching of sys.stdout in refs #23078 .
...
Backport of 936fba5878 from master
2014-07-24 08:47:24 -04:00
Tim Graham
663af270b5
[1.7.x] Added backwards incompatibility note for refs #22845 ; refs #23082 .
...
Thanks Kyle Owens for the report.
Backport of 8568e7cfa4 from master
2014-07-23 15:26:42 -04:00
Nick Sandford
9638daec5c
[1.7.x] Fixed #23078 -- Regression in update_contenttypes() interactivity.
...
Thanks raymond at adaptiv.nl for the report.
Backport of fa3cf006b2 from master
2014-07-23 08:49:55 -04:00
Claude Paroz
ddb5674945
[1.7.x] Fixed #23030 -- Properly handled geometry columns metadata during migrations
...
Thanks kunitoki for the report and initial patches.
Backport of 8c30df15f1 from master.
2014-07-23 12:16:11 +02:00
Claude Paroz
86655111c9
[1.7.x] Adapted SpatialiteGeometryColumns model to spatialite >= 4
...
See also:
https://www.gaia-gis.it/fossil/libspatialite/wiki?name=switching-to-4.0
Backport of 19d8f2ebf4 from master.
2014-07-23 12:15:44 +02:00
Rikki
04030acb85
[1.7.x] Added warning in tutorial 4 that the regex capture group name has changed.
...
Backport of 731f313d60 from master
2014-07-22 14:00:47 -04:00
africa itcase
0e35ae37bb
[1.7.x] Fixed typo in docs/ref/contrib/admin/index.txt.
...
Backport of 06ba4b9eee from master
2014-07-22 13:27:51 -04:00
Raphaël Hertzog
2c6ef625ad
[1.7.x] Fixed #23072 -- Added missing formtools test templates in tarball
...
The lack of this file breaks the test suite.
Backport of a2d0831e42 from master.
2014-07-22 10:47:27 +02:00
Iain Dawson
59fec1ca9b
[1.7.x] Replaced instances of 'his/her' with 'their'.
...
Backport of 8fbf13a6c8 from master
2014-07-21 19:54:22 +00:00
Claude Paroz
6e41ae1a4e
[1.7.x] Fixed #23064 -- Added lib detection support for GDAL 1.10/1.11
...
Note that GDAL 1.11 is not yet officially supported, until someone
has tested it and can confirm it has no issues with Django.
Backport of 3f1412ff7b from master.
2014-07-21 19:07:48 +02:00
Andrew Godwin
e2220c1c08
[1.7.x] Fixed #23014 : Renaming not atomic with unique together
2014-07-21 11:37:10 +01:00
Andrew Godwin
88135a8cf7
[1.7.x] Fixed #23009 : Shorten FK identifiers in add_field and make consistent
2014-07-21 10:50:58 +01:00
Andrew Godwin
f57e84392e
[1.7.x] Fixed #22975 : Don't call rename SQL if not needed
2014-07-21 10:14:34 +01:00
Andrew Godwin
ff8d715a0a
[1.7.x] Fixed #23039 : Don't try to serialize unmanaged models in tests
2014-07-21 10:09:58 +01:00
Andrew Godwin
2fb1939a9e
[1.7.x] Fixed #23043 : alter_field drops defaults too
2014-07-21 10:04:53 +01:00
Dean Silfen
63ae8de8fc
[1.7.x] Edited setup.py in reuseable apps tutorial to use a context manager for open().
...
Backport of b8d255071e from master
2014-07-16 14:26:04 -04:00
Corey Farwell
71ff5708b4
[1.7.x] Alphabetized django.utils sections.
...
Backport of e7827b9494 from master
2014-07-16 13:55:38 -04:00
Tim Graham
a8c4e0e93b
[1.7.x] Added 1.6.6 release notes for #22998 (also forwardported those for #13794 ).
...
Backport of c62c480b2b from master
2014-07-16 13:35:41 -04:00
Bartek Ciszkowski
30a4cad2bf
[1.7.x] Fixed reference to pk in RedirectView.get_redirect_url doc.
...
Backport of d9f78d5344 from master
2014-07-16 13:23:48 -04:00
Andrew Godwin
de709001c4
[1.7.x] Fixed #23041 : Bad base dependencies for proxy models
2014-07-16 09:59:37 -07:00
Tim Graham
8e34bcdfba
[1.7.x] Fixed #23023 -- Added warning against local-memory cache.
...
Thanks django at kerz.id.au.
Backport of 7d0519c725 from master
2014-07-16 12:35:01 -04:00
Tim Graham
3552afa25e
[1.7.x] Added Chrome/IE support for a selenium test.
...
Backport of 5954aa6db0 from master
2014-07-16 10:54:38 -04:00
Claude Paroz
15feb1d8e8
[1.7.x] Added forgotten files from commit 28efafa24c83
...
Backport of c5d8e4a0d1 from master.
2014-07-16 14:30:43 +02:00
Anssi Kääriäinen
f8a2a5604b
[1.7.x] PEP8 cleanup
...
Backport of f8df55050c from master
2014-07-16 12:50:01 +03:00
Gavin Wahl
72419ca8da
[1.7.x] Fixed #22998 -- Updated the fast_delete logic for GFKs
...
Backport of 6e2b82fdf6 from master
2014-07-16 12:43:14 +03:00
Claude Paroz
d6f293ad1b
[1.7.x] Ignored STATIC_ROOT and MEDIA_ROOT in makemessages
...
Also alleviate issues with weird file names typically found in
MEDIA_ROOT directories (#23010 ).
Thanks Tim Graham for the review.
Backport of 28efafa24c from master.
2014-07-16 09:43:50 +02:00
Tim Graham
01515ebaa4
[1.7.x] Fixed #23013 -- Fixed removing unique_together/index_together constraints in migrations.
...
Thanks melinath for the report.
Backport of 0154965392 from master
2014-07-15 15:21:44 -04:00
Tim Graham
fe5f29eb1d
[1.7.x] Fixed #23008 -- Fixed typo causing bad migration dependencies.
...
Thanks semenov for the report and Florian for investigation.
Backport of 9a2ab62977 from master
2014-07-15 08:51:16 -04:00
Claude Paroz
f2011e21a2
[1.7.x] Fixed #22991 -- Prevented *.pyc files in autoreload monitoring
...
This fixes a regression introduced in 6d302f639.
Thanks lorinkoz at gmail.com for the report, Collin Anderson
for the initial patch and Simon Charette for the review.
Backport of 4e424084e from master.
2014-07-15 09:59:25 +02:00
Huu Nguyen
6d5238f6c8
[1.7.x] Fixed #22791 -- Invoke interactive questioner only for conflicts in specified apps.
...
Thanks bendavis78 for the report and Tim Graham for the review.
Backport of f7a78f9bba from master
2014-07-14 13:00:45 -04:00
Anssi Kääriäinen
4b53bfff37
[1.7.x] Fixed #22992 -- regression in .filter(generic_fk=...) error message
...
Generic Foreign Keys can't be used as lhs in lookups for historical
reasons. Django 1.6 gave a FieldDoesNotExist exception when using GFKs
as lhs in lookups, but due to regression caused by lookup refactor patch
(20bab2cf9d02a5c6477d8aac066a635986e0d3f3) the exception type was
changed to AttributeError.
It might be a good idea to add support for gfk__exact and gfk__in lookups
later on.
Thanks to glicerinu@gmail.com for the report. The code in this commit
was written by Tim Graham.
Backport of efe87d3e48 from master
2014-07-14 12:55:05 -04:00
Anssi Kääriäinen
572885729e
[1.7.x] Fixed #22994 -- regression with generic FK + admin list_view
...
The reason for the regression was that the GenericForeignKey field isn't
something meta.get_field_by_name() should return. The reason is that a
couple of places in Django expects get_field_by_name() to work this way.
It could make sense to return GFKs from get_field_by_name(), but that
should likely be done as part of meta refactoring or virtual fields
refactoring patches.
Thanks to glicerinu@gmail.com for the report and to Tim for working on
the issue.
2014-07-14 12:51:24 -04:00
Alex Gaynor
1d1debeed4
[1.7.x] Added a newline to appease flake8
...
Backport of 037f81fedc from master
2014-07-14 10:54:43 -04:00
Tim Graham
dcb1b971c2
[1.7.x] Fixed #23015 -- Fixed major/minor release terminology in docs.
...
Backport of dd6ef3197a from master
2014-07-14 06:18:42 -04:00
Claude Paroz
be38c5bcc8
[1.7.x] Fixed #22939 -- Delayed admin_static backend detection
...
Thanks generalov for the report.
Backport of 22b2fb0b from master
2014-07-12 18:50:32 +02:00
Aymeric Augustin
dda6759e0e
[1.7.x] Checked more precisely whether the app registry is ready.
...
Accounted for the three stages of population: app configs, models,
ready() methods of app configs.
Backport of a764a9cc from master
2014-07-12 18:50:23 +02:00
Tim Graham
aa1c615428
[1.7.x] Removed extra newline.
...
Backport of b48c2c5925 from master
2014-07-12 10:17:20 -04:00
Andrew Godwin
563046a7de
[1.7.x] Fixed #22983 : Alert when squashing RunPython operations with referred functions.
2014-07-11 19:01:47 -07:00
Tim Graham
736e289445
[1.7.x] Fixed #13794 -- Fixed to_field usage in BaseInlineFormSet.
...
Thanks sebastien at clarisys.fr for the report and gautier
for the patch.
Backport of 5e2c4a4bd1 from master
2014-07-10 17:36:04 -04:00
Andrew Godwin
3e13c1d9b1
[1.7.x] Add south upgrade note to 1.7 release notes
2014-07-10 10:01:12 -07:00
Andrew Godwin
eb7e232e7f
[1.7.x] Fix comment
2014-07-10 10:01:12 -07:00
Tim Graham
dc7ac339a6
[1.7.x] Fixed typo in docs/ref/contrib/gis/geos.txt.
...
Backport of fef26e9a87 from master
2014-07-10 06:09:42 -04:00
Jorge C. Leitão
bddea532f7
[1.7.x] Fixed #22809 -- Added model Field API reference.
...
Thanks to @timgraham for the review.
Backport of e1fa7dffdc from master
2014-07-10 06:05:05 -04:00
Andrew Godwin
23ff98888e
[1.7.x] Fixed #22922 : Better error message for InvalidBasesError.
2014-07-09 23:58:22 -07:00
Andrew Godwin
aba75e73db
[1.7.x] Fixed #22970 : Incorrect dependencies for existing migrated apps
2014-07-09 23:53:53 -07:00
Tim Graham
a3d710a38f
[1.7.x] Revert "Improve cookie based session backend docs." refs #20418
...
This reverts commit d9c01da1f8ba3d4e0947fd1d619c8f4a9b013360.
This is poor advice as it breaks the test client login (refs #22934 ).
We can add a note like this back after refs #22986 is resolved.
Backport of 3a85aae2ea from master
2014-07-09 14:12:32 -04:00
Tim Graham
9673013abe
[1.7.x] Fixed #22351 -- Removed usage of lambdas in model field options.
...
Thanks claudep for review.
Backport of 5ebf03b7dd from master
2014-07-09 07:32:44 -04:00
Jorge C. Leitão
e548328851
[1.7.x] Fixed #22812 -- Refactored lookup API documentation.
...
Thanks Anssi and Tim for reviews.
Backport of 8780849da0 from master
2014-07-08 20:13:24 -04:00
Andrew Godwin
4368457a27
[1.7.x] Document -l as well as --list on migrate
2014-07-08 10:30:37 -07:00
Daniel Pyrathon
2100bcef41
[1.7.x] Added a unit test to ensure models cannot be ordered by a M2M field.
...
Backport of 865bc71783 from master
2014-07-08 09:20:15 -04:00
Tim Graham
9918b76447
[1.7.x] Fixed #22978 -- Removed a USA-centric example that didn't add much.
...
Backport of 9f18b6bcb0 from master
2014-07-08 08:57:41 -04:00
Tim Graham
1318254669
[1.7.x] Renamed an admin_views test to fix ordering issue.
...
test_i18n_language_non_english_fallback fails if run after
test_L10N_deactivated; the tests can be run in any order after
a5f6cbce07b5f3ab48d931e3fd1883c757fb9b45 but this commit is not
in stable/1.7.x.
2014-07-07 19:56:22 -04:00
Tim Graham
1326cd28d0
[1.7.x] Removed unnecessary directory in dispatch tests.
...
Backport of 136a3ffe21 from master
2014-07-07 19:22:20 -04:00
Tim Graham
0100afb013
[1.7.x] Fixed flake8 errors.
...
Backport of fddd95254e from master
2014-07-07 19:13:00 -04:00
Tim Graham
28962c57f3
[1.7.x] Fixed #22909 -- Removed camelCasing in some tests.
...
Thanks brylie.
Backport of 89b9e6e5d6 from master
2014-07-07 19:10:48 -04:00
Tim Graham
c379fc4eec
[1.7.x] Fixed #22942 -- Noted that __init__.py files are required for management command detection.
...
Thanks Diego Cerdán for the suggestion.
Backport of 54546cee88 from master
2014-07-07 18:09:15 -04:00
Collin Anderson
5acb0a9139
[1.7.x] Fixed a few PEP8 errors in settings doc.
...
Backport of 2c1384fbac from master
2014-07-07 15:33:03 -04:00
Tim Graham
cf9e33f930
[1.7.x] Fixed #22966 -- Clarified which release notes appear for each doc version.
...
Thanks haimunt at yahoo.com for the suggestion.
Backport of e6b3d6c22f from master
2014-07-07 15:32:39 -04:00
Claude Paroz
1bb8ccdb9e
[1.7.x] Fixed pyinotify performance regression in 15f82c7011
...
Refs #9722 . Thanks Tim Graham for the review.
Backport of 6d302f639 from master.
2014-07-06 21:45:09 +02:00
Loic Bistuer
a1ddfe4401
[1.7.x] Fixed #22906 -- Added a more helpful repr to migrations' ModelState.
...
Thanks Collin Anderson for the report and original patch.
Backport of 2572c07cc6 from master
2014-07-06 15:00:03 +07:00
Andrew Godwin
8fbd9b0b1c
[1.7.x] Document --fake and --list on migrate command
2014-07-06 00:30:35 -07:00
Daniel Hahler
ef392387c2
[1.7.x] Fixed various minor doc typos / references.
...
Backport of 67f9f385aa from master
2014-07-05 20:26:56 -04:00
Tim Graham
50ebddad6a
[1.7.x] Fixed flake8 indentation.
...
Backport of ab431fbd4f from master
2014-07-05 20:24:19 -04:00
Tim Graham
4b30bddb7a
[1.7.x] Updated tests per previous commit.
...
Backport of 86c74eacd6 from master
2014-07-05 20:20:55 -04:00
Daniel Hahler
7f84f7fba7
[1.7.x] Added a space before explanation of "Invalid HTTP_HOST header: ..."
...
Backport of fff7b507ef from master
2014-07-05 20:19:17 -04:00
Simon Charette
2f0cc4f5fb
[1.7.x] Fixed #22943 -- Correctly serialize compiled regexes.
...
Thanks to antialiasis at gmail dot com for the patch.
2014-07-05 16:38:34 -07:00
Andrew Godwin
1f889800d6
[1.7.x] Fixed #22960 : Bad handling of relations as PKs in autodetector
2014-07-05 16:33:34 -07:00
Claude Paroz
83a185a3f7
[1.7.x] Ensured bound field renders as unicode safe data
...
Refs #22950 .
Backport of 920904921 from master.
2014-07-05 13:35:53 +02:00
Loic Bistuer
b68c7a5abb
[1.7.x] Fixed #22915 -- Document backward incompatible changes in the ValidationError constructor.
...
This patch also fixes update_error_dict to better handle the use case described
in this ticket, previously the type of the provided container could be lost in
some conditions.
Thanks Russell Keith-Magee for the report and Tim Graham for review.
Backport of eb7df6b8d7 from master
2014-07-04 17:19:12 +07:00
Tim Graham
f99267e5e6
[1.7.x] Fixed #22924 -- Added a note about MEDIA_URL in templates.
...
Thanks raphael.herouart at gmail.com
Backport of 814bcc3395 from master
2014-07-03 09:38:52 -04:00
Tim Graham
0b2a36ecf7
[1.7.x] Fixed #18108 -- Added instructions for translating documentation.
...
Thanks Claude Paroz.
Backport of 1a3bec4a26 from master
2014-07-02 13:22:14 -04:00
Colin Wood
f5740af868
[1.7.x] Fixed #22940 -- Added missing string iterpolation parameters in migrations.writer error.
2014-07-02 12:44:10 -04:00
Tim Graham
a56773245b
[1.7.x] Clarified that LocMemCache is per-process; refs #7639 .
...
Thanks projectgus for the suggestion.
Backport of c37000ab04 from master
2014-07-02 10:14:11 -04:00
Éric Araujo
e88723acf8
[1.7.x] Removed non-existent reference to args/kwargs in manager docs.
...
Backport of 5842d8eba4 from master
2014-07-02 07:54:59 -04:00
Andrew Godwin
bbba492fbb
[1.7.x] Fixed #22932 : Documented circular dependency issues with swappable user
2014-07-01 20:55:27 -07:00
Tim Graham
accdc448bc
[1.7.x] Fixed #13755 -- Added a tip for caching responses that vary on AJAX.
...
Thanks mila for the suggestion.
Backport of db9a1a0c47 from master
2014-07-01 17:34:13 -04:00
Claude Paroz
2b8f22a578
[1.7.x] Included irc link in paragraph to allow for l10n
...
Translators may want to change the irc link pointing to a
language-specific channel.
Backport of 232f2028d5 from master.
2014-07-01 21:56:28 +02:00
Tim Graham
8c7d2edd45
[1.7.x] Fixed #22482 -- Recommended using data migrations in contrib.sites docs.
...
Thanks scibi for the report.
Backport of bbf0a9545b from master
2014-06-30 18:49:07 -04:00
Tim Graham
c45fcd278b
[1.7.x] Fixed #19489 -- Documented host parameter of assertRedirects().
...
Thanks mrknacky at gmail.com for the report and gajimenezmaggiora
for the draft patch.
Backport of e3c7af18a3 from master
2014-06-30 17:52:23 -04:00
Tim Graham
af9949f4ef
[1.7.x] Fixed #21942 -- Moved Form.clean() to form API docs.
...
Thanks cjerdonek for the suggestion.
Backport of 874053edf9 from master
2014-06-30 16:32:03 -04:00
Claude Paroz
9260956084
[1.7.x] Removed reference to old middleware
...
Backport of 0b5bafe993 from master
2014-06-30 15:23:52 -04:00
Tim Graham
24ba5f7fb2
[1.7.x] Fixed docs/ref/contrib/auth.txt so that sphinx links work properly.
...
Backport of 5359188b08 from master
2014-06-30 14:32:50 -04:00
Tim Graham
43d7566cc9
[1.7.x] Added spaces to message from 4c39c270af91ddbc213e077fc06b4bf67c7c6e99.
...
Backport of add78c58b5 from master
2014-06-30 07:41:47 -04:00
Ian Foote
9f3c691259
[1.7.x] Added missing spaces to implicitly joined strings
...
Backport of 4c39c270af from master
2014-06-30 07:12:52 -04:00
Tim Graham
54fdf5901b
[1.7.x] Fixed #22917 -- Fixed typo in AlterIndexTogether.describe().
...
Backport of 70576740b0 from master
2014-06-27 10:36:05 -04:00
Tim Graham
8e48ca47e9
[1.7.x] Fixed #22912 -- Warned about a common mistake in tutorial 5.
...
Backport of 1e8411259f from master
2014-06-27 09:51:55 -04:00
James Bennett
78bff08341
[1.7.x] Bump version number for 1.7 RC 1.
2014-06-26 20:21:15 -05:00
Claude Paroz
cbcb7c010b
[1.7.x] Fixed #22857 -- Reset translations when only .mo file changed
...
No need to restart the server when a translation file changes.
Refs #9523 . Thanks artscoop for the report and Tim Graham for
the review.
Backport of 0d363b25b8 from master
2014-06-26 16:49:09 -04:00
Matt Deacalion Stevens
31c56f1ee0
[1.7.x] Fixed and enhanced new HTML form docs.
...
Backport of ec85df2fa5 from master
2014-06-26 13:59:04 -04:00
Éric Araujo
2ed41449bf
[1.7.x] Fixed copy/paste typos in StreamingHttpResponse doc.
...
Backport of e9c730f6be from master
2014-06-26 07:31:57 -04:00
Gert Van Gool
82f6500275
[1.7.x] Fixed typo in parameter name doc for BaseCommand.check().
...
Backport of a8c5630c98 from master
2014-06-26 07:24:32 -04:00
Ramiro Morales
54a6ab2077
[1.7.x] Fixed typo in revamped forms intro doc.
...
Backport of 77c0a904cb from master
2014-06-25 12:32:14 -04:00
Tim Graham
f1428dc796
[1.7.x] Fixed #22903 -- Fixed migration generation if index_together or unique_together is removed from a model.
...
Backport of e0cd07ec2f from master
2014-06-25 10:04:46 -04:00
Richard Eames
8dcc7810f0
[1.7.x] Fixed #22814 -- Allowed ISO-8601 [+-]hh timezone format in parse_datetime
...
Backport of 7beaeeed from master.
2014-06-25 10:58:23 +02:00
Duncan Parkes
e8e16abe6a
[1.7.x] Improved documentation for QueryDict.
...
Backport of 7f4e2ef1e9 from master
2014-06-24 21:42:18 -04:00
Peter Kowalczyk
ea64ef7ed7
[1.7.x] Fixed typo in middleware docs.
...
Function definition should have an ending colon.
Backport of 48241ec9c4 from master
2014-06-24 16:09:04 -04:00
Daniele Procida
60375eda32
[1.7.x] Fixed #22796 -- Added a more basic explanations of forms.
...
Thanks bmispelon, kezabelle, jorgecarleitao, and timgraham for reviews.
Backport of cd20b5d186 from master
2014-06-24 14:58:53 -04:00
Tim Graham
088b30f49b
[1.7.x] refs #22487 : Don't flush out data from before normal TestCases (spatialite)
2014-06-24 06:43:40 -04:00
Claude Paroz
198ce3073c
[1.7.x] Fixed #22880 -- Added FAQ entry about UnicodeDecodeError
...
Thanks Víðir Valberg Guðmundsson for the report and
Tim Graham for the review.
Backport of 460ec09d2e from master.
2014-06-24 09:03:06 +02:00
Andrew Godwin
48a2e027bf
[1.7.x] Fixed #22708 : Typo in autodetector base dependency gen
2014-06-23 20:48:59 -07:00
Andrew Godwin
e4c9ccdbb5
[1.7.x] Fixed #22889 : Unneeded to_field in fk.deconstruct causing swap issues
2014-06-23 20:39:57 -07:00
Andrew Godwin
0dd737a719
[1.7.x] Fixed #22487 : Don't flush out data from before normal TestCases
2014-06-23 20:25:52 -07:00
Uriel Corfa
68b89f4d13
[1.7.x] Removed 'to_field' from ForeignKey(settings.AUTH_USER_MODEL) in admin's initial migration.
...
This enables using a custom user model with a primary key with a name
different than 'id'; refs #22889 .
Backport of bcd2e6c697 from master
2014-06-23 13:23:09 -04:00
Tim Graham
21c9591384
[1.7.x] Fixed test failures introduced by refs #22881 .
...
Backport of 908160f692 from master
2014-06-23 10:00:54 -04:00
Tim Graham
d38e3bfe5a
[1.7.x] Fixed #22888 -- Removed some unnecessary text in tutorial 3.
...
Backport of 1bbffe7867 from master
2014-06-23 09:11:10 -04:00
Claude Paroz
3619518c9b
[1.7.x] Created import-time test temp dirs in known location
...
Refs #17215 . In the same spirit as 5de31cb8cb.
Backport of 809362518d from master.
2014-06-23 14:57:24 +02:00
Claude Paroz
6015083e9d
[1.7.x] Ensured cache tests do not leak temp dirs
...
Refs #17215 .
Backport of 1d9596025e from master.
2014-06-23 14:17:32 +02:00
Claude Paroz
a90f0e605e
[1.7.x] Cleaned temp dir in symlinks_supported()
...
Refs #21482 .
Backport of 18b3788401 from master.
2014-06-23 13:29:10 +02:00
Claude Paroz
f50a17785c
[1.7.x] Fixed #8033 -- Explained app registry error during translation setup
...
Thanks Tim Graham and Aymeric Augustin for the review.
Backport of 9618d68b34 from master.
2014-06-23 09:37:38 +02:00
Chris Beaven
29582ad4a3
[1.7.x] Fixed #22881 -- Better soft_applied migration detection
2014-06-23 13:30:29 +12:00
Andrew Godwin
72d1c4a6dd
[1.7.x] Clean up syncdb parts of migrate output if no synced apps
2014-06-22 13:03:44 -07:00
Andrew Godwin
f577b2db3c
[1.7.x] Include swapped apps in autodetector state
2014-06-22 13:01:09 -07:00
Andrew Godwin
aa0886e7ae
[1.7.x] Fixed #22875 : Optimizer did not take through= into account.
2014-06-22 11:24:46 -07:00
Claude Paroz
0cabf3aefb
[1.7.x] Prevented evaluation of a possible lazy message
...
As far as possible, message evaluation should not happen in field
__init__ (often run at import time).
Backport of cecbb71312a from master.
2014-06-21 11:23:30 +02:00
Tim Graham
d107c7bd7d
[1.7.x] Added refs #22514 to 1.6.6 release notes.
...
Backport of 1892ced10a from master
2014-06-20 18:47:54 -04:00
Claude Paroz
db9cb83d2f
[1.7.x] Removed two unused translations
...
These strings were unmarked for translation in e692c5818.
2014-06-20 22:51:02 +02:00
Yazhong Liu
33403790e6
[1.7.x] Added HTTP 308 status and its description.
...
Backport of 97adfc2bf8 from master
2014-06-20 13:36:36 -04:00
Vlastimil Zíma
6e5a736752
[1.7.x] Fixed #22514 -- Prevented indexes on virtual fields [postgres].
...
Backport of 78c32f1caa from master
2014-06-20 12:49:56 -04:00
Huu Nguyen
d9a83d597e
[1.7.x] Fixed #22862 -- Added --noinput option to makemigrations.
...
Thanks artortenburger for the report.
Backport of fbb684d95e from master
2014-06-20 09:10:43 -04:00
Maxime Turcotte
0b871ec22a
[1.7.x] Fixed #22836 -- Linked tutorial05 to the right section of tutorial04.
...
Backport of 608aa8d101 from master
2014-06-20 08:16:53 -04:00
Claude Paroz
9005894233
[1.7.x] Swapped placeholders in [sql]migrate command error
...
Backport of b67e9ed8c9 from master.
2014-06-20 13:55:12 +02:00
Andrew Godwin
44b00af9bc
[1.7.x] Fixed #22874 : Document that AUTH_USER_MODEL must be in first migration
2014-06-19 23:48:57 -07:00
Andrew Godwin
bfe5f72c7e
[1.7.x] Fixed #22863 : Improve clarity of makemigrations for non-db params
2014-06-19 23:42:27 -07:00
Tim Graham
30d8b95139
[1.7.x] Added feature for implied null (needed for Firebird backend)
...
Backport of 1b07781292 from master
2014-06-19 11:02:53 -04:00
Tim Graham
427f218a5e
[1.7.x] Fixed #22859 -- Improved crossDomain technique in CSRF example.
...
Thanks flisky for the report.
Backport of 0be4d64487 from master
2014-06-18 14:37:19 -04:00
Jorge C. Leitão
807aadaaad
[1.7.x] Fixed #14481 -- Documented implicit "through" class created by ManyToManyField.
...
Thanks to jonathanmorgan for the report and initial patch.
Backport of de90129070 from master
2014-06-18 12:38:49 -04:00
Alex Gaynor
1d9f308fa1
[1.7.x] Fixed several flake8 errors
...
Backport of d015c9d11c from master
2014-06-18 12:05:36 -04:00
Andrew Godwin
819d5f0c89
[1.7.x] Fixed #22861 : Internal migrations done first so __first__ works
...
Thanks to Chris Beaven.
2014-06-17 23:27:56 -07:00
Andrew Godwin
1122d2979a
[1.7.x] Fix __latest__ to actually resolve to the latest migration
2014-06-17 22:12:53 -07:00
Andrew Godwin
cd82069b97
[1.7.x] Fix broken test
2014-06-17 21:32:35 -07:00
Andrew Godwin
f355d253f8
[1.7.x] Fixed #22853 : Swapped models are now ignored for migration operations.
2014-06-17 17:46:52 -07:00
Andrew Godwin
f16554f440
[1.7.x] Fix previous commit on python 2
2014-06-17 09:57:27 -07:00
Víðir Valberg Guðmundsson
7f0c207d1b
[1.7.x] Fixed #22577 : Python 3 broke on non-module migrations directory
2014-06-17 09:57:15 -07:00
Tim Graham
aa10f57d94
[1.7.x] Fixed #22819 -- Renamed output_type -> output_field in query expression API.
...
Thanks jorgecarleitao for the suggestion.
Backport of 95cc0e15b4 from master
2014-06-17 12:06:12 -04:00
Andrew Godwin
57a770b8e5
[1.7.x] Fix test breakage on MySQL
2014-06-17 00:36:41 -07:00
Andrew Godwin
6e7da2bfaf
[1.7.x] Fixed #22851 : BinaryView wasn't getting a binary default
2014-06-16 18:44:22 -07:00
Tim Graham
dc7d0f50e2
[1.7.x] Renamed DatabaseFeature.supports_check_constraints to supports_column_check_constraints.
...
Thanks maxi for the suggestion.
Backport of 82c935d44c from master
2014-06-16 19:25:58 -04:00
Tim Graham
7f095ea744
[1.7.x] Removed some u'' prefixes to fix Python 3.2.
...
Backport of 317c480c04 from master
2014-06-16 18:50:07 -04:00
Andrew Godwin
095f73aa22
[1.7.x] Ignore more blank throughs on swapped-out M2Ms
2014-06-16 15:10:07 -07:00
Andrew Godwin
71f573330b
[1.7.x] Ignore through being None on some special cases of fields.
2014-06-16 15:00:06 -07:00
Vincent-Vega
6e248d8f8c
[1.7.x] Fixed #22845 -- Correctly handled memcached default timeout value.
...
Backport of 4529af9ecf from master
2014-06-16 16:35:24 -04:00
Tim Graham
d36b54d753
[1.7.x] Added database migration for contrib.auth.
...
refs #22170 .
Backport of b341f33697 from master
2014-06-16 16:23:28 -04:00
Tim Graham
6a937cc0a4
[1.7.x] Fixed flake8 error.
...
Backport of a96dbda6d3 from master
2014-06-16 16:23:11 -04:00
Tim Graham
a0bf14a2ac
[1.7.x] Added database migration for contrib.contenttypes.
...
Moved contenttypes tests to allow them to run correctly in the presence of
migrations. refs #22170 .
Backport of eb8600a656 from master
2014-06-16 15:03:27 -04:00
Andrew Godwin
02860e779c
[1.7.x] Fixed #22847 : Optimizer wasn't expecting unresolved FKs
2014-06-16 10:29:00 -07:00
Andrew Godwin
d9a7663b11
[1.7.x] Fixed #22783 : Make sure swappable models come first in creation
2014-06-16 10:20:52 -07:00
Andrew Godwin
11b8e6154b
[1.7.x] Fixed #22848 : Ignore no-migrations errors during makemigrations only
2014-06-16 09:59:06 -07:00
Andrew Godwin
a5fed757aa
[1.7.x] Use __first__ not __latest__ for unknown app dependencies
2014-06-16 09:54:57 -07:00
Matthew Schinckel
2dba6ab767
[1.7.x] Fixed #22788 -- Ensured custom migration operations can be written.
...
This inspects the migration operation, and if it is not in the
django.db.migrations module, it adds the relevant imports to the
migration writer and uses the correct class name.
Backport of bb39037fcb from master
2014-06-16 12:39:05 -04:00
Tim Graham
a15bf2cd4e
[1.7.x] Added database migration for contrib.sessions.
...
refs #22170 .
Backport of 37a8f5aeed from master
2014-06-16 11:53:34 -04:00
Tim Graham
f7709b3ce4
[1.7.x] Removed usaged of contrib.sessions as a placeholder in migration tests.
...
Without this, we're unable to add actual migrations for the app.
Backport of 808388c28c from master
2014-06-16 11:52:33 -04:00
Xavier Fernandez
183e9d2029
[1.7.x] Fixed #22771 -- Fixed test.Client.logout when using custom auth backend.
...
Backport of 50b9313e0a from master
2014-06-16 08:29:52 -04:00
Andrew Godwin
d4305a15c1
[1.7.x] Fixed #22844 : Duplicate SQL for SQLite FKs
2014-06-16 00:27:46 -07:00
vagrant
44a50603d4
[1.7.x] Fixed #22842
...
Backport of 7a1f8414c3b71b6af03e5be9f5f8db115551c410 from master.
2014-06-16 08:45:58 +02:00
Claude Paroz
380cafe5be
[1.7.x] Added database migration for contrib.redirects.
...
refs #22170 .
Backport of d7576bb27a from master
2014-06-15 21:15:17 -04:00
Claude Paroz
ec7cddd361
[1.7.x] Added database migration for contrib.flatpages.
...
refs #22170 .
Backport of 7da16b99df from master
2014-06-15 21:15:12 -04:00
Claude Paroz
534d9f1e82
[1.7.x] Added database migration for contrib.sites.
...
refs #22170 .
Backport of ec6e2eac60 from master
2014-06-15 21:15:05 -04:00
Alex Gaynor
39e2ad4532
[1.7.x] Fixed several flake8 errors
...
Backport of d17a4cb037 from master
2014-06-15 21:07:28 -04:00
Andrew Godwin
a81282a512
[1.7.x] Fixed #22568 : Better proxy model support in migrations
2014-06-15 16:02:24 -07:00
Andrew Godwin
e5cde2062c
[1.7.x] Fixed #22470 : Full migration support for order_with_respect_to
2014-06-15 14:57:00 -07:00
Andrew Godwin
3ef87f664b
[1.7.x] Persist non-schema-relevant Meta changes in migrations
2014-06-15 12:34:34 -07:00
Andrew Godwin
13aa079941
[1.7.x] Fixed #22833 : Autodetector not doing through mapping correctly
2014-06-15 12:07:27 -07:00
Andrew Godwin
a067c61b94
[1.7.x] Fixed #22660 : Doc'd you can't have unmigrated apps depend on migrated
2014-06-15 11:47:57 -07:00
Andrew Godwin
c903543127
[1.7.x] Fixed #22563 : Added migration to admin, fixed a few more loader issues.
2014-06-15 11:26:35 -07:00
Andrew Godwin
2a45086deb
[1.7.x] Improve error message for missing migrations in an app
2014-06-15 11:06:15 -07:00
Claude Paroz
ec2f041736
[1.7.x] Complemented dwithin docs about using geographic geometries
...
Refs #22830 . Thanks django@gfairchild.com for the suggestion.
Backport of c281831a5c from master.
2014-06-14 20:54:48 +02:00
Shai Berger
4b922b8094
[1.7.x] Fixed #22816 -- Corrected Oracle feature flag and fixed introspection test
...
Backport of 6122904 from master
2014-06-14 00:53:27 +03:00
Shai Berger
1cb5dfe05f
[1.7.x] Added django.utils.six.buffer_types
...
and used it in the Oracle SchemaEditor. Refs #22715 .
Backport of 06c0e740a4 from master
2014-06-13 13:13:10 -04:00
mlavin
d94de802d3
[1.7.x] Fixed #22477 -- Removed contrib middleware from the global settings defaults.
...
Also added a compatibility check for changed middleware defaults.
2014-06-13 12:40:42 -04:00
Moayad Mardini
d3bf537324
[1.7.x] Fixed #22349 -- Added a note clarifying RawQuerySet
has no __len__
.
...
Thanks cdestigter for the report.
Backport of 2d425116e2 from master
2014-06-12 16:42:39 -04:00
Loic Bistuer
d9eef1f4f7
[1.7.x] Made the vendored NamedTemporaryFile work as a context manager. Refs #22680 .
...
This fixes a regression on Windows introduced by b7de5f5.
Thanks Tim Graham for the report and review.
Backport of 6e8d614acd from master
2014-06-12 14:15:31 -04:00
Andrew Godwin
49d4ace2d2
[1.7.x] Fix test breakage from previous state fix
2014-06-12 11:12:33 -07:00
Tim Graham
83e96ee99b
[1.7.x] Fixed a staticfiles test on Windows.
...
Backport of 9980f67154 from master
2014-06-12 13:29:04 -04:00
Tim Graham
e51662e7bc
[1.7.x] Fixed #22811 -- Allowed setting both the old and new TEST database settings.
...
An ImproperlyConfigured exception will be raised they mismatch.
Backport of 1c58cabad7 and a2cd0e12c9 from master
2014-06-12 13:28:16 -04:00
Andrew Godwin
961c9d6c6b
[1.7.x] Fixed #22823 (and partly #22563 ) - FKs from unmigrated apps breaking state.
...
Thanks to bendavis78 for the test and diagnostic work.
2014-06-12 10:22:57 -07:00
Tim Graham
84714dfed7
[1.7.x] Fixed test failures due to refs #20420 .
...
cfcca7ccce3dc527d16757ff6dc978e50c4a2e61 renamed connection.queries
to queries_log and this wasn't backported to stable/1.7.x.
2014-06-12 11:55:31 -04:00
Tim Graham
910b37e356
[1.7.x] Fixed #22818 -- Clarified you need to cd into the Django clone.
...
Thanks Josh Parris.
Backport of bcc3d2b978 from master
2014-06-12 10:53:29 -04:00
Claude Paroz
1c0e6e9d9f
[1.7.x] Fixed #22813 -- Updated Pillow URL in documentation
...
Backport of dfa3505ff1 from master.
2014-06-12 08:56:29 +02:00
Maxime Lorant
c6725d69a2
[1.7.x] Fixed typo in docs/ref/forms/validation.txt.
...
Backport of c307383ec9 from master
2014-06-11 17:18:03 -04:00
Greg Chapple
8c20f4af12
[1.7.x] Added link to data migrations in initial data deprecation note
...
Backport of 4123f55c33 from master
2014-06-11 15:43:53 -04:00
Shai Berger
fa42cf77b2
[1.7.x] Fixed #22487 : Separated schema migration from data migration in test
...
The data migration failed on Oracle, killing the entire test suite.
Thanks timo for reporting the Oracle breakage,
and andrewgodwin for suggesting the solution.
Backport of 64d94cf from master
2014-06-11 20:28:21 +03:00
Tim Graham
45e47f7b95
[1.7.x] Fixed #22653 -- Added some database feature flags to tests.
...
Thanks Rahul Priyadarshi.
Backport of 99f5ea9cc8 from master
2014-06-11 11:48:57 -04:00
Moayad Mardini
7bd2ad1dd9
[1.7.x] Created a new tests folder (model_options
).
...
And moved `tablespaces` option tests to it.
The new folder can be used to test models/options, like the new option
added in refs #22778 .
Backport of 5a3ae7e260 from master
2014-06-11 11:40:08 -04:00
Florian Apolloner
1ff11304dc
[1.7.x] Fixed #22680 -- I/O operation on closed file.
...
This patch is two-fold; first it ensure that Django does close everything in
request.FILES at the end of the request and secondly the storage system should
no longer close any files during save, it's up to the caller to handle that --
or let Django close the files at the end of the request.
Backport of e2efc8965edf684aaf48621680ef54b84e116576 from master.
2014-06-11 09:03:11 +02:00
Maxime Turcotte
de0e285be8
[1.7.x] Fixed #22801 -- Added 'www.' to diveintopython.net links
...
Backport of f97c53c098 from master
2014-06-10 15:39:05 -04:00
Tim Graham
0767055dfc
[1.7.x] Fixed #22770 -- Removed create_superuser from post_migrate signals.
...
Moved logic to syncdb command for backwards compatibility.
Backport of 93d05536fd from master
2014-06-10 15:00:12 -04:00
Greg Chapple
d232a5f93f
[1.7.x] Fixed #22792 -- Updated checks for list_display_links in model admin
...
Backport of d8f19bb3b6 from master
2014-06-10 09:43:24 -04:00
Tim Graham
e108da65fe
[1.7.x] Corrected some indentation in docs/topics/auth/default.txt.
...
Backport of 34f4fd7024 from master
2014-06-10 09:19:38 -04:00
Tim Graham
eeea583061
[1.7.x] Removed unused import.
...
Backport of fea8ccdcc4 from master
2014-06-09 18:42:32 -04:00
Aymeric Augustin
5cde9a7018
[1.7.x] Fixed #20420 -- Normalized query counts on Oracle.
...
This is achieved by inserting a fake entry in connection.queries when
not releasing a savepoint (since Oracle doesn't support that operation.)
Also removed the can_release_savepoints feature that was recently added,
but is superseded by this solution.
Backport of 40bfd856 from master.
2014-06-09 22:08:20 +02:00
Aymeric Augustin
e5879811e6
[1.7.x] Simplified handling of use_debug_cursor.
...
Turned it from a tri-valued boolean into a regular boolean.
Backport of 127218b9 from master.
2014-06-09 22:07:28 +02:00
Tim Graham
11f0bdc007
[1.7.x] Added rollback emulation to spatialite backend; refs #22487 .
...
Backport of 6b97ae3521 from master
2014-06-09 14:43:13 -04:00
Andrew Godwin
7406feae33
[1.7.x] Remove overzealous migration flushes from migration test suite
2014-06-09 09:52:35 -07:00
Tim Graham
417da8a782
[1.7.x] Doc edits for refs #22487 .
...
Backport of c17cd151d8 from master
2014-06-09 12:16:04 -04:00
Tim Graham
0a515b02fc
[1.7.x] Fixed flake8 errors.
...
Backport of 4b25ebf112 from master
2014-06-09 12:02:20 -04:00
Tim Graham
a11ed8dcfd
[1.7.x] Added missing deprecation note for fastcgi in 1.7 release notes; refs #20766 .
...
Backport of 67ce2e74e1 from master
2014-06-09 10:32:09 -04:00
Claude Paroz
d4623d13b7
[1.7.x] Fixed formtools tests with Python 2
...
Fixes #19905 again.
Backport of 1aaf4053f5 from master.
2014-06-09 10:32:27 +02:00
Andrew Godwin
b78710ec02
[1.7.x] Fix broken alias testing test
...
Conflicts:
tests/test_runner/tests.py
2014-06-08 20:08:34 -07:00
Andrew Godwin
08218252d8
[1.7.x] Fixed #22487 : Optional rollback emulation for migrated apps
...
Conflicts:
django/db/backends/creation.py
django/test/runner.py
docs/ref/settings.txt
docs/topics/testing/advanced.txt
2014-06-08 19:33:52 -07:00
Andrew Godwin
bf019c9770
[1.7.x] Fix router_honored test to not close connection
2014-06-08 18:58:15 -07:00
Andrew Godwin
55fa4c2d34
[1.7.x] Fixed #22777 : Add dependency on through for autodetected M2M adds
2014-06-08 17:13:11 -07:00
Aymeric Augustin
25f4e71ed3
[1.7.x] Gave unique names to SpatialRefSysModels.
...
Prevented clashes in the app registry.
Fixed #22790 . Thanks timo for the report.
Backport of 6e5651e from master
2014-06-08 21:17:59 +02:00
Andrew Godwin
b568bdf8da
[1.7.x] Fixed #22750 , #22248 : Model renaming now also alters field FKs
2014-06-07 18:18:18 -07:00
Tim Graham
83fe38ae30
[1.7.x] Removed usage of deprecated django.utils.importlib.
...
Backport of 1e84d261d6 from master
2014-06-07 21:11:17 -04:00
Víðir Valberg Guðmundsson
3fc4f03895
[1.7.x] Fixed #22749 : Making SQL management commands migration aware.
2014-06-07 17:18:43 -07:00
Andrew Godwin
98949e3b10
[1.7.x] Fixed #22436 : More careful checking on method ref'ce serialization
2014-06-07 17:06:06 -07:00
Simon Charette
2b13576c8f
[1.7.x] Fixed #22772 -- Defer wizard temporary files deletion.
...
Backport of e2112edd9a from master
2014-06-07 19:57:58 -04:00
Aymeric Augustin
211ff288a0
[1.7.x] Fixed #20815 -- Don't enforce unbuffered I/O on Python 3.
...
No test because this code is already deprecated (part of FastCGI support).
Backport of 5836a577 from master
2014-06-07 22:35:29 +02:00
Tim Graham
a517e9ac85
[1.7.x] Removed duplicate "Deprecated in Django A.B" text in docs.
...
sphinx 1.2+ adds this text itself.
Backport of 7f4347b176 from master
2014-06-07 07:25:02 -04:00
Tim Graham
c8c1883962
[1.7.x] Added formatting and line wrapping to checks reference doc.
...
Backport of 5472bf4df0 from master
2014-06-06 15:25:58 -04:00
Tim Graham
c81847181c
[1.7.x] Fixed flake8 errors.
...
Backport of b5a54168f9 from master
2014-06-06 08:29:56 -04:00
Claude Paroz
b236a55818
[1.7.x] Fixed #22773 -- Forced templatize() to return unicode
...
Backport of daaeb84158 from master.
2014-06-06 08:43:24 +02:00
Andrew Godwin
7d388956ce
[1.7.x] Prevent operation pollution by later operations of fields
2014-06-05 23:34:44 -07:00
Chris Beaven
9f1c4e4d3f
[1.7.x] Implement Migration.run_before
...
This attribute (used for reverse dependencies) was previously declared
and mentioned in the code, but never actually used.
2014-06-05 23:28:17 -07:00
Andrew Godwin
31fc34e447
[1.7.x] Rewrote migration autodetector to involve actual computer science.
...
Fixes #22605 , #22735 ; also lays the ground for some other fixes.
Conflicts:
django/db/migrations/autodetector.py
2014-06-05 23:27:21 -07:00
Aymeric Augustin
c9aedce01a
Replaced an explicit vendor check by a feature flag.
2014-06-06 00:31:22 +02:00
Aymeric Augustin
1238f92c64
Checked can_introspect_null feature in a test.
2014-06-06 00:26:40 +02:00
Éric Araujo
4ad299f287
[1.7.x] Fix missing highlighting in some code examples
...
Backport of 84cafc2b35 from master
2014-06-05 15:14:14 -04:00
Aymeric Augustin
342b25449d
[1.7.x] Added a flag for the ability to introspect nullable fields.
...
Previously this was conflated with another Oracle-specific behavior.
Backport of a03d38d from master.
2014-06-05 17:57:48 +02:00
Aymeric Augustin
2e4bcb9b02
Avoided using BinaryField unecessarily in tests.
...
Several database backends struggle with binary data. This change
minimizes the risk of unrelated tests failures when binary fields
trigger errors.
2014-06-05 17:10:42 +02:00
Aymeric Augustin
4fb50a9a82
Reordered setUp code in prefetch_related tests.
...
This allows these tests to run on databases that reject duplicate NULL
values in unique fields e.g. SQL Server.
2014-06-05 16:30:43 +02:00
Guillaume Pannatier
52b7e772e4
[1.7.x] Fixed #22710 -- Amended aggregation note for empty QuerySets
...
Thanks smeaton for report and Joël Rochat for spell check
Backport of 7f27cca5c5 from master
2014-06-04 12:45:24 -04:00
Tim Graham
868b5e5e95
[1.7.x] Fixed #22747 -- Add backwards compatibility tip for new behavior of formset.save(commit=False).
...
Thanks django at patjack.co.uk.
Backport of 2f7a7842ba from master
2014-06-04 12:42:23 -04:00
Alexandr Shurigin
8d6e0d4588
[1.7.x] Fixed #22681 -- Made TarArchive recognize leading directories properly.
...
Backport of 083d285b82 from master
2014-06-03 15:03:32 -04:00
INADA Naoki
c8382f4c65
[1.7.x] Updated current state of MySQL Connector/Python.
...
Backport of 7be646425f from master
2014-06-03 08:10:44 -04:00
Egor Semiguzov
206cb74cef
[1.7.x] Removed erroneous trailing comma in OLMapWidget.js.
...
Backport of c5226eb72a from master
2014-06-03 07:44:39 -04:00
Bryce Nesbitt
cb3266c1b0
[1.7.x] Fixed #22753 -- Documented ability to use a note with the {% comment %} tag.
...
Backport of e020894470 from master
2014-06-02 18:52:55 -04:00
Tim Graham
170255caf4
[1.7.x] Fixed #22748 -- Corrected post_migrate usage example.
...
Thanks Rudolph for the report.
Backport of a00efa30d6 from master
2014-06-02 11:39:23 -04:00
Craig de Stigter
724e600872
[1.7.x] Fixed #22690 -- Added a check for proxy models containing fields.
...
Removed the FieldError raised by ModelBase.__new__ in this case.
Backport of ce993efda8 from master
2014-06-02 09:34:31 -04:00
Alex Gaynor
160fd6c7c1
[1.7.x] Removed an unused import
...
Backport of a31d7c48b0 from master
2014-06-02 07:14:02 -04:00
Tim Graham
f8dd382a48
[1.7.x] Revert "Fixed #19303 -- Fixed ModelAdmin.formfield_overrides on fields with choices"
...
This reverts commit 9d1987d7679165ad3a7c2b713a8a488cc1421905.
Backport of 5046c110cf from master
2014-06-02 07:13:03 -04:00
Claude Paroz
a2fb5c9d69
[1.7.x] Fixed #22744 -- Fixed sqlite3 get_relations introspection with views
...
Thanks Tim Graham for the report and Simon Charette for the review.
Backport of 5a504a5311 from master.
2014-06-01 22:07:22 +02:00
Vincent-Vega
d773a08b27
[1.7.x] Fixed #22711 -- Adjusted ordering checks to allow implicit relation fields.
...
refs #19195 .
Backport of d04e730224 from master
2014-06-01 15:37:57 -04:00
Simon Charette
33511662dd
[1.7.x] Fixed #22659 -- Prevent model states from sharing field instances.
...
Thanks to Trac alias tbartelmess for the report and the test project.
Backport of 7a38f88922 from master
2014-06-01 15:12:23 -04:00
Fabio Rueda
ad408d0985
[1.7.x] Fixed syntax error in ogrinspect.py management command.
...
Backport of f384b638e2 from master
2014-06-01 13:22:15 -04:00
Jonathan Lindén
a83c56a45a
[1.7.x] Fixed #21938 -- Moved documentation for error views to reference guide.
...
Backport of 5b98ba08e2cc8760525fc1e0a2c917c063b0d5e2 from master
2014-06-01 13:07:19 -04:00
Florian Apolloner
ba31e45f08
[1.7.x] Revert "Making SQL management commands migration aware."
...
This reverts commit cb9c9a7b5879671053c7d2ad6e79943a8814b274.
Backport of 83e7555ffee305c1ea1e0655fd1f0aa35269533f from master.
2014-06-01 12:01:29 +02:00
Simon Charette
c95a3fadb7
[1.7.x] Fixed #22299 -- Cleanup wizard temp files when possible.
...
Thanks to @erikr for the review.
Backport of fa8b4735287c92b03d23823de8a4e1168d1951d9 from master.
2014-05-30 22:25:17 +02:00
Florian Apolloner
e3792bb95f
[1.7.x] Fixed #19905 -- Fixed leakage of file descriptors in form wizard.
...
Backport of c4c2c99669ef9d58306856c47058b121bbecfe5f from master.
2014-05-30 22:00:25 +02:00
Moayad Mardini
08a2b3b9cf
[1.7.x] Improved the test for refs #22682 .
...
Thanks apollo13 for the review.
Backport of 6f4d7f41b1 from master
2014-05-30 11:01:42 -04:00
Guillaume Pannatier
b266392b63
[1.7.x] Fixed #22710 -- Documented aggregation behavior for empty QuerySets.
...
Thanks matklad for the report.
Backport of 7c6e96ec1f from master
2014-05-30 08:05:43 -04:00
Andrew Godwin
16d037c4f0
[1.7.x] Fix additional test failures caused by migration pollution
2014-05-29 16:44:29 -07:00
Tim Graham
35bdf87034
[1.7.x] Improved deprecation plan links in release notes.
...
Backport of 7ff326928a08d4c51141768bd305a44ca5ecb2e7 from master
2014-05-29 18:58:55 -04:00
Moayad Mardini
e4eae5df0e
[1.7.x] Fixed #22682 -- makemigrations
will create MIGRATION_MODULES
package
...
`makemigrations` will automatically create the package specified
in `MIGRATION_MODULES` if it doesn't already exist.
Thanks ovidiuc4 for the report.
2014-05-29 15:39:02 -07:00
Andrew Godwin
4956e182ac
[1.7.x] Fix test failure caused by 3149cdce32e7261b2d44128ab712c4d4f1a5d429
2014-05-29 15:36:49 -07:00
Víðir Valberg Guðmundsson
b6a960cd1d
[1.7.x] Making SQL management commands migration aware.
2014-05-29 15:36:30 -07:00
Tim Graham
c5afdc3d73
[1.7.x] Removed unused import.
2014-05-29 09:28:58 -04:00
Alex Gaynor
d192e02b27
[1.7.x] Fixed a typo that Tim Graham noticed
...
Backport of d240b29c08 from master
2014-05-29 07:53:08 -04:00
Alex Gaynor
3d98941d5c
[1.7.x] Fixed several typos in Django
...
Backport of 1dcc603eff from master
2014-05-29 07:53:02 -04:00
Alex Gaynor
d099c03789
[1.7.x] Simplified, very slightly, some code in the oracle backend
...
Backport of e79725cdf9 from master
2014-05-29 07:52:55 -04:00
Víðir Valberg Guðmundsson
ce1dd6a730
[1.7.x] Adding test to fix of duplicate _order fields ( #22720 )
...
Backport of bf9953cfb8 from master
2014-05-29 07:52:48 -04:00
Víðir Valberg Guðmundsson
0ee27d5b62
[1.7.x] Fixed #22720 -- Migrations attempt to create _order twice.
...
Backport of 6cfa2fae39 from master
2014-05-29 07:52:17 -04:00
Shai Berger
b8b1fbd4c1
[1.7.x] Set straight the sense of 'uppercases_column_names' feature flag
2014-05-28 21:26:08 +03:00
Shai Berger
5f135e6a0b
[1.7.x] Fixed #22715 : Corrected sql for defaults of BinaryField on Oracle with Python3
...
While at it, fixed a problem in returning empty values
(still with BinaryField/Oracle/Python3).
Backport of fd427f1 from master
2014-05-28 19:02:29 +03:00
Claude Paroz
91ef348bd6
[1.7.x] Fixed #21630 -- Simplified management command discovery
...
Thanks Aymeric Augustin for the report end the review.
Backport of fe53bc524 from master.
2014-05-28 09:35:43 +02:00
Moayad Mardini
5d7ad16a1b
[1.7.x] Fixed #22601 -- Added a note about model inheritance.
...
Thanks semenov for the report.
Backport of 2ea1e70b85 from master
2014-05-27 20:11:51 -04:00
Tim Graham
0204893a18
[1.7.x] Added a word to the docs wordlist.
2014-05-27 19:48:50 -04:00
Aymeric Augustin
430faebe3b
[1.7.x] Fixed #22699 -- Configure default settings in some management commands.
...
This makes it possible to run django.setup() in management commands that
don't need a settings module. In addition it simplifies error handling.
Thanks Claude for the review.
Backport of 4865326f from master.
2014-05-27 21:46:30 +02:00
Moayad Mardini
c0a56001e0
[1.7.x] Fixed #22675 -- makemigrations --dry-run to output migrations to stdout.
...
`makemigrations --dry-run` will output the complete migrations file
that would be written if it's used along with `--verbosity 3`.
Backport of 2e613ea5c5 from master
2014-05-26 20:03:41 -04:00
Moayad Mardini
4d4ea65418
[1.7.x] Fixed #22692 -- Added docs for makemigrations
two command options.
...
Added documentation about `--dry-run` and `--merge`.
Backport of e98d303562 from master
2014-05-25 19:37:11 -04:00
Matthew Schinckel
22d33d52cb
[1.7.x] Fixed typo in docs/ref/models/custom-lookups.txt.
...
Backport of 2b432d4634 from master
2014-05-25 19:03:28 -04:00
Florian Apolloner
47d345fe6d
[1.7.x] Restored Python 2 compatibility.
...
Backport of ee51ab9d232e52d17cd5ad32e230fd715cffe638 from master.
2014-05-26 00:07:57 +02:00
Florian Apolloner
099625d760
[1.7.x] Removed executeable bit from a few files.
...
Backport of 9d1bf8f841af27c70d1fa5817e88d893ce7c0507 from master.
2014-05-25 23:17:18 +02:00
Florian Apolloner
1992d55eb3
[1.7.x] Fixed a few warnings in the testsuite.
...
Backport of 536ebaa048f69c18aa36448074f65f2741e35df5 from master.
2014-05-25 23:15:31 +02:00
Claude Paroz
0c685ab64f
[1.7.x] Removed code deprecated from Django 1.2
...
Backport of 2779c299c8 from master.
2014-05-25 21:26:44 +02:00
Claude Paroz
dbdbda87fc
[1.7.x] Fixed #22688 -- Documented ready() may be called more than once
...
Backport of b8fc167b32 from master.
2014-05-24 15:59:28 +02:00
Moayad Mardini
a59870e217
[1.7.x] Fixed #22676 -- makemigrations --dry-run should not ask for defaults
...
Made the fix in InteractiveMigrationQuestioner class code, rather than
MigrationAutodetector, because --dry-run shouldn't affect whether
MigrationAutodetector will detect non-nullable fields, but the
questioner should skip the question and returns a None for default
(since that won't be used anyway) if --dry-run is used.
Backport of ee14961a2a from master
2014-05-24 09:56:43 -04:00
Marc Tamlyn
be733bf672
[1.7.x] Fixed #22510 -- Harden field removal to only None.
...
Refs #8620 .
If we allow any value to remove form fields then we get name clashes
with method names, media classes etc. There was a backwards
incompatibility introduced meaning ModelForm subclasses with declared
fields called media or clean would lose those fields.
Field removal is now only permitted by using the sentinel value None.
The docs have been slightly reworded to refer to removal of fields
rather than shadowing.
Thanks to gcbirzan for the report and initial patch, and several of the
core team for opinions.
Backport of 9fb0f5dddc4cf7f2d294af1bcde2c359cffd90a5 from master
2014-05-24 13:11:50 +01:00
Claude Paroz
cdfefbec72
[1.7.x] Applied unicode_literals to makemessages command
...
This also fixes #22686 as some sort of side-effect.
Backport of dbb48d2bb99 from master.
2014-05-24 13:12:56 +02:00
Claude Paroz
e692c5818b
[1.7.x] Removed translatability of PIL error messages
...
Note these are no longer in master anyway.
2014-05-24 12:19:49 +02:00
Claude Paroz
8dad90911a
[1.7.x] Made runtests.py use 'set_installed_apps' API
...
This will also trigger the ready method of any tested application,
which was not run before.
Backport of 19b4908206 from master.
2014-05-24 11:03:45 +02:00
Baptiste Mispelon
8f87b679ed
[1.7.x] Fixed tuple serialization test.
...
Thanks to rockallite for the report.
Backport of f01d2a8f9be8bc2005b7f1620a2ca40530fb5065 from master.
2014-05-23 14:51:22 +02:00
Huu Nguyen
8462883f9b
[1.7.x] Fixed #22602 -- Improved code coverage of makemigrations command tests.
...
Backport of f851a954ac from master
2014-05-23 08:07:58 -04:00
Claude Paroz
1f6b3cf145
[1.7.x] Fixed #20816 -- Added hints about Django middleware ordering
...
Thanks gthb Trac user for the report, kolypto StackOverflow
user for the initial list and Tim Graham for the review.
Backport of 756c390fb5 from master.
2014-05-22 18:34:00 +02:00
Moayad Mardini
7d4a51e239
[1.7.x] Fixed #22679 -- Fixed empty tuple serialization in MigrationWriter.
...
Thanks rockallite.wulf for the report.
Backport of ad994a3c5b5911a12a5e2f2a8d06c036be1b8ad8 from master.
2014-05-22 16:20:21 +02:00
Ramiro Morales
fb45e666c2
[1.7.x] Fixed #22421 -- Regression in fixtures loading.
...
Loading fixtures were failing since the refactoring in 244e2b71f5 for
inheritance setups where the chain contains abstract models and the
root ancestor contains a M2M relation.
Thanks Stanislas Guerra for the report.
Refs #20946 .
Backport of 862e1ff234 from master
2014-05-22 07:38:39 -04:00
Claude Paroz
485163f72c
[1.7.x] Used link label in models FAQ to ease translation
...
Backport of d9d924250 from master.
2014-05-22 09:48:04 +02:00
Niclas Åhdén
aa9a146a69
[1.7.x] Fixed #22639 -- Added missing imports in docs
...
Added ModelForm and NON_FIELD_ERRORS imports.
Backport of 64ee097b3b from master
2014-05-21 11:20:38 -04:00
Tim Graham
f25c5de4ce
[1.7.x] Skipped a migrations test that's not supported on MySQL + Python 3.
...
Backport of dfeef8e147 from master
2014-05-21 07:04:46 -04:00
Andrew Godwin
fd62bc165c
[1.7.x] Fixed #22432 : SQLite M2M repointing now works. Thanks to xelnor.
...
Backport of 03900a02d5 from master
2014-05-21 07:04:46 -04:00
Andrew Godwin
d8c532036a
[1.7.x] Fixed #22649 : Beefed up quote_value
...
Backport of 125b3d4407 from master
2014-05-21 07:04:46 -04:00
Loic Bistuer
c60240e712
[1.7.x] Failing testcases for #22649 .
...
Backport of 5789ff7330 from master
2014-05-21 07:04:46 -04:00
Loic Bistuer
d61b6224b0
[1.7.x] Fixed #22424 -- Fixed handling of default values for TextField/BinaryField on MySQL.
...
Thanks syphar for the review and suggestions.
Backport of 1d3d01b4f7 from master
2014-05-21 07:04:38 -04:00
Raphaël Barrois
1a29675d76
[1.7.x] Fixed #22626 -- Allow BinaryField defaults with SQlite.
...
Also fixes a slight issue in sqlite3.schema._remake_table where
default values where quoted with "column name" quoting rules.
Reference for quoting: http://www.sqlite.org/lang_expr.html
Thanks Shai Berger for the review. Refs #22424 .
Backport of 6aacb4c991 from master
2014-05-21 06:57:49 -04:00
Huu Nguyen
f7270dcd9d
[1.7.x] Fixed #22661 -- Move makemigrations tests to the proper class
...
Backport of 44304cf04e from master
2014-05-21 06:56:23 -04:00
Loic Bistuer
0fa1aeb8d8
[1.7.x] Fixed the ordering of prefetch lookups so that latter lookups can refer to former lookups.
...
Thanks Anssi Kääriäinen and Tim Graham for the reviews. Refs #17001 and #22650 .
Backport of 870b0a1f86 from master
2014-05-21 10:37:41 +07:00
Loic Bistuer
24a41ecc35
[1.7.x] Fixed #22650 -- Fixed regression on prefetch_related.
...
Regression from f51c1f59 when using select_related then prefetch_related
on the reverse side of an O2O:
Author.objects.select_related('bio').prefetch_related('bio__books')
Thanks Aymeric Augustin for the report and tests. Refs #17001 .
Backport of bdf3473e64 from master
2014-05-21 10:37:00 +07:00
Denis Cornehl
0007a43198
[1.7.X] Fixed #22557 -- ManifestStaticFilesStorage did not cleanup deleted files.
...
When using ManifestStaticFilesStorage, deleted static files would be
correctly cleaned up by "collectstatic --clear", but the manifest file
would still contain the stale entries.
Thanks to tedtieken for the report
Backport of 3bec38888f6f4ee9245b004fcb9fe15b35cef469 from master.
2014-05-20 18:19:40 +02:00
Claude Paroz
3e2bb807b1
[1.7.x] Removed unused translations in auth tests
...
Backport of b8c480a12b from master.
2014-05-20 12:23:17 +02:00
Marc Tamlyn
157575c7c8
[1.7.x] Fix a2dd618 for mysql.
...
Backport of 3b76502 from master
2014-05-19 15:05:23 +01:00
Marc Tamlyn
c38925a601
[1.7.x] Fixed #22648 -- Transform.output_type should respect overridden custom_lookup and custom_transform.
...
Previously, class lookups from the output_type would be used, but any
changes to custom_lookup or custom_transform would be ignored.
Backport of a2dd618 from master
2014-05-19 15:05:23 +01:00
Moayad Mardini
269291019e
[1.7.x] Fixed #22655 -- Fixed GeoQuerySet doc about strictly_below
...
The paragraph was a copy of strictly_above.
Backport of 2f43229c2f from master
2014-05-19 09:50:46 -04:00
Claude Paroz
0f84037e10
[1.7.x] Updated translation catalogs
2014-05-19 15:14:09 +02:00
Claude Paroz
16c433967a
[1.7.x] Re-added JS catalog in manage_translations script
...
Backport of d20aa78cbf from master.
2014-05-19 15:12:08 +02:00
Tim Graham
1e78d132da
[1.7.x] Fixed #22652 -- Replaced UserModel.objects with UserModel._default_manager.
...
Thanks alexdlaird for the report.
Backport of b68fac7e88 from master
2014-05-19 08:37:00 -04:00
Claude Paroz
a69534ddd4
[1.7.x] Removed locale dirs for single-message apps
...
Considering that these apps only translate their app name, it's not
worth having a whole bunch of po files just for that. The translatable
app name for those apps will be integrated in Django core catalog.
Backport of a1f0c4c697 from master.
2014-05-19 14:21:01 +02:00
Moayad Mardini
4dd37a3a6e
[1.7.x] Fixed #22368 -- clarified connecting to Oracle DB using service name
...
Used the official terminology listed in
http://docs.oracle.com/cd/B19306_01/network.102/b14212/glossary.htm#i997309
Thanks michael.cherkasov for the report.
Backport of bfac6bef83 from master
2014-05-19 07:46:27 -04:00
Claude Paroz
db2aacff99
[1.7.x] Updated Django makemessages process
...
makemessages should now automatically distribute translatable
strings in the proper locale files, for Django too
(see 50a8ab7cd1e6).
Backport of 7999ed9b69 from master.
2014-05-19 09:30:59 +02:00
SaeX
ed98757e4b
[1.7.x] Added "/" divider for DATE(TIME)_INPUT_FORMATS for Dutch locale.
...
Dutch ('nl-NL' and 'nl-BE') has several valid input formats;
see http://nl.wikipedia.org/wiki/Datum_(dagtekening) .
Thanks Erik Romijn for review.
Backport of e3a9714ce3 from master
2014-05-18 13:00:32 -04:00
Alex Gaynor
8b87473008
[1.7.x] Fixed several flake8 errors, including one where a test wouldn't be run
...
Backport of b6b873d2ada0d7c2a616d11f161a7688df15f45f from master
2014-05-17 13:31:09 -04:00
Erik Romijn
bc2bfbadcc
[1.7.x] Fixed #22644 -- Clarified documentation for NamedUrlWizardView
...
Backport of 727d048f0991ccbd1564c6fb225ffbfd2f1a2102 from master.
2014-05-17 15:11:00 +02:00
Tim Graham
0594d2d714
[1.7.x] Added stub release notes for 1.6.6.
...
Backport of 79e9da3d1e from master
2014-05-16 18:20:45 -04:00
Shai Berger
b7a67b788c
[1.7.x] Fixed storing of binary fields and unicode textfields for Oracle/Python3
...
Backport of 6bb6df2943 from master
2014-05-17 01:16:06 +03:00
Claude Paroz
8c5fbcf50a
[1.7.x] Fixed case in form widgets docs
...
Backport of 9494f29d from master
2014-05-16 17:44:20 -04:00
Aymeric Augustin
62de03ee33
[1.7.x] Optimized make_aware/naive by removing redundant checks. Refs #22625 .
...
Also added tests with pytz and removed misplaced tests.
Backport of 1109ebd from master
2014-05-16 23:14:13 +02:00
Aymeric Augustin
6f8301d6cd
[1.7.x] Fixed #22625 -- Normalized make_aware/naive errors.
...
Also added tests for is/make_aware/naive.
Thanks Tom Michaelis for the report.
Backport of fa89acf from master
2014-05-16 22:54:21 +02:00
Stas Rudakou
75d2da797e
[1.7.x] Fixed #22266 - quote PK before redirecting away from add_view (django.contrib.admin)
...
Backport of ebd70d4d00c252d5122c13906da5bddc8de0bce5 from master.
2014-05-16 18:38:26 +02:00
Moritz
bd45139d4e
[1.7.x] Fixed #22167 -- Improved documentation on context processors
...
Backport of e7ffba8f78849fbf60b98fb8d67ef4577b585e3b from master.
2014-05-16 18:27:55 +02:00
Niclas Åhdén
0504d19db0
[1.7.x] Fixed #22622 -- Added ugettext_lazy import in docs
...
Backport of 7271f5db78 from master
2014-05-16 11:20:58 -04:00
Erik Romijn
2a66d12e77
[1.7.x] Fixed #22579 -- Corrected validation for email to reject trailing slash
...
Backport of 424fe76349a2e34eafef13c2450a7a1f4d3115a6 from master.
2014-05-16 15:19:21 +02:00
Stephen Burrows
79f15ab1ef
[1.7.x] Fixed #22628 -- Took initial forms into account when combining FormSet.min_num and FormSet.extra.
2014-05-16 06:37:05 -04:00
mbacho
6f0dcec44c
[1.7.x] Fixed typo in multipartparser.py
...
Backport of 8a9d54aa69 from master
2014-05-16 05:35:28 -04:00
Claude Paroz
e8a7436941
[1.7.x] Harmonized some PEP 0263 coding preambles
...
Backport of e520a73ee from master.
2014-05-15 20:01:31 +02:00
Tim Graham
c5185172a6
[1.7.x] Minor edits to latest release notes.
...
Backport of 860d31ac7a from master
2014-05-15 07:16:57 -04:00
Anders Steinlein
2914f66983
[1.7.x] Fixed #17642 -- Added min_num support to modelformsets, inlines, and the admin.
...
Thanks Stephen Burrows for work on the patch as well.
2014-05-15 07:02:06 -04:00
Collin Anderson
93d5b0d5b6
[1.7.x] typo: urlaprse -> urlparse
...
Backport of 8a2f04db91 from master
2014-05-15 06:36:14 -04:00
Éric Araujo
d1860a3529
[1.7.x] Fixed typo that disabled code example highlighting
...
Backport of 5ab95168cc from master
2014-05-15 05:52:30 -04:00
Jacob Kaplan-Moss
9f5adf8db3
--skip-scripts is no longer a thing.
...
See c29f82b4cf
.
2014-05-14 18:52:33 +02:00
Jacob Kaplan-Moss
95cf17244c
Bumped version number for release.
2014-05-14 18:45:54 +02:00
Jacob Kaplan-Moss
77f0327d80
Added release notes for 1.4.13, 1.5.8, 1.6.5.
2014-05-14 18:42:38 +02:00
Erik Romijn
e7b0cace45
[1.7.x] Added additional checks in is_safe_url to account for flexible parsing.
...
This is a security fix. Disclosure following shortly.
2014-05-14 10:18:27 +02:00
Aymeric Augustin
7fef18ba9e
[1.7.x] Dropped fix_IE_for_vary/attach.
...
This is a security fix. Disclosure following shortly.
2014-05-14 10:18:26 +02:00
Tim Graham
50f228ae7c
[1.7.x] Removed an unnecessary anchor in the docs.
...
Backport of a06808d370 from master
2014-05-13 20:55:00 -04:00
Tim Graham
fb9edfa3e6
[1.7.x] Fixed spelling mistake and added a word to the word list.
...
Backport of 1165e9992e from master
2014-05-13 09:17:32 -04:00
Haris Ibrahim K. V
81aeffccf3
[1.7.x] Fixed typo in transactions.txt
...
Backport of f2a8e47cfd from master
2014-05-13 07:28:43 -04:00
Tim Graham
0bb90de869
[1.7.x] Fixed #22618 -- Improved import_string example.
...
Thanks ewjoachim for the sugggestion.
Backport of c501662f3c from master
2014-05-13 07:05:35 -04:00
Tim Graham
aa3fd4b97e
[1.7.x] Fixed #22619 -- Corrected description of os.path.
...
Thanks Collin Anderson for the report.
Backport of a1be7237ca from master
2014-05-12 18:58:11 -04:00
Tim Graham
e1f0efc501
[1.7.x] Added 1.6.5 release note for refs #22508 .
...
Backport of 13087020a9 from master
2014-05-12 12:44:40 -04:00
Tim Graham
2455699a91
[1.7.x] Fixed #22613 -- Added formfield_for_choice_field() to the list of methods that InlineModelAdmin supports.
...
Backport of 986bd41f8a from master
2014-05-12 07:01:19 -04:00
Markus Amalthea Magnuson
ff938b3623
[1.7.x] Insert space.
...
Backport of 8eb51a8cf6 from master
2014-05-11 16:18:01 -04:00
Ramiro Morales
537f5905c9
[1.7.x] Link new testing tools document from main index.
...
63df886df7 from master.
2014-05-10 23:29:42 -03:00
Ramiro Morales
8cf6c5c789
[1.7.x] Fixed a few release notes typos.
...
38036e16c8f from master.
2014-05-10 23:19:49 -03:00
Claude Paroz
9d0ebceb32
[1.7.x] Fixed #21685 -- Displayed app verbose name in admindocs model index
...
Backport of 4cf82e5bcf from master.
2014-05-10 18:10:05 +02:00
Aymeric Augustin
e9d0ef19bc
[1.7.x] Fixed #22508 -- Avoided overwriting select_related.
...
Previously, known related objects overwrote related objects loaded
though select_related. This could cancel the effect of select_related
when it was used over more than one level.
Thanks boxm for the bug report and timo for bisecting the regression.
Backport of f574220f from master
2014-05-10 17:03:42 +02:00
Aymeric Augustin
c54fb3d922
[1.7.x] Adjusted refactoring of vendor checks.
...
Thanks Shai for the thorough review.
Backport of fb90b7c from master
2014-05-10 14:55:22 +02:00
Stephen Burrows
0c198035e9
[1.7.x] Fixed #22502 -- Fixed microseconds/default/form interaction
...
Made explicit lack of microsecond handling by built-in datetime form
fields. Used that explicitness to appropriately nix microsecond
values in bound fields. Thanks Claude Paroz for the review.
Backport of a5de0df58 from master.
2014-05-10 10:58:51 +02:00
Malcolm Box
8a090c21f1
[1.7.x] Fixed #22606 -- Locmemcache has_key() failed for infinite cache expiry
...
Refactored cache expiry logic for Locmemcache to make consistent across
all places where accessed, and correctly handle None as expiry time.
Backport of 66880e4cd from master.
2014-05-09 19:47:43 +02:00
Andrew Godwin
31eac71a76
[1.7.x] Tests for #22325
2014-05-08 21:49:09 -07:00
Andrew Godwin
1e8b1db050
[1.7.x] Fixed #22325 : Ignore __first__ dependencies to your own app
2014-05-08 21:39:31 -07:00
Andrew Godwin
4535dedc42
[1.7.x] Fixed #22563 : Ignore AUTH_USER_MODEL errors in from_state
2014-05-08 21:34:57 -07:00
Andrew Godwin
d2e96b5792
Merge pull request #2637 from davidszotten/validator_comparisons
...
[1.7.x] Fixed #22588 -- Fix RegexValidator __eq__
2014-05-08 19:49:59 -07:00
Aymeric Augustin
7194d40236
[1.7.x] Added feature flags for introspection capabilities.
...
Backport of 99d9fa32 from master
2014-05-08 22:53:21 +02:00
Aymeric Augustin
92a1e71100
[1.7.x] Split ignores_nulls_in_unique_constraints feature.
...
Oracle and SQL Server don't have exactly the same limitations. It's
worth treating them differently.
Backport of cff59bed from master
2014-05-08 22:53:11 +02:00
Aymeric Augustin
e3bc11cca9
[1.7.x] Replaced vendor checks by three feature flags.
...
Backport of c70a61eb from master
2014-05-08 22:53:00 +02:00
Aymeric Augustin
7f48d44c60
[1.7.x] Simplified indexes tests.
...
Backport of 43a80f48 from master
2014-05-08 22:52:53 +02:00
Aymeric Augustin
51fed81e33
[1.7.x] Reorganized backends tests.
...
This reduces the number of explicit vendor checks.
Backport of d6672631 from master
2014-05-08 22:52:34 +02:00
Aymeric Augustin
e244e456c7
[1.7.x] Appeased flake8.
...
Backport of b1432bfc from master
2014-05-08 22:45:26 +02:00
Claude Paroz
189bcb9b09
[1.7.x] Removed unused imports in makemigrations
...
Backport of fc32e9c0d from master.
2014-05-08 19:40:48 +02:00
Andrew Godwin
f2bf59a5bc
[1.7.x] Fixed #22476 : Couldn't alter attributes on M2Ms with through= set
2014-05-08 10:34:45 -07:00
Ramiro Morales
bc82c0dbac
[1.7.x] Restored site header text in password reset view.
...
It's the one shown when the optional integration described in
https://docs.djangoproject.com/en/dev/ref/contrib/admin/#adding-a-password-reset-feature
is used.
Follow-up to commits 6f470650d0 and 1d42a86ec7, together they fix
different small UI regressions after a962286b74.
Refs #21293 .
5ea34f3f86 from master.
2014-05-07 23:32:36 -03:00
Andrew Godwin
7f63ac5a9f
[1.7.x] Fixed #22496 : Data migrations get transactions again!
2014-05-07 14:29:04 -07:00
Andrew Godwin
d8bf415ab2
[1.7.x] Fixed #22581 : Pass default values for schema through get_db_prep_save()
2014-05-07 13:47:02 -07:00
Andrew Godwin
f67433e74b
[1.7.x] Fixed #22563 : Better error message when trying to change AUTH_USER_MODEL
...
You're not allowed to do this after you've made migrations; see ticket
for more details.
2014-05-07 13:05:32 -07:00
David Szotten
724a7bf222
[1.7.x] Fixed #22588 -- Fix RegexValidator __eq__
...
Compare parameters instead of re.pattern instances, and add the other
parameters to the comparison. Also add a __ne__ to make assertNotEqual
work properly.
2014-05-07 19:28:42 +01:00
Tim Graham
af06203cea
[1.7.x] Updated some docs for the delayed deprecation of legacy table creation; refs #22340 .
...
Backport of a2e3c96948 from master
2014-05-07 09:04:21 -04:00
Tim Graham
ab2865a48e
[1.7.x] Fixed some markup problems in docs/releases/security.txt.
2014-05-07 08:19:17 -04:00
Tim Graham
10327be1f3
[1.7.x] Bump DatabaseCreation deprecation to 2.0 (refs #22340 )
...
Backport of 61da5f3f02 from master
2014-05-07 08:16:01 -04:00
Andrew Godwin
1ed876ee5b
[1.7.x] Improve docs around deconstruction/serialisation (refs #22337 )
2014-05-06 23:07:10 -07:00
Andrew Godwin
2afb6e0526
[1.7.x] Fixed #22576 : Ensure makemigrations doesn't touch the database.
2014-05-06 22:42:53 -07:00
Andrew Godwin
f53d1576ca
[1.7.x] Fixed #22337 : FileSystemStorage marked as deconstructible and tested.
2014-05-06 22:24:39 -07:00
Tim Graham
a75318e813
[1.7.x] Fixed #22586 -- Added LANGUAGE_SESSION_KEY to __all__.
...
Thanks david.fischer.ch at gmail.com for the report.
Backport of 4492ea5475 from master
2014-05-06 19:50:32 -04:00
Claude Paroz
79e4a189f3
[1.7.x] Updated the messages context processor docs
...
Refs #20610 .
Backport of 7951f125e frmo master.
2014-05-06 20:39:13 +02:00
Claude Paroz
0d138b9cf4
[1.7.x] Fixed #22564 -- Prevented unneeded bytestrings in migrations
...
In some cases, this could lead to migrations written with Python 2
being incompatible with Python 3.
Thanks Tim Graham for the report and Loïc Bistuer for the advices.
Backport of da9cf53cb from master.
2014-05-06 09:14:32 +02:00
Claude Paroz
e8f1395f4e
[1.7.x] Added a bunch of missing unicode_literals
...
Refs #22564 .
Backport of 12474dace from master.
2014-05-06 09:14:03 +02:00
Ben Davis
549b658241
[1.7.x] Fixed #22570 -- Made Form.__getitem__ KeyError more descriptive.
...
Backport of df60db0e78 from master
2014-05-05 20:02:14 -04:00
Tom
2dd52d0433
[1.7.x] Reordered tutorial 1 so that the database is configured first.
...
This change is required after the introduction of
SessionAuthenticationMiddleware to the default middleware
Backport of 6923fdbbf1 from master
2014-05-05 13:42:36 -04:00
Anssi Kääriäinen
76979a257d
[1.7.x] Fixed #22466 -- ordering by reverse foreign key
...
Ordering by reverse foreign key was broken by custom lookups patch
(commit 20bab2cf9d02a5c6477d8aac066a635986e0d3f3).
Thanks to everybody who helped solving this issue. Special thanks to
Trac alias takis for reporting this.
Backport of 3b7c66a3ac from master
2014-05-05 15:29:24 +03:00
Tim Graham
2a2d7db01f
[1.7.x] Fixed #1349 -- Clarified docs on serving files from STATIC/MEDIA_URL.
...
Backport of fb7c347f7b from master
2014-05-05 07:39:03 -04:00
Jakub Roztocil
4b6ba2c1d1
[1.7.x] Fixed #22489 -- missing implemenation for search lookup
...
When custom lookups were added, converting the search lookup to use
the new Lookup infrastructure wasn't done.
Some changes were needed to the added test, main change done by
committer was ensuring the test works on MySQL versions prior to 5.6.
Backport of 7131e14d00 from master
2014-05-05 14:40:06 +03:00
Tim Graham
6a6f294f51
[1.7.x] Fixed #22575 -- Fixed typo in docs/topics/class-based-views/generic-editing.txt.
...
Thanks adminq80 at gmail.com.
Backport of 87776859af from master
2014-05-05 06:42:21 -04:00
Anssi Kääriäinen
402fc4f6c9
[1.7.x] Fixed #22429 -- Incorrect SQL when using ~Q and F
...
Backport of 5e1f4656b9 from master
2014-05-05 13:06:51 +03:00
Andrew Godwin
87d873ab47
[1.7.x] Fix docs error with deconstruct() docs
2014-05-03 16:18:56 -07:00
Tim Graham
f8fa735dc2
[1.7.x] Fixed #22435 -- Prevented adding a ManyToManyField from prompting for a default.
...
Thanks andrewsg for the report.
Backport of 3818d96426 from master
2014-05-02 20:53:39 -04:00
Claude Paroz
61fd00d4fd
[1.7.x] Fixed #22565 -- Prevented pgettext_lazy crash with bytestring input
...
Thanks ygbo for the report.
Backport of 142c27218 from master.
2014-05-02 19:33:58 +02:00
Brenda J. Butler
35b7dd4ddb
[1.7.x] Fixed #22558 -- Added missing word in contributing docs
...
Backport of c8d257e81 from master.
2014-05-02 08:29:20 +02:00
Chris Beaven
5ab93bbe74
[1.7.x] Fix migration autodector to work correctly with custom deconstructed values
2014-05-02 15:12:42 +12:00
Claude Paroz
d5a9d74eec
[1.7.x] Fixed #22551 -- Made oracle backend method Python 3 compatible
...
Thanks fatal10110 at gmail.com for the report. The fix is 1.6-only
because that code has been refactored in 1.7 (6983201cfb).
'Docs-only' forward port of 120a98120 from 1.6.x.
2014-05-01 18:17:55 +02:00
Yehonatan Daniv
d56267ba57
[1.7.x] Fixed #22539 -- Copied exclude argument in Model.full_clean() to prevent side effects.
...
Backport of e2e4cdba11 from master
2014-05-01 09:30:49 -04:00
Tim Graham
e5941ba5f3
[1.7.x] flake8 fixes.
...
Backport of 45c2d1f5d9 from master.
2014-04-30 18:35:40 -04:00
Tim Graham
3cd1db9121
[1.7.x] Fixed #22547 -- Added some links to tutorial 2.
...
Thanks bjb at sourcer.ca for the suggestion.
Backport of b0d032f9fc from master
2014-04-30 18:25:32 -04:00
Andrew Godwin
6ca5367869
[1.7.x] Cleanup failing test w/contenttypes and remove useless graph load
2014-04-30 15:12:18 -07:00
Moayad Mardini
c0d5521e69
[1.7.x] Fixed #22546 -- Removed idioms in tutorial 2.
...
Thanks bjb at sourcerer.ca for the suggestion.
Backport of 927245ccd8 from master
2014-04-30 18:02:00 -04:00
Andrew Godwin
35c2a14a49
[1.7.x] Fixed #22485 : Include all unmigrated apps in project state by default.
2014-04-30 12:26:11 -07:00
Simon Charette
a6ecd5dbb3
[1.7.x] Fixed #19195 -- Allow explicit ordering by a relation _id
field.
...
Thanks to chrisedgemon for the report and shaib, akaariai and
timgraham for the review.
Backport of 24ec9538b7 from master
2014-04-30 14:26:39 -04:00
Claude Paroz
1084456ac2
[1.7.x] Fixed #22474 -- Made migration recorder aware of multiple databases
...
Thanks Tim Graham for the review.
Backport of 7c54f8cce from master.
2014-04-30 16:55:12 +02:00
Mike Fogel
bb5c7e4e8d
[1.7.x] Fixed #22537 -- Add tests and improved docs for field subclass with choices.
...
Backport of 7fd1b35ed7 from master
2014-04-30 07:57:35 -04:00
Tim Graham
6d4df45e29
[1.7.x] Fixed #22442 -- Provided additional documentation regarding id fields clashing.
...
Thanks benjaoming for raising the issue and Loic for the examples.
Backport of 8ec388a69d from master
2014-04-30 07:38:31 -04:00
Tim Graham
a2cac1b68d
[1.7.x] Removed unused import.
...
Backport of d9c272b22f from master
2014-04-30 07:27:56 -04:00
Bruno Ribeiro da Silva
72493b1b7c
[1.7.x] Fixed #22511 -- Added args to migrations management commands.
...
Backport of 83413c53d2 from master
2014-04-30 07:20:44 -04:00
Simon Charette
cda5745df0
[1.7.x] Fixed #22447 -- Make sure custom model bases can be migrated.
...
Thanks to cdestigter for the report.
Backport of 390f888745 from master
2014-04-29 10:55:45 -04:00
Simon Charette
f02f20a739
[1.7.x] Use the new implementation of six.with_metaclass
.
...
No more `NewBase` horrors.
Thanks to bendavis78 for his work on merging this into six.
Backport of a2340ac6d6 from master
2014-04-29 10:55:36 -04:00
Ramiro Morales
62bbfba3aa
[1.7.x] Removed bogus, ineffective 'U' flag from codecs.open() call.
...
2df7238512 from master.
2014-04-29 07:52:43 -03:00
Aymeric Augustin
95c5e244fe
[1.7.x] Fixed #22523 -- Clarified pytz requirement.
...
Thanks z for the report and timo for the proposal.
Backport of 0fb7570 from master
2014-04-29 08:34:00 +02:00
Tim Graham
997648d80b
[1.7.x] Added stub release notes for 1.6.5.
...
Backport of 650065f0ef from master
2014-04-28 20:38:29 -04:00
Tim Graham
a72069f5d2
[1.7.x] Added dates to release notes of today's release.
...
Backport of 68d264059a from master
2014-04-28 19:07:03 -04:00
Tim Graham
1d20693fa6
[1.7.x] Revert "Fixed #15179 -- middlewares not applied for test client login()"
...
This reverts commit 4fdd51b73240bf9c8d9472fcc45df699f0714755.
See the ticket for concerns with this implementation; it will be revisited.
Backport of aabceadd7d from master
2014-04-28 18:49:24 -04:00
James Bennett
edca57817f
[1.7.x] Bump version number for 1.7 beta 3 bugfix release.
2014-04-28 15:46:13 -05:00
Tim Graham
305ab00087
[1.7.x] Fixed #22254 -- Noted the requirement of calling django.setup() when running
...
Thanks Peter Landry for the report.
Backport of 26b03f2526 from master
2014-04-28 12:43:50 -04:00
Zhaorong Ma
c73d8c41e4
[1.7.x] Fix a typo in logging.txt
...
Backport of dd3f3e4e89 from master
2014-04-28 11:21:57 -04:00
Tim Graham
63ae243a13
[1.7.x] Fixed #22497 -- Highlighted difference between field and class deconstruction.
...
Thanks nliberg for the suggestion.
Backport of b829d53b37 from master
2014-04-28 08:20:26 -04:00
Tim Graham
23f3c53aff
[1.7.x] Fixed #22445 -- Added how to perform a reverse data migration to topic guide.
...
Thanks Karen Tracey for the report.
Backport of 1ce759b69f from master
2014-04-27 15:21:07 -04:00
Tim Graham
b89bbb3c21
[1.7.x] Improved formatting and links of migration docs.
...
Backport of ab8d8e00c9 from master
2014-04-27 15:06:08 -04:00
Tim Graham
529ae6087c
[1.7.x] Fixed #22526 -- Added note about check() method to 1.7 release notes.
...
Thanks kevin-brown for the report.
Backport of 8905fcbda6 from master
2014-04-27 14:20:51 -04:00
Aymeric Augustin
a5cc99de24
[1.7.x] Documented django.setup().
...
Thanks Eric Holscher and Tim Graham for the review.
Backport of 58ed387 from master
2014-04-26 22:11:04 +02:00
Alex Gaynor
996564df4d
[1.7.x] Fix many many typos in comments throughout the codebase
...
Backport of 2bcb8bfc8d from master
2014-04-26 14:35:57 -04:00
Aymeric Augustin
3bb0f118ca
[1.7.x] Fixed #3214 -- Stopped parsing SQL with regex.
...
Avoided introducing a new regex-based SQL splitter in the migrations
framework, before we're bound by backwards compatibility.
Adapted this change to the legacy "initial SQL data" feature, even
though it's already deprecated, in order to facilitate the transition
to migrations.
sqlparse becomes mandatory for RunSQL on some databases (all but
PostgreSQL). There's no API to provide a single statement and tell
Django not to attempt splitting. Since we have a more robust splitting
implementation, that seems like a good tradeoff. It's easier to add a
new keyword argument later if necessary than to remove one.
Many people contributed to both tickets, thank you all, and especially
Claude for the review.
Refs #22401 .
Backport of 8b5b199 from master
2014-04-26 17:46:57 +02:00
Claude Paroz
22d99200a1
[1.7.x] Specified 'csv and unicode' note as Python 2 only
...
Backport of 2128b3a6 from master.
2014-04-26 16:10:00 +02:00
Claude Paroz
e441cebce3
[1.7.x] Updated doc links to point to Python 3 documentation
...
Backport of 680a0f08b from master.
2014-04-26 16:03:40 +02:00
Claude Paroz
abd68b5aff
[1.7.x] Fixed #22507 -- Clarified nature of the sender argument of signals
...
Backport of d1f93e9c1e from master.
2014-04-25 23:16:24 +02:00
Aymeric Augustin
6b38e48ba1
[1.7.x] Fixed #21166 -- Reset errors_occurred flag after commit and rollback.
...
Backport of 3033a71 from master.
Conflicts:
django/db/backends/__init__.py
2014-04-25 22:52:51 +02:00
Aymeric Augustin
788fce4c91
[1.7.x] Fixed a confusing heading in applications docs.
...
Refs #22422 .
Backport of 0315f01 from master
2014-04-25 17:40:33 +02:00
Tim Graham
c050ce7de2
[1.7.x] Fixed #22504 -- Corrected domain terminology in security guide.
...
Thanks chris at chrullrich.net.
Backport of f65eb15ac6 from master
2014-04-25 10:29:18 -04:00
Víðir Valberg Guðmundsson
bde1bc6672
[1.7.x] Fixed #22422 -- Moved information about the application loading process to refs/applications.txt.
...
Backport of deb561bbe2 from master
2014-04-25 10:12:55 -04:00
Moayad Mardini
ae15356061
[1.7.x] Fixed #22493 - Added warnings to raw() and extra() docs about SQL injection
...
Thanks Erik Romijn for the suggestion.
Backport of 3776926cfe from master
2014-04-25 09:56:04 -04:00
Malcolm Box
658710be00
[1.7.x] Fixed #22516 -- Added versionchanged annotation for STATIC_ROOT default value.
2014-04-25 09:36:18 -04:00
Tim Graham
6d87acc390
[1.7.x] Fixed #22515 -- Fixed the object_id of the LogEntry that's created after a user password change in the admin.
...
Thanks ross at servercode.co.uk for the report.
Backport of 9e7f86b890 from master
2014-04-25 08:36:20 -04:00
Aymeric Augustin
782fa14db4
[1.7.x] Set some transaction-related feature flags on SQLite.
...
Refs #22496 .
Backport of e368912 from master.
2014-04-25 11:45:58 +02:00
Shai Berger
b8b179bbf5
[1.7.x] Fixed #22498 -- constraint name was not quoted in FK creation SQL
...
Backport of 843613add4 from master
2014-04-25 01:35:59 +03:00
Shai Berger
7421e1e320
[1.7.x] Made sure cursor.close() does not complain if cursor is already closed on Oracle
...
Refs #22483
Backport of 53d97e4fe3 from master
2014-04-25 01:35:38 +03:00
Tim Graham
bee118a701
[1.7.x] Fixed #22499 -- Fixed a typo in an admin_views test that caused failure on Oracle.
...
Backport of d238c58912 from master
2014-04-24 07:06:57 -04:00
Claude Paroz
1a3cde5f9f
[1.7.x] Renamed Transifex project from django-core to django
...
See also http://blog.transifex.com/post/83622601443/new-teams-management-transifex
Backport of 7c24027ba from master.
2014-04-24 11:51:53 +02:00
Aymeric Augustin
9bbb43dd1a
[1.7.x] Ignored repeated calls to connection.close().
...
Backport of d4cc59ef from master
2014-04-24 08:43:24 +02:00
Aymeric Augustin
5cd6429620
[1.7.x] Prevented a crash in the cursor wrappers on Oracle.
...
Fixed #22483 (again).
Backport of 0f85103e from master
2014-04-24 08:43:16 +02:00
Aymeric Augustin
e32e359d6a
[1.7.x] Used the same instance of atomic for entry and exit.
...
Since all state is maintained on the connection at this time and none in
the atomic, it doesn't matter, but it could introduce some subtle bugs
if the implementation changed in the future.
Backport of 0aa4c6c3 from master
2014-04-23 21:45:49 +02:00
Aymeric Augustin
9bf890f6f9
[1.7.x] Wrapped migrations in a transaction only on DBs with transactional DDL.
...
Backport of e74d2183 from master
2014-04-23 21:45:38 +02:00
Claude Paroz
0424c84d54
[1.7.x] Set compile messages options as class variable
...
Refs #18714 . Same logic as options for makemessages commands.
Backport of 3a435a057 from master.
2014-04-23 15:16:38 +02:00
Malcolm Box
07235aec9d
[1.7.x] Fixed #22495 -- Locmem cache.add() failed with infinite timeouts
...
cache.add() incorrectly succeeded when there was an existing key
with an infinite (None) timeout.
Backport of af5f688392 from master.
2014-04-23 14:56:54 +02:00
Tim Graham
e192f13103
[1.7.x] Fixed #22486 -- Restored the ability to reverse views created using functools.partial.
...
Regression in 8b93b31487d6d3b0fcbbd0498991ea0db9088054.
Thanks rcoup for the report.
Backport of 3c06b2f2a3 from master
2014-04-23 08:49:53 -04:00
Claude Paroz
c3228ef3e2
[1.7.x] Added Spatialite support to the new migration framework
...
Refs #22451 .
Backport of 2ffa6ca73a from master.
2014-04-23 13:48:36 +02:00
Claude Paroz
423e2cf1ea
[1.7.x] Used migration framework in GIS test tearDown
...
Backport of 48c4ea414 from master.
2014-04-23 13:47:49 +02:00
Marti Raudsepp
ba1728dd9b
[1.7.x] Various documentation typo/spelling fixes
...
Errors detected by Topy (https://github.com/intgr/topy ), all changes
verified by hand.
Backport of 11d453bcad from master
2014-04-22 20:10:58 -04:00
Ray Ashman
4499c676ef
[1.7.x] Updated grammar in description of django.contrib.auth.
...
Backport of 9853779805 from master
2014-04-22 18:29:03 -04:00
Claude Paroz
1d0f1ee199
[1.7.x] Fixed table cleanup in GIS migration tests
...
Backport of ab90c4707b from master.
2014-04-22 19:52:58 +02:00
Claude Paroz
417e9f383f
[1.7.x] Fixed removal of GIS column in PostGIS 1.x migration
...
Refs #22481 .
Backport of 2f9d1576e from master, squashed with 2f9d1576e8.
2014-04-22 19:52:58 +02:00
Claude Paroz
5c19c698b1
[1.7.x] Fixed adding new GIS column in PostGIS 1.x migration
...
Refs #22451 .
Backport of fb09a489c from master.
2014-04-22 19:52:58 +02:00
Preston Timmons
935159d951
[1.7.x] Fixed #22478 -- Regression in test label discovery.
...
As part of the app-loading updates the old test runner was changed to not
require a models module. This introduced a regression in behavior so
applabel.TestCase failed for tests defined in a directory.
The fix is thanks to yakky and rtnpro.
2014-04-22 12:48:39 -04:00
Tim Graham
55da4e818d
[1.7.x] Added 1.6.4 release note stub.
...
Backport of 9fb95dfc9f from master
2014-04-22 11:47:52 -04:00
Florian Apolloner
97b5833e21
[1.7.x] Fixed #22426 -- Added support old-style d.c.messages format.
...
Forward ported code from 1.5 that adds backwards compatibility with legacy message length.
See commit 9e7183073f64e541587e8dcfd8bb3ddeb47f8162 for details.
Thanks to Ofir Ovadia for the initial patch.
Backport of f286721f7fdc2202f77a5f4d650d9d0779b86811 from master.
2014-04-22 10:47:26 +02:00
James Bennett
df81625da6
[1.7.x] Update for 1.7b2 security release.
2014-04-21 18:21:55 -05:00
Erik Romijn
5577fd673e
[1.7.x] Added information on resolved security issues to release notes.
...
Backport of c07f3e60c2d455e36ba4ac339d4283d32bbc3814 from master
2014-04-21 18:29:42 -04:00
Erik Romijn
34526c2f56
[1.7.x] Fixed queries that may return unexpected results on MySQL due to typecasting.
...
This is a security fix. Disclosure will follow shortly.
Backport of 75c0d4ea3ae48970f788c482ee0bd6b29a7f1307 from master
2014-04-21 18:29:39 -04:00
Aymeric Augustin
380545bf85
[1.7.x] Prevented leaking the CSRF token through caching.
...
This is a security fix. Disclosure will follow shortly.
Backport of c083e3815aec23b99833da710eea574e6f2e8566 from master
2014-04-21 18:29:24 -04:00
Tim Graham
546740544d
[1.7.x] Fixed a remote code execution vulnerabilty in URL reversing.
...
Thanks Benjamin Bach for the report and initial patch.
This is a security fix; disclosure to follow shortly.
Backport of 8b93b31487d6d3b0fcbbd0498991ea0db9088054 from master
2014-04-21 18:29:12 -04:00
Matt Lauber
0bd913a19c
[1.7.x] Corrected the section identifier for MySQL unicode reference.
...
Backport of b2514c02e1 from master
2014-04-21 13:20:46 -04:00
Florian Apolloner
d7de6ed07e
[1.7.x] Fixed monkeypatching in a staticfiles test.
...
Backport of a4553e0510 from master
2014-04-21 08:58:41 -04:00
Aymeric Augustin
62eb79fc4c
[1.7.x] Appeased flake8 2.1.0.
...
Backport of 428c0bbe1bcd303560d7e96d7d2721ff3fdc0e3f from master
2014-04-21 07:50:50 -04:00
Alex Gaynor
50dddbdfc7
[1.7.x] Corrected many style guide violations that the newest version of flake8 catches
...
Backport of 778ce245dd466bce1b19f89e52cf9ed8f1b46513 from master
2014-04-21 07:50:43 -04:00
Aymeric Augustin
0dad0ca55e
[1.7.x] Further consolidated the model_inheritance tests.
...
Backport of 3f01e82 from master
2014-04-21 11:51:21 +02:00
Aymeric Augustin
ab0afef959
[1.7.x] Fixed #22402 -- Consolidated model_inheritance tests.
...
The model_inheritance_same_model_name tests couldn't be run without the
model_inheritance tests. Make the problem go away by merging them.
Thanks timo for the report.
Backport of 0097d38 from master
2014-04-21 11:43:38 +02:00
Simon Charette
33d1dc2eeb
[1.7.x] Fixed flake8 warnings introduced in recent commits.
...
Backport of 79f05616fbf48cf7c205ef17666af0c3d47b3c1e from master
2014-04-20 13:10:52 -04:00
Tim Graham
9e86c3f0a6
[1.7.x] Fixed flake8 errors.
...
Backport of 471fb04a30 from master
2014-04-20 13:09:12 -04:00
Tim Graham
0086c9eb48
[1.7.x] Fixed #22417 -- Added additional documentation for refs #16969 .
...
Thanks Jon Foster for the report.
Backport of 1b3a3fc1e4 from master
2014-04-19 21:41:28 -04:00
Andrew Gorcester
bc5d568e1e
[1.7.x] Fixed #22397 -- Issues removing M2M field with explicit through model
...
Changed the migration autodetector to remove models last so that FK
and M2M fields will not be left as dangling references. Added a check
in the migration state renderer to error out in the presence of
dangling references instead of leaving them as strings. Fixed a bug
in the sqlite backend to handle the deletion of M2M fields with
"through" models properly (i.e., do nothing successfully).
Thanks to melinath for report, loic for tests and andrewgodwin and
charettes for assistance with architecture.
Backport of 956bd64424 from master
2014-04-18 18:34:00 -04:00
Tim Graham
b06e45bbf6
[1.7.x] Moved RemoteUserBackend documentation to reference guide.
...
Backport of 26d118c3fe from master
2014-04-18 16:11:04 -04:00
Moayad Mardini
b1e7dd445b
[1.7.x] Fixed #22458 -- Added a note about MySQL utf8_unicode_ci collation
...
Thanks tobami at gmail.com for the report.
Backport of 11ac50b18e from master
2014-04-18 15:11:10 -04:00
Tim Graham
1816baf4f7
[1.7.x] Fixed #22472 -- Clarified meaning of dots in tutorial 4 code block.
...
Backport of 6b2ce38c49 from master
2014-04-18 15:03:57 -04:00
Tim Graham
a9ad081899
[1.7.x] Fixed #22473 -- Emphasized that Model.clean() is not called from Model.save().
...
Backport of b43bbd6d39 from master
2014-04-18 15:03:27 -04:00
Claude Paroz
13340df769
[1.7.x] Adapted fixture read mode to file type
...
Binary mode added in ed532a6a1e is not supported by ZipFile.
Refs #22399 .
Backport of 275811a93 from master.
2014-04-18 19:24:39 +02:00
Claude Paroz
8d7023dc71
[1.7.x] Fixed #22399 -- Forced fixture reading in binary mode
...
This might help on systems where default encoding is not UTF-8 (and
on Python 3).
Thanks bacilla for the report.
Backport of ed532a6a1 from master.
2014-04-18 17:56:14 +02:00
Tim Graham
3a4a5a5c99
[1.7.x] Added some missing items to the 1.6.3 release notes.
...
Backport of c2b269df6e from master
2014-04-18 10:32:49 -04:00
Erik Romijn
1dc4a8daec
[1.7.x] Fixed #22471 -- Corrected misprint in i18n docs
...
Backport of 54d5c37de6572eae57a66339bb38719e681cee82 from master.
2014-04-18 15:09:58 +02:00
Moayad Mardini
bdfa3fd9b3
[1.7.x] Fixed #22464 - included contrib/gis/static in tarball
...
After switching to setuptools in commit 66f546b,
contrib/gis/static isn't included in tarball anymore, this commit adds
that path to be `recursive-include` in `MANIFEST.in`
Backport of bad4721b45 from master
2014-04-18 07:18:51 -04:00
Simon Charette
24016c9b62
[1.7.x] Fixed a test failure introduced by 214d1e1b0f.
...
Backport of 9bc377d7d0 from master
2014-04-18 02:32:24 -04:00
Moayad Mardini
4df5dc42dd
[1.7.x] Fixed #22454 - Changed compatibility warning hint
...
The warning hint of `_check_test_runner` of 1.6 compatibility had a link
to a general release note. The link should be edited to refer the
relevant "Backwards incompatible changes in 1.6" section that documents
the cause and the possible solutions and workarounds of the warning.
Backport of 214d1e1b0f from master
2014-04-17 20:42:04 -04:00
Tim Graham
22cbaea9c7
[1.7.x] Fixed #22444 -- Marked initial SQL/fixture loading as deprecated.
...
Thanks Karen Tracey for the report.
Backport of a4acb80463 from master
2014-04-17 20:37:25 -04:00
Tim Graham
548acd77fd
[1.7.x] Fixed a KeyError on login with legacy sessions; refs #21649 .
...
Thanks Loic for the report.
Backport of 11e30b684d from master
2014-04-17 20:07:05 -04:00
Claude Paroz
edaff9b0df
[1.7.x] Confirmed support for PostGIS 2.1 and GDAL 1.10
...
Refs #22456 .
Backport of 3cea917e3e from master.
2014-04-17 21:26:49 +02:00
Claude Paroz
f039c555ca
[1.7.x] Fixed #22456 -- Replaced 900913 EPSG code by 3857 in some tests
...
3857 is now the official EPSG code for the Google spherical mercator
projection and some recent versions of GDAL do not recognize 900913
any longer.
Thanks Tim Graham for the report and initial patch.
Backport of c082f3c74c from master.
2014-04-17 21:21:27 +02:00
Ben Davis
8c1d8a6215
[1.7.x] Fixed #22220 -- Added more examples to reverse() documention.
...
Thanks EvilDMP for the suggestions.
Backport of 030dd4f72c from master
2014-04-16 20:31:01 -04:00
Justin Hamade
7f8bd1a4b3
[1.7.x] Fixed #22434 -- Retain ordering on related sliced subqueries.
...
Thanks maciej.pawlisz for the report, and charettes for the review.
Backport of a13df671a5 from master
2014-04-16 18:02:25 -04:00
Mariano Rezk
841e21a85c
[1.7.x] Fixed #22455 -- Documented return values for send_mail and send_mass_mail
...
Backport of 7cd74fc96ee982acfed7a98e76d4623eabde146d from master.
2014-04-16 17:38:22 -04:00
Motiejus Jakštys
71c8ae543f
[1.7.x] Fixed #22460 -- Explicity remove constraints when dropping a related field.
...
Backport of 0e45669fa9 from master
2014-04-16 16:37:08 -04:00
Jordi Yeh
fcbcdf72d6
[1.7.x] Fixed #22457 -- Fixed contributing guide w/o github set-up
...
The published commnand was not working when the user did not have
the git client set-up with the public-key. Changed the contributing
guide to clone it from https instead.
Backport of 28102991172ab931d030412275f926c1b05c688d from master.
2014-04-16 09:42:48 -04:00
Tim Graham
c064971e6b
[1.7.x] Fixed spelling errors in documentation.
...
Backport of b5ce21accb from master
2014-04-16 09:39:25 -04:00
Tim Graham
8edba6eb90
[1.7.x] Fixed #22453 -- Corrected DoesNotExist message in docs.
...
Thanks Eugenio Cano-Manuel.
Backport of eefad142de from master
2014-04-16 08:37:24 -04:00
Tim Graham
62ac77fa23
[1.7.x] Added a note regarding django.contrib.auth.authenticate.
...
Thanks Josh Brown for the suggestion.
Backport of ae5b662796 from master
2014-04-16 07:49:33 -04:00
Tim Graham
cb7ee25462
[1.7.x] Added RemoteUserMiddleware to middleware reference page.
...
Backport of 465980d070 from master
2014-04-16 07:23:00 -04:00
Mariano Rezk
5672b29d57
[1.7.x] Fixed #22443 -- Document smtp.EmailBackend.timeout default value
...
Django 1.7 introduces a new timeout parameter for the SMTP email backend:
http://docs.djangoproject.com/en/dev/topics/email/#django.core.mail.backends.smtp.EmailBackend.timeout
However, there was no mention of the default value for this parameter.
Backport of 4e3d8ae61055dbb83d193585f2f36af6537b31cc from master.
2014-04-15 17:48:45 -04:00
Tim Graham
76ed0a615c
[1.7.x] Fixed #22392 -- Corrected deployment instructions for Apache 2.4.
...
Thanks zjcheah at yahoo.com for the report.
Backport of 0f37d2e4c0 from master
2014-04-15 17:45:39 -04:00
Andrew Godwin
a195ec847e
[1.7.x] Improve migrations/schema docs
2014-04-14 18:09:48 -04:00
arachnegl
f004374f8f
[1.7.x] Fixed #22398 -- Added detail about callable in KEY_FUNCTION docs
...
Backport of 8da86fd19b from master
2014-04-13 19:14:16 -04:00
Simon Charette
9fb61cb64a
[1.7.x] Fixed #22350 -- Consistently serialize bytes and text in migrations.
...
Thanks to @treyhunner and Loïc for their suggestions and review.
Backport of 72d3889db4 from master
2014-04-13 19:03:20 -04:00
valtron
6b3a8d2705
[1.7.x] Fixed #21760 -- prefetch_related used an inefficient query for reverse FK.
...
Regression introduced by commit 9777442. Refs #21410 .
Backport of d3b71b976d from master
2014-04-13 00:51:38 +07:00
Claude Paroz
a6eda3a5fc
[1.7.x] Also allowed a non-overridden setting to be deleted
...
Refs #20032 , #18824 . Thanks ztorstri at gmail.com for the report.
Backport of 3417ba0309 from master.
2014-04-12 15:35:11 +02:00
Claude Paroz
d9f8cc12ae
[1.7.x] Fixed #22102 -- Made SimpleTestCase tests run before unittest.TestCase ones
...
Thanks aptiko for the report and Tim Graham for the review.
Backport of 3e3a7372f5 from master.
2014-04-12 11:43:10 +02:00
Aymeric Augustin
3f48ca2071
[1.7.x] Improved a comment. Thanks intgr for the report.
...
Backport of 476db08 from master
2014-04-11 23:03:25 +02:00
Tim Graham
593e72c141
[1.7.x] Fixed #22419 -- Typo in docs/topics/db/multi-db.txt.
...
Thanks Josh Kupershmidt.
Backport of c487b1e230 from master
2014-04-10 19:33:39 -04:00
Aymeric Augustin
1bcc8eb0f6
[1.7.x] Increased robustness of 58161e4e. Refs #22291 .
...
Backport of ee837b9a from master
2014-04-10 23:18:36 +02:00
Aymeric Augustin
2ad0bc132a
[1.7.x] Fixed #21202 -- Maintained atomicity when the server disconnects.
...
Thanks intgr for the report.
This commit doesn't include a test because I don't know how to emulate a
database disconnection in a cross-database compatible way.
Also simplified a 'backends' test that was constrained by this problem.
Backport of 81761508 from master
2014-04-10 23:18:36 +02:00
Aymeric Augustin
2e42c859da
[1.7.x] Fixed #21239 -- Maintained atomicity when closing the connection.
...
Refs #15802 -- Reverted #7c657b24 as BaseDatabaseWrapper.close() now
has a proper "finally" clause that may need to preserve self.connection.
Backport of 25860096 from master.
2014-04-10 23:18:35 +02:00
Aymeric Augustin
5f22bda382
[1.7.x] Fixed #22321 -- Wrapped exceptions in _set_autocommit.
...
Refs #21202 .
Backport of 3becac84 from master
2014-04-10 23:06:58 +02:00
Aymeric Augustin
7e89434084
[1.7.x] Fixed #22291 -- Avoided shadowing deadlock exceptions on MySQL.
...
Thanks err for the report.
Backport of 58161e4e from master.
2014-04-10 23:02:54 +02:00
Tim Graham
ae78227de3
[1.7.x] Fixed #21353 -- Noted that description is ignored for TabularInlines.
...
Thanks nofinator for the report.
Backport of d5031ecf88 from master
2014-04-10 13:33:28 -04:00
John Paulett
b4681be154
[1.7.x] Fixed #22364 -- Sanitized getpass input in changepassword.
...
Python 2 getpass on Windows does not accept unicode, even
when containing on ASCII characters. Related #190807 .
Backport of b5a9166f7e from master
2014-04-10 13:16:04 -04:00
Tim Graham
ddd25b280f
[1.7.x] Fixed #22194 -- Added --list-tags option to check command.
...
Thanks Elvard for the patch.
Backport of 395d75ea6b from master
2014-04-10 09:44:43 -04:00
Tim Graham
32e6237450
[1.7.x] Fixed #22195 -- Used constants to define built-in tags for check framework.
...
Thanks Elvard for the patch.
Backport of b513fa5fc6 from master
2014-04-10 08:54:32 -04:00
Carl Meyer
0b43308e2d
[1.7.x] Fixed #22412 -- More nuanced advice re template filters and exceptions.
...
Thanks Tim for review.
Backport of 7e3834adc9 from master
2014-04-10 06:19:02 -04:00
Shai Berger
941f947bfd
[1.7.x] Documentation fixes for the select_for_update change.
...
Refs #22343 ; thanks Tim Graham for the fixes.
Backport of 59b1d30 from master
2014-04-10 03:43:05 +03:00
Shai Berger
3a9a4570ef
[1.7.x] Fixed #22343 -- Disallowed select_for_update in autocommit mode
...
The ticket was originally about two failing tests, which are
fixed by putting their queries in transactions.
Thanks Tim Graham for the report, Aymeric Augustin for the fix,
and Simon Charette, Tim Graham & Loïc Bistuer for review.
Backport of b990df1d63 from master
2014-04-10 01:44:30 +03:00
Aymeric Augustin
f6f188ffc7
[1.7.x] Fixed #21553 -- Ensured unusable database connections get closed.
...
Backport of 5f2f47f from master
2014-04-09 22:50:21 +02:00
Tim Graham
396d65b580
[1.7.x] Noted that pip is included with Python 3.4 in Windows install guide.
...
Thanks CHI Cheng.
Backport of 11e7254c3d from master
2014-04-09 07:39:08 -04:00
ejstronge
763b1d55e2
[1.7.x] Fixed small typo in django-admin.txt
...
The word 'by' seemed to be missing from the first line of the compilemessages command.
Backport of 5ca522b9ed from master
2014-04-09 07:13:37 -04:00
Huu Nguyen
f22177a9a3
[1.7.x] Refs #21230 -- removed direct settings manipulation from signed cookies tests
...
Backport of b9bfcd82f0 from master
2014-04-08 12:15:40 -04:00
Anubhav Joshi
2cb7013179
[1.7.x] Fixed #16205 -- Added an installation for Windows.
...
Backport of d35d2f61c5 from master
2014-04-08 11:28:58 -04:00
Tim Graham
8158557f22
[1.7.x] Added Python 3.4 to list of supported version in docs/intro/install.txt
...
Backport of a1fa6fcabc from master
2014-04-08 11:13:36 -04:00
Tim Graham
9063e6ed39
[1.7.x] Fixed casing of "GeoDjango".
2014-04-08 10:12:15 -04:00
Anubhav Joshi
d9c7d9eb6e
[1.7.x] Fixed #9535 -- Added a reference guide for file upload classes.
...
Backport of c8c2b8a638 from master
2014-04-08 10:09:01 -04:00
Anubhav Joshi
61b7fcf478
[1.7.x] Fixed #22405 -- Fixed string error in models/queries docs.
...
Backport of 36de29200e1ea713c278f7672ab1790e1500c423 from master.
2014-04-08 13:34:37 +02:00
Yin Jifeng
c148d8e730
[1.7.x] Added missing request parameter to get_current_site().
...
Backport of d6c9bdd825 from master
2014-04-07 09:57:04 -04:00
Tim Graham
32c8579089
[1.7.x] Fixed #21084 -- Used proxy model's content type for admin log entries.
...
(the previous commit included only the test)
Backport of 3cba90f22a from master
2014-04-07 09:06:09 -04:00
Alejandro Gómez
5e74d6cf0a
[1.7.x] Fixed #21084 -- Used proxy model's content type for admin log entries.
...
Backport of 7a7f6fccae from master
2014-04-07 08:59:27 -04:00
Tim Graham
38679254bf
[1.7.x] Fixed #22216 -- Added Form.non_field_errors to form API doc.
...
Backport of d2f4553d705951ca8043d687f9493c559f494a0c from master
2014-04-05 18:17:13 -04:00
Tim Graham
5891fd3f89
[1.7.x] Fixed #21649 -- Added optional invalidation of sessions when user password changes.
...
Thanks Paul McMillan, Aymeric Augustin, and Erik Romijn for reviews.
Backport of fd23c06023 from master
2014-04-05 13:01:03 -04:00
Vishal Lal
4ad4a236de
[1.7.x] Fixed #22380 -- Missing SECRET_KEY variable in sample settings file for testing
...
Backport of 8f621b83e9 from master.
2014-04-04 09:48:56 +02:00
Tomasz Wysocki
23984cf907
[1.7.x] Refactored and commented strip_tags utility
...
Backport of c28beb4291 from master.
2014-04-03 21:28:10 +02:00
Simon Charette
7b3a221ad6
[1.7.x] Fixed #22363 -- Correctly serialize django.utils.datetime_safe
objects.
...
Thanks to linovia for the report.
Backport of 074d3183d9 from master
2014-04-03 14:56:41 -04:00
Vishal Lal
28a686a0b7
[1.7.x] Fixed #22372 -- Improved description of WizardView.get_context_data().
...
Thanks simon29 for the report.
Backport of a8e2ec0e82 from master
2014-04-03 08:27:57 -04:00
Ramiro Morales
1a1b22679d
[1.7.x] Document removal of GeoDjangoTestSuiteRunner in 1.6 release notes.
...
e6ced2bb08 from master.
2014-04-02 17:16:33 -03:00
Vishal Lal
36d1e3725f
[1.7.x] Fixed #22347 -- Unified FileSystemStorage documentation.
...
Thanks nliberg for the report.
Backport of ca93f02c62 from master
2014-04-02 13:01:03 -04:00
Claude Paroz
cfb7eca2a1
[1.7.x] Added 1.6.3 release note for refs #22256 .
2014-04-01 20:48:06 +02:00
Loic Bistuer
6405889a72
[1.7.x] Fixed #22360 -- Fixed two non-deterministic tests in Python 3.4.
...
The order of admin's changelist filters in the querystring relied on
dict ordering.
Backport of 4d996b8e69 from master
2014-03-31 08:24:09 -04:00
Tim Graham
ef37346932
[1.7.x] Fixed #22362 -- Improved AuthenticationMiddleware assertion message.
...
Thanks Keryn Knight.
Backport of 246face209 from master
2014-03-31 08:12:16 -04:00
Tim Graham
07c42cee7f
[1.7.x] Replaced urllib/urlparse imports with from django.utils.six.moves.
...
Backport of 981b864fbd from master
2014-03-31 07:55:25 -04:00
Loic Bistuer
5268d71f18
[1.7.x] Fixed #21795 -- Made add_preserved_filters account for url prefixes.
...
Thanks to trac username honyczek for the report. Refs #6903 .
Backport of 4339e9a92d from master
2014-03-31 07:20:20 -04:00
Tim Graham
25da849896
[1.7.x] Added 1.6.3 release note for refs #22250 .
...
Backport of d57ba04d89 from master
2014-03-31 07:12:12 -04:00
Tim Graham
2f2d21fe5c
[1.7.x] Fixed typo in docstring.
...
Backport of 029d77eaaa from master
2014-03-31 07:01:27 -04:00
Loic Bistuer
8e73d3a2c1
[1.7.x] Fixed #22319 -- Fixed migration external dependencies when there are internal dependencies.
...
Backport of 0fd51cf0bd from master
2014-03-31 06:57:44 -04:00
Loic Bistuer
bdec848063
[1.7.x] Fixed #22359 -- Changing M2M field to blank=True failed on sqlite.
...
Backport of a449e7feec from master
2014-03-31 06:35:06 -04:00
Ramiro Morales
422f5d9a2c
[1.7.x] Corrected an import in a model form docs example.
...
cb5dd99bb4 from master.
2014-03-30 20:34:29 -03:00
Berker Peksag
273f8e2297
[1.7.x] Added Python 3.4 to classifiers in setup.py.
...
Backport of 47509e3c5d from master
2014-03-30 17:46:38 -04:00
Tim Graham
0f9f8738d5
[1.7.x] Fixed #22338 -- Fixed a test dependent on dictionary key iteration order.
...
Backport of 69a4f383f6 from master
2014-03-30 14:27:05 -04:00
Aymeric Augustin
18b2c03ea3
[1.7.x] Increased memoization cache size for language codes.
...
There may be more than 100 (default maxsize) commonly seen xx-yy values
on some sites. The additional memory consumption isn't significant.
Also added a comment explaining why this cache must have a maxsize.
Backport of f356b6e from master.
2014-03-29 19:47:47 +01:00
Tim Graham
c139e3e0a0
[1.7.x] Fixed #21858 -- Clarified 1.6 release note regarding M2M help text changes.
...
Thanks lee at semel.net for the report.
Backport of f30e6590f4 from master
2014-03-29 10:23:23 -04:00
Anssi Kääriäinen
a6a0800579
[1.7.x] Fixed #22250 -- regression in gis compiler for non-concrete fields
...
Thanks to gwahl@fusionbox.com for the report.
Backport of 21f208e66e from master
2014-03-29 08:28:43 +02:00
Tim Graham
c9014a95bc
[1.7.x] Skipped JavascriptI18nTests if Firefox isn't properly configured.
...
Code borrowed from django.contrib.admin.tests. Without this, the class can
throw an exception with something like "The browser appears to have exited
before we could connect. The output was: Error: no display specified"
Backport of e2ac0203d9 from master
2014-03-28 07:30:35 -04:00
Tim Graham
5f04240381
[1.7.x] Added Python 3.4 support notes.
...
Backport of 306deab2c7 from master
2014-03-27 08:12:58 -04:00
Tim Martin
e2e773c04a
[1.7.x] Fixed #21941 -- Documented the kwargs param of django.conf.urls.url().
...
Thanks cjerdonek for the report.
Backport of a779757706 from master
2014-03-27 07:02:02 -04:00
Tim Graham
0134d00be5
[1.7.x] Skipped a test that errors rather than marked it as an expectedFailure.
...
The test throws an error which Python 3.4 doesn't seem to catch as an
expectedFailure.
refs 7476d96f83a004d674244aeb7a66289035427396
Backport of c170c3761b from master
2014-03-27 07:01:20 -04:00
Tim Graham
3d74f1f64a
[1.7.x] Fixed a deprecation warning on Python 3.
...
Backport of c19bbefca2 from master
2014-03-27 07:01:04 -04:00
Chris Beaven
fe61ba91c7
[1.7.x] Add a useful stacklevel to some RemovedInDjango19Warnings
...
Backport of b077ba7ac1 from master
2014-03-27 06:11:01 -04:00
Simon Charette
4678efd3f1
[1.7.x] Fixed the PostGIS circular imports caused by 1506c71a95.
...
Thanks to @loic for the help and @timgraham for the review.
refs #12030 .
Backport of b9e50e4774 from master
2014-03-26 13:02:52 -04:00
Tim Graham
994274ea83
[1.7.x] Fixed #22029 -- Removed obsolete advice on registering migrate/syncdb signal handlers.
...
All signals should now be registered in AppConfig.ready().
Thanks un33k for the report.
Backport of 5233b36693 from master
2014-03-26 10:41:45 -04:00
Tim Graham
4bd7411edf
[1.7.x] Fixed Python 3.4 test failure.
...
Backport of 45ef4baf5c from master
2014-03-26 10:11:12 -04:00
Loic Bistuer
39fc8d4b8e
[1.7.x] Fixed #22331 -- Made MigrationAutodetector ignore unmanaged models.
...
This commit reverts 69d4b1c and tackle the issue from a different angle.
Models remain present in the project state, but are now ignored by the
autodetector.
Backport of 42336c84a0daedfd8242333622eefe202e32398e from master
2014-03-25 20:04:49 -04:00
Andrew Godwin
1cb6729f58
[1.7.x] Add some syncdb deprecation stuff into the deprecation doc
...
Backport of 378359de1c from master
2014-03-25 20:02:07 -04:00
Simon Charette
81d3d48b5e
[1.7.x] Fixed field deconstruction tests failures introduced by 1506c71a95.
...
refs #12030 .
Backport of ff874f363c from master
2014-03-25 19:30:33 -04:00
Simon Charette
78211b13a5
[1.7.x] Fixed #12030 -- Validate integer field range at the model level.
...
Thanks to @timgraham for the review.
Backport of 1506c71a95 from master
2014-03-25 14:31:54 -04:00
Tim Graham
7eaf329ad3
[1.7.x] Fixed #22322 -- Fixed incorrect explanation of what managed=False does.
...
refs #14305 .
Thanks Adrian Klaver for the report.
Backport of 9b7ba8af1b from master
2014-03-25 14:03:02 -04:00
Tim Graham
d84beb3d91
Revert "[1.7.x] Fixed #22331 -- Fixed migrations ProjectState to ignore unmanaged models."
...
This reverts commit bf69375c4d2eaec4f00c646b9e7e84a9397d1a20.
2014-03-25 12:07:37 -04:00
Loic Bistuer
bf69375c4d
[1.7.x] Fixed #22331 -- Fixed migrations ProjectState to ignore unmanaged models.
...
Backport of 69d4b1c3ea from master
2014-03-25 10:34:28 -04:00
David Evans
ddcbde41ee
[1.7.x] Fixed #22315 -- str/bytes mismatch in staticfiles
...
Previously, `ManifestFilesMixin.read_manifest` failed in Python 3
because `json.loads` accepts `str` not `bytes`.
Backport of 86dcac4634 from master
2014-03-25 09:55:29 -04:00
Ben Davis
2460484486
[1.7.x] Fixed #22087 -- Made AdminReadonlyField respect ModelForm Meta overrides.
...
Backport of 16afffffe8 from master
2014-03-25 09:34:12 -04:00
Stephen Burrows
b4f165fe94
[1.7.x] Fixed #22300 -- Fixed crash in migrations when changing non-relational field to relational.
...
Backport of 35ed792cf2 from master
2014-03-25 07:46:48 -04:00
Daniel Hahler
21eaad68e6
[1.7.x] Fixed #22293 -- Avoided renaming many-to-many tables to themselves.
...
Fixed this for both implementations of _alter_many_to_many, instead of
in `alter_db_table` itself (more implementations).
Backport of 1edfa155e3 from master
2014-03-24 13:27:06 -04:00
Jannis
345281b880
[1.7.x] Fixed typo in error message in django.contrib.sitemaps.
...
Backport of d81a9c50d8 from master
2014-03-24 13:06:58 -04:00
Adam Kaliński
eb1600e9d1
[1.7.x] Fixed #22048 - Enhanced docs to cover nonexistent one-to-one relationships.
...
Thanks EvilDMP for the suggestion.
Backport of ec08d62a20 from master
2014-03-24 09:45:50 -04:00
Tim Graham
57a373b08c
[1.7.x] Fixed #22247 -- Replaced "upstream" with "downstream" in cache docs.
...
Thanks valgarv at gmx.net for the report.
Backport of 60d2dde286 from master
2014-03-24 09:19:46 -04:00
Tim Graham
68a80166cd
[1.7.x] Fixed #21665 -- Documented that changes in assertRedirects may be required given new URL escaping behavior.
...
Thank pdc for the report.
Backport of 62e81bc00b from master
2014-03-24 09:09:19 -04:00
Tim Graham
70b34f095c
[1.7.x] Updated six to 1.6.1.
...
Backport of 2ec82c7387 from master
2014-03-24 07:34:18 -04:00
Moayad Mardini
f847aeb6f8
[1.7.x] Fixed #22265 -- Clarfied consistent behavior of migrations.
...
Thanks aruseni for the report.
Backport of bff77e2aa8 from master
2014-03-24 07:27:27 -04:00
James Bennett
1694e091f1
[1.7.x] Correct oversight in trove classifiers, as this branch is now beta status.
2014-03-23 23:09:12 -05:00
Claude Paroz
e1a6a3024f
[1.7.x] Fixed #22317 -- Fixed documented handler400 default value
...
Backport of 3f7615cddc from master.
2014-03-23 21:20:19 +01:00
Alex Gaynor
6d254e5a97
[1.7.x] Removed an unused variable.
...
Backport of 684e8a941b from master
2014-03-22 13:17:51 -04:00
Claude Paroz
d345a030c2
[1.7.x] Fixed #22241 -- Selectively added line breaks in admin read-only fields
...
When content is supposed to contain HTML, we do not try to add
line breaks in read-only contents.
Thanks Alexander Todorov for the report.
Backport of c94bff2 from master.
2014-03-22 17:11:12 +01:00
Patrick Michaud
908bdea482
[1.7.x] Fixed #22256 -- Replaced bad fallback for missing PATH
...
Thanks Baptiste Mispelon for the review.
Backport of acee46fc9 from master.
2014-03-22 16:54:02 +01:00
Claude Paroz
07d4b3c8f2
[1.7.x] Tweaked strip_tags tests to pass on Python 3.3
...
Backport of 6a0291bdaf from master.
2014-03-22 14:44:13 +01:00
Claude Paroz
4b72532048
[1.7.x] Added release note about strip_tags improvement
...
Backport of 1c8dbb0cc from master.
2014-03-22 12:35:56 +01:00
Claude Paroz
80f08dbdbc
[1.7.x] Improved strip_tags and clarified documentation
...
The fact that strip_tags cannot guarantee to really strip all
non-safe HTML content was not clear enough. Also see:
https://www.djangoproject.com/weblog/2014/mar/22/strip-tags-advisory/
Backport of 6ca6c36f82b from master.
2014-03-22 11:01:14 +01:00
Antti Hirvonen
0c19383a1f
[1.7.x] Fixed #22302 -- Updated Finnish locale formats
...
Backport of aaa21102592e96c543d60513755d6c81f639f122 from master.
2014-03-22 10:55:10 +01:00
Aymeric Augustin
60d2213d43
[1.7.x] Small doc changes missed in 66076268.
...
Partial backport of 253e8ac2 from master.
2014-03-21 22:09:57 +01:00
Thomas Schreiber
79989263a2
[1.7.x] Fixed typos in docs (django.contrib.site)
...
Backport of 907ac646415a911b54d84c5203d4fa78ed1b91d5 from master.
2014-03-21 20:02:03 +01:00
Tim Graham
563d6a6bba
[1.7.x] Replaced an instance of PIL with Pillow in the docs.
...
Done in 4965a774074780f3e4858bcc975476f71edf2c2c on master.
2014-03-21 11:23:59 -04:00
Tim Graham
caa753ffd6
[1.7.x] Fixed flake8 warnings.
...
Backport of 35f46ec7a9 from master
2014-03-21 06:25:21 -04:00
Dejan Noveski
b74ec85c1d
[1.7.x] Fixed #22255 -- Added support for specifying re flags in RegexValidator
...
Backport of 4d0c5f61427a8e67552ee2d777fffbadc7aff3b2 from master.
2014-03-21 11:18:26 +01:00
Bryan Helmig
cc8a800d0c
[1.7.x] Fixed minor syntax error in Queryset docs
...
Backport of f2eea960e052db2d280e6dd016b0f8f23d5a8ef7 from master.
2014-03-21 11:14:57 +01:00
James Bennett
dda6224459
[1.7.x] Bump version numbers for 1.7 beta 1.
2014-03-20 19:42:11 -05:00