Commit Graph

22893 Commits

Author SHA1 Message Date
Claude Paroz 0a81f540c9 [1.10.x] Refs #27162 -- Complemented docs related to CreateExtension
Thanks Tim Graham for the review.

Backport of 6b54504e66 from master
2016-09-01 14:06:22 -04:00
Tim Graham 2078b187f7 [1.10.x] Refs #27164 -- Fixed typo in docs/topics/db/multi-db.txt
Backport of 789f9c9b29 from master
2016-09-01 09:53:51 -04:00
Alex Hill db3eabfae5 [1.10.x] Refs #27039 -- Fixed regression with field defaults in prefixed forms.
Backport of d9c083cfee from master
2016-09-01 09:18:34 -04:00
Ed Morley e19490d4b1 [1.10.x] Made settings docs link to cache parameters more specific.
Backport of 1d54fb4483 from master
2016-08-31 12:31:51 -04:00
Olexander Yermakov 7c57f5cf8c [1.10.x] Fixed #27154 -- Allowed comparing CallableBool with bitwise or.
Thanks Tim for the review.

Backport of b7fb608142 from master
2016-08-31 08:28:47 -04:00
Mike Fiedler c6c1d940c1 [1.10.x] Fixed typo in docs/topics/testing/overview.txt
Backport of b961b51eaf from master
2016-08-31 07:35:09 -04:00
Tim Graham f79dce16bc [1.10.x] Fixed #27145 -- Updated Storage.save() docs for refs #18899.
Backport of 3f16e4df49 from master
2016-08-30 21:41:27 -04:00
Ed Morley 255456becd [1.10.x] Fixed #19914 -- Fixed test failures with pylibmc.
Backport of 674e3fe13e from master
2016-08-29 16:28:22 +01:00
Ed Morley 306545d805 [1.10.x] Fixed #27132 -- Allowed testing MemcachedCache and PyLibMCCache during the same test run.
Backport of 047c1d48a6 from master
2016-08-29 16:28:16 +01:00
Ed Morley 547c7e6756 [1.10.x] Refs #27132 -- Added pylibmc to test requirements.
Backport of 5d978c4621 from master
2016-08-29 16:28:02 +01:00
Ed Morley 5756edd46d [1.10.x] Refs #19914 -- Split the test_invalid_keys cache test into two.
The first half of the test fails when using pylibmc (so will need
to be skipped).

Backport of cfd1f93d55 from master
2016-08-29 10:26:41 -04:00
Ed Morley fb8eea5680 [1.10.x] Fixed #27124 -- Excluded cull-related cache configs from memcached tests.
Since the `cull` and `zero_cull` test cache configs set `MAX_ENTRIES`
and `CULL_FREQUENCY` in `OPTIONS`, which are only intended for use with
the locmem, filesystem, and database backends. This prevents test
failures once refs #20892 is fixed.

Backport of 606a303856 from master
2016-08-29 10:24:13 -04:00
Tim Graham 4541ff2e39 [1.10.x] Added Django 1.11, 2.0 to Python version support table.
Backport of 38cf9ef390 from master
2016-08-26 17:23:09 -04:00
Baptiste Mispelon 0cb1032982 [1.10.x] Fixed incorrect variable name in {% regroup %} docs.
Backport of 7968bb7fad from master
2016-08-26 16:25:39 -04:00
Tim Graham 325dd0befe [1.10.x] Fixed #27039 -- Fixed empty data fallback to model field default in model forms.
Backport of 4bc6b93994 from master
2016-08-24 19:37:04 -04:00
Berker Peksag c4ee93128f [1.10.x] Fixed #27111 -- Fixed KeyError if USERNAME_FIELD isn't in UserCreationForm.fields.
Backport of 3c18f8a3d2 from master
2016-08-24 13:23:50 -04:00
Tim Graham 6f006f40f7 [1.10.x] Fixed #27104 -- Corrected shell example in tutorial 5.
Backport of cf2cd4053f from master
2016-08-24 10:08:54 -04:00
Tim Graham c135adda8e [1.10.x] Fixed #27115 -- Corrected a screenshot in the tutorial.
Backport of b40d24960c from master
2016-08-24 09:00:06 -04:00
Simon Charette 0b454804db [1.10.x] Fixed #27100 -- Included already applied migration changes in the pre-migrate state.
Refs #24100.

Thanks Tim for the review.

Backport of d5c4ea5246 from master
2016-08-24 01:38:30 -04:00
Simon Charette 1c60765d63 [1.10.x] Fixed #27044 -- Included already applied migration changes in the post-migrate state when the execution plan is empty.
Refs #24100.

Thanks tkhyn for the report and Tim for the review.

Backport of d1757d8df4 from master
2016-08-24 01:37:53 -04:00
Tim Graham 46f604244a [1.10.x] Fixed #27089 -- Added database alias to InconsistentMigrationHistory message.
Backport of ad25fe7350 from master
2016-08-23 20:48:29 -04:00
Tim Graham 6be255a22a [1.10.x] Fixed #24650 -- Documented how to change an unmanaged model to managed.
Backport of 80c03b06ad from master
2016-08-23 17:35:55 -04:00
Collin Anderson 4073780219 [1.10.x] Fixed #26998 -- Reverted some admin checks from checking field.many_to_many back to isinstance(field, models.ManyToManyField).
This partially reverts 983c158da7

Backport of 384f89f8f8 from master
2016-08-23 16:06:41 -04:00
Helen Sherwood-Taylor ae0f55eb49 [1.10.x] Fixed #27018 -- Fixed admindocs crash with a view in a class.
Generated correct admindocs URLs on Python 3. URLs generate 404s on
Python 2, as in older versions of Django.

