1
0
mirror of https://github.com/django/django.git synced 2025-04-26 18:24:36 +00:00

9392 Commits

Author SHA1 Message Date
Simon Charette
d1757d8df4 Fixed -- Included already applied migration changes in the post-migrate state when the execution plan is empty.
Refs .

Thanks tkhyn for the report and Tim for the review.
2016-08-24 01:17:18 -04:00
Tim Graham
ad25fe7350 Fixed -- Added database alias to InconsistentMigrationHistory message. 2016-08-23 17:39:58 -04:00
Tim Graham
80c03b06ad Fixed -- Documented how to change an unmanaged model to managed. 2016-08-23 17:35:42 -04:00
Collin Anderson
384f89f8f8 Fixed -- Reverted some admin checks from checking field.many_to_many back to isinstance(field, models.ManyToManyField).
This partially reverts 983c158da7723eb00a376bd31db76709da4d0260
2016-08-23 16:00:12 -04:00
Chris Jerdonek
a3db480393 Fixed -- Added a TEST['TEMPLATE'] setting for PostgreSQL. 2016-08-23 15:08:20 -04:00
Helen Sherwood-Taylor
bc1e2d8e8e Fixed -- 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.
2016-08-20 10:01:57 -04:00
Tim Graham
9f27735612 Fixed -- Clarified commands to install argon2/bcrypt packages. 2016-08-19 19:23:12 -04:00
Przemysław Suliga
1f68bb5683 Refs -- Protected against insecure redirects in set_language(). 2016-08-19 19:16:00 -04:00
Przemysław Suliga
549b90fab3 Refs -- Protected against insecure redirects in Login/LogoutView. 2016-08-19 19:01:01 -04:00
Tim Graham
44c306218f Fixed -- Corrected a screenshot in the tutorial. 2016-08-19 18:04:57 -04:00
Abhishek Bera
f3b601f11a Fixed -- Documented using QuerySet.get() without arguments. 2016-08-19 17:15:33 -04:00
Tim Graham
1d1e246db6 Removed DateTimeAwareJSONEncoder alias. 2016-08-19 15:00:16 -04:00
Tim Graham
1357e5796c Added technical board for 1.11 release cycle.
The current board has been re-elected.
2016-08-19 14:55:54 -04:00
Tim Graham
d60386d0f5 Fixed -- Corrected recommendation for converting timestamps to tz-aware datetimes. 2016-08-19 14:47:06 -04:00
Matthew Wilkes
4f138fe5a4 Fixed -- Fixed F() expressions with the __range lookup. 2016-08-19 13:40:56 -04:00
Vincent Zhang
7b08e01c13 Refs -- Corrected a method name in tutorial05. 2016-08-19 11:10:28 -04:00
Brightcells
d301c61bcb Replaced old DateTimeAwareJSONEncoder with DjangoJSONEncoder in docs. 2016-08-19 09:13:53 -04:00
Tim Graham
f8c338ec6a Refs -- Completed a RequestContext docs example. 2016-08-18 21:11:27 -04:00
Tim Graham
518eaf1fa2 Fixed -- Documented how to replicate SubfieldBase's assignment behavior. 2016-08-18 20:59:40 -04:00
Jon Dufresne
f5c6d3c8d9 Fixed -- Unified form field initial data retrieval. 2016-08-18 17:55:47 -07:00
Ian Foote
39f35d4b9d Fixed -- Added expressions support to QuerySet.values(). 2016-08-18 16:05:15 -04:00
Loïc Bistuer
d4eefc7e2a Fixed -- Removed duplicated managers in Model._meta.managers. 2016-08-19 01:24:45 +07:00
Timothy Allen
8cd900c819 Corrected text from Python's Windows installer. 2016-08-18 14:05:12 -04:00
Jim Nicholls
76ab885118 Fixed -- Fixed makemigrations crash with a read-only database. 2016-08-18 08:27:40 -04:00
Chris Lamb
97513269d7 Refs -- Added test for isnull lookup to CharField with primary_key=True. 2016-08-17 21:08:15 -04:00
Mattias Loverot
35ea6d83c8 Fixed -- Doc'd which gettext functions may be aliased as _. 2016-08-17 16:34:54 -04:00
Andreas Pelme
e76981b433 Fixed -- Added test.utils.setup/teardown_databases(). 2016-08-17 13:55:04 -04:00
Kevin Christopher Henry
ff445f4c19 Fixed -- Clarified model usage in AppConfig.ready(). 2016-08-17 10:34:51 -04:00
Jon Dufresne
4773ed2e31 Fixed incorrect doc reference to Field.initial. 2016-08-17 10:27:33 -04:00
Tim Graham
8fb53c50ce Fixed -- Documented that default managers aren't used for related queries. 2016-08-16 13:12:55 -04:00
Akshesh
7c9bd07f69 Clarified when activating the btree_gin extension is necessary. 2016-08-16 09:03:13 -04:00
Tim Graham
7549eb0004 Fixed -- Made update_session_auth_hash() rotate the session key. 2016-08-15 19:29:12 -04:00
Tim Graham
937d752d3d Fixed -- Reallowed the {% for %} tag to unpack any iterable.
Thanks Sergei Maertens for the report and patch.
2016-08-15 15:39:22 -04:00
Daniel Wiesmann
89f17e7caf Fixed -- Fixed annotations with database functions on PostGIS.
Thanks Sean Mc Allister for providing a test.
2016-08-15 14:23:10 -04:00
Timothy Allen
df92f6f2e3 Documented how allow_migrate() interacts with makemigrations. 2016-08-15 13:34:54 -04:00
Victor Oliveira da Silva
d7804662f8 Made cosmetic edits to Field.default docs. 2016-08-15 10:44:39 -04:00
Tim Graham
c6cd9f4ae2 Fixed typo in docs/releases/1.11.txt 2016-08-13 08:33:58 -04:00
Chris Jerdonek
5890b1613c Fixed -- Added --debug-mode option to DiscoverRunner. 2016-08-12 20:43:17 -04:00
Tim Graham
9556005425 Fixed -- Documented that refresh_from_db() doesn't reload @cached_properties. 2016-08-12 18:49:21 -04:00
Akshesh
6e07ec3f65 Fixed -- Added contrib.postgres.indexes.GinIndex. 2016-08-12 18:37:03 -04:00
Akshesh
236baa0f0e Refs -- Added BtreeGinExtension operation. 2016-08-12 18:37:00 -04:00
Tim Graham
e1acc9dc66 Removed some unnecessary repetition in PostgreSQL operations docs. 2016-08-12 18:03:19 -04:00
Michael Schwarz
72d541b61c Fixed -- Handled non-UTF-8 bytes objects for text/* attachments.
The fallback logic which allows non-UTF-8 encoded files to be passed to
attach_file() even when a `text/*` mime type has been specified is
moved to attach(). Both functions now fall back to a content type of
`application/octet-stream`.

A side effect is that a file's content is decoded in memory instead of
opening it in text mode and reading it into a string.

Some mimetype-related logic in _create_attachment() has become
obsolete as the code moved from attach_file() to attach() already
handles this.
2016-08-12 16:35:09 -04:00
Akshesh
311a8e8d50 Fixed -- Added support for column order in class-based indexes. 2016-08-12 15:52:16 -04:00
Jon Dufresne
fab46ce6f5 Fixed -- Prevented required attribute on ClearableFileInput when initial data exists. 2016-08-12 13:59:01 -04:00
Akshesh
f842d1011c Refs -- Added index order introspection. 2016-08-12 11:51:09 -04:00
Tim Graham
5eab1f6f83 Fixed typo in docs/releases/1.9.txt 2016-08-12 07:29:29 -04:00
Kevin Christopher Henry
b785927b44 Documented the cache_control() decorator. 2016-08-11 16:46:58 -04:00
Moritz Sichert
08b8c46971 Refs -- Documented how to restore absolute redirect URLs. 2016-08-11 16:35:59 -04:00
Tim Graham
4c2a6fe75b Clarified session verification with respect to the current session. 2016-08-11 12:08:50 -04:00