Backport of bc1e2d8e8e from master
2016-08-20 10:02:22 -04:00
Tim Graham 7c0c3fb6b1 [1.10.x] Fixed #27013 -- Clarified commands to install argon2/bcrypt packages.
Backport of 9f27735612 from master
2016-08-19 19:23:51 -04:00
Tim Graham f878b860d1 [1.10.x] Fixed #27085 -- Corrected a screenshot in the tutorial.
Backport of 44c306218f from master
2016-08-19 18:05:30 -04:00
Abhishek Bera a77d979cbd [1.10.x] Fixed #26987 -- Documented using QuerySet.get() without arguments.
Backport of f3b601f11a from master
2016-08-19 17:17:57 -04:00
Tim Graham 33783a9e06 [1.10.x] Fixed #26571 -- Corrected recommendation for converting timestamps to tz-aware datetimes.
Backport of d60386d0f5 from master
2016-08-19 14:47:38 -04:00
Vincent Zhang e5103de2d1 [1.10.x] Refs #26747 -- Corrected a method name in tutorial05.
Backport of 7b08e01c13 from master
2016-08-19 11:10:40 -04:00
Brightcells 557c1a6a42 [1.10.x] Replaced old DateTimeAwareJSONEncoder with DjangoJSONEncoder in docs.
Backport of d301c61bcb from master
2016-08-19 09:16:31 -04:00
Tim Graham a033b351b5 [1.10.x] Refs #25854 -- Completed a RequestContext docs example.
Backport of f8c338ec6a from master
2016-08-18 21:13:47 -04:00
Tim Graham 3342f24ff6 [1.10.x] Fixed #26807 -- Documented how to replicate SubfieldBase's assignment behavior.
Backport of 518eaf1fa2 from master
2016-08-18 21:09:02 -04:00
Loïc Bistuer 21f18e5372 [1.10.x] Fixed #27073 -- Removed duplicated managers in `Model._meta.managers`.
Backport of d4eefc7e2a from master
2016-08-19 01:27:43 +07:00
Timothy Allen 0cab98e084 [1.10.x] Corrected text from Python's Windows installer.
Backport of 8cd900c819 from master
2016-08-18 14:05:28 -04:00
Jim Nicholls 16f032e69f [1.10.x] Fixed #27054 -- Fixed makemigrations crash with a read-only database.
Backport of 76ab885118 from master
2016-08-18 08:45:41 -04:00
Chris Lamb c24a47b3e6 [1.10.x] Refs #26983 -- Added test for isnull lookup to CharField with primary_key=True.
Backport of 97513269d7 from master
2016-08-17 21:19:22 -04:00
Mattias Loverot 04f0c2ab39 [1.10.x] Fixed #27069 -- Doc'd which gettext functions may be aliased as _.
Backport of 35ea6d83c8 from master
2016-08-17 16:35:19 -04:00
Kevin Christopher Henry 3db01b2d58 [1.10.x] Fixed #26616 -- Clarified model usage in AppConfig.ready().
Backport of ff445f4c19 from master
2016-08-17 10:35:29 -04:00
Jon Dufresne f6af24fe40 [1.10.x] Fixed incorrect doc reference to Field.initial.
Backport of 4773ed2e31 from master
2016-08-17 10:27:46 -04:00
Tim Graham 8df2da3637 [1.10.x] Fixed #19222 -- Documented that default managers aren't used for related queries.
Backport of 8fb53c50ce from master
2016-08-16 13:13:10 -04:00
Tim Graham 020ba4bf91 [1.10.x] Fixed #27058 -- Reallowed the {% for %} tag to unpack any iterable.
Thanks Sergei Maertens for the report and patch.

Backport of 937d752d3d from master
2016-08-15 15:40:34 -04:00
Tim Graham 54771f6605 [1.10.x] Refs #13408 -- Removed obsolete code/comments from {% for %} unpacking deprecation.
Backport of ba749f8f87 from master
2016-08-15 15:40:31 -04:00
Daniel Wiesmann 201198136d [1.10.x] Fixed #27014 -- Fixed annotations with database functions on PostGIS.
Thanks Sean Mc Allister for providing a test.

Backport of 89f17e7caf from master
2016-08-15 14:23:48 -04:00
Timothy Allen 7d11d61087 [1.10.x] Documented how allow_migrate() interacts with makemigrations.
Backport of df92f6f2e3 from master
2016-08-15 13:35:05 -04:00
Victor Oliveira da Silva dad8ec49c4 [1.10.x] Made cosmetic edits to Field.default docs.
Backport of d7804662f8 from master
2016-08-15 10:46:02 -04:00
Tim Graham eea74edc70 [1.10.x] Fixed #27048 -- Documented that refresh_from_db() doesn't reload @cached_properties.
Backport of 9556005425 from master
2016-08-12 18:49:42 -04:00
Tim Graham f8307c4b8c [1.10.x] Removed some unnecessary repetition in PostgreSQL operations docs.
Backport of e1acc9dc66 from master
2016-08-12 18:04:03 -04:00
Jon Dufresne d8cda352b1 [1.10.x] Fixed #27037 -- Prevented required attribute on ClearableFileInput when initial data exists.
Backport of fab46ce6f5 from master
2016-08-12 13:59:23 -04:00
Tim Graham 13fd711f10 [1.10.x] Fixed typo in docs/releases/1.9.txt
Backport of 5eab1f6f83 from master
2016-08-12 07:30:05 -04:00
Kevin Christopher Henry 80e0ff7f91 [1.10.x] Documented the cache_control() decorator.
Backport of b785927b44 from master
2016-08-11 16:48:43 -04:00