Claude Paroz
13c3e5d5a0
Fixed #25995 -- Added an encoder option to JSONField
...
Thanks Berker Peksag and Tim Graham for the reviews.
2016-08-25 21:42:42 +02:00
Akshesh
989f6108d3
Added class-based indexes to 1.11 release notes.
2016-08-25 09:51:54 -04:00
Tim Graham
4bc6b93994
Fixed #27039 -- Fixed empty data fallback to model field default in model forms.
2016-08-24 17:50:10 -04:00
Berker Peksag
426bca002c
Fixed #26816 -- Corrected an admin check to require inlines to subclass InlineModelAdmin.
2016-08-24 17:34:32 -04:00
Berker Peksag
3c97ba2a0d
Replaced property() usage with decorator in a couple places.
2016-08-24 17:23:16 -04:00
Tim Graham
a3abbe1fcb
Removed a blank line per isort.
2016-08-24 13:58:57 -04:00
Berker Peksag
3c18f8a3d2
Fixed #27111 -- Fixed KeyError if USERNAME_FIELD isn't in UserCreationForm.fields.
2016-08-24 13:20:12 -04:00
Mattias Loverot
9aaeec337e
Fixed #26866 -- Added format_lazy function
...
Added format_lazy function to django.utils.text module.
Useful when dealing with relative complex lazy string concatenations
(e.g. in urls.py when translating urls in regular expressions).
2016-08-24 18:18:17 +02:00
Tim Graham
cf2cd4053f
Fixed #27104 -- Corrected shell example in tutorial 5.
2016-08-24 09:11:50 -04:00
Tim Graham
b40d24960c
Fixed #27115 -- Corrected a screenshot in the tutorial.
2016-08-24 08:59:49 -04:00
Tim Graham
953629b92c
Fixed #27072 -- Fixed AddGeometryColumn error when altering a SpatiaLite table.
2016-08-24 08:44:45 -04:00
Josh Smeaton
e59ba90c78
Added environment variable support to tox configuration
...
PYTHONPATH is required for passing through test modules that don't
already exist within the Django tests/ directory.
DISPLAY is required for testing selenium on systems that use Xvfb.
HOME is where the Vagrant djangobox stores geoip data, but it could be
useful for other tox commands that require access to data outside of
Django.
2016-08-24 21:02:35 +10:00
Simon Charette
d5c4ea5246
Fixed #27100 -- Included already applied migration changes in the pre-migrate state.
...
Refs #24100 .
Thanks Tim for the review.
2016-08-24 01:17:48 -04:00
Simon Charette
d1757d8df4
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.
2016-08-24 01:17:18 -04:00
Tim Graham
ad25fe7350
Fixed #27089 -- Added database alias to InconsistentMigrationHistory message.
2016-08-23 17:39:58 -04:00
Tim Graham
80c03b06ad
Fixed #24650 -- Documented how to change an unmanaged model to managed.
2016-08-23 17:35:42 -04:00
Matthew Somerville
fb951fb0c5
Fixed #27103 -- Registered vcapi/rcapi GDAL prototypes based on their own drivers.
2016-08-23 17:30:11 -04:00
Claude Paroz
48c34f3336
Fixed #26971 -- Prevented crash with non-UTF-8 incoming PATH_INFO
...
Thanks Tim Graham and Loïc Bistuer for the reviews.
2016-08-23 22:40:07 +02:00
Collin Anderson
384f89f8f8
Fixed #26998 -- Reverted some admin checks from checking field.many_to_many back to isinstance(field, models.ManyToManyField).
...
This partially reverts 983c158da7
2016-08-23 16:00:12 -04:00
Chris Jerdonek
a3db480393
Fixed #27061 -- Added a TEST['TEMPLATE'] setting for PostgreSQL.
2016-08-23 15:08:20 -04:00
Helen Sherwood-Taylor
bc1e2d8e8e
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.
2016-08-20 10:01:57 -04:00
Claude Paroz
00bb47b58f
Fixed #27096 -- Fixed primary key introspection for sqlite3 backend
2016-08-20 15:57:17 +02:00
Tim Graham
9f27735612
Fixed #27013 -- Clarified commands to install argon2/bcrypt packages.
2016-08-19 19:23:12 -04:00
Przemysław Suliga
1f68bb5683
Refs #26902 -- Protected against insecure redirects in set_language().
2016-08-19 19:16:00 -04:00
Przemysław Suliga
549b90fab3
Refs #26902 -- Protected against insecure redirects in Login/LogoutView.
2016-08-19 19:01:01 -04:00
Przemysław Suliga
5e5a17028f
Fixed #26902 -- Allowed is_safe_url() to require an https URL.
...
Thanks Andrew Nester, Berker Peksag, and Tim Graham for reviews.
2016-08-19 18:51:33 -04:00
Tim Graham
44c306218f
Fixed #27085 -- Corrected a screenshot in the tutorial.
2016-08-19 18:04:57 -04:00
Abhishek Bera
f3b601f11a
Fixed #26987 -- 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 #26571 -- Corrected recommendation for converting timestamps to tz-aware datetimes.
2016-08-19 14:47:06 -04:00
Matthew Wilkes
4f138fe5a4
Fixed #22288 -- Fixed F() expressions with the __range lookup.
2016-08-19 13:40:56 -04:00
Chris Jerdonek
f6cd669ff2
Fixed #22414 -- Ensured that LiveServerTestCase closes connections.
2016-08-19 12:47:41 -04:00
Vincent Zhang
7b08e01c13
Refs #26747 -- Corrected a method name in tutorial05.
2016-08-19 11:10:28 -04:00
Tim Graham
98385ac73b
Fixed #27091 -- Added .tox to flake8 exclude.
2016-08-19 09:30:25 -04:00
Brightcells
d301c61bcb
Replaced old DateTimeAwareJSONEncoder with DjangoJSONEncoder in docs.
2016-08-19 09:13:53 -04:00
Tim Graham
f8c338ec6a
Refs #25854 -- Completed a RequestContext docs example.
2016-08-18 21:11:27 -04:00
Tim Graham
518eaf1fa2
Fixed #26807 -- Documented how to replicate SubfieldBase's assignment behavior.
2016-08-18 20:59:40 -04:00
Jon Dufresne
f5c6d3c8d9
Fixed #27068 -- Unified form field initial data retrieval.
2016-08-18 17:55:47 -07:00
Tim Graham
13857b45ca
Removed unused 'password' parameter in auth_tests.
2016-08-18 19:01:28 -04:00
Ian Foote
39f35d4b9d
Fixed #25871 -- Added expressions support to QuerySet.values().
2016-08-18 16:05:15 -04:00
Loïc Bistuer
d4eefc7e2a
Fixed #27073 -- 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 #27054 -- Fixed makemigrations crash with a read-only database.
2016-08-18 08:27:40 -04:00
Chris Lamb
97513269d7
Refs #26983 -- Added test for isnull lookup to CharField with primary_key=True.
2016-08-17 21:08:15 -04:00
Chris Jerdonek
3d0a3c5fff
Fixed #27077 -- Made SQLite's in-memory database checks DRYer.
2016-08-17 20:34:18 -04:00
Mattias Loverot
35ea6d83c8
Fixed #27069 -- Doc'd which gettext functions may be aliased as _.
2016-08-17 16:34:54 -04:00
Chris Jerdonek
49fcbe73c5
Fixed #27078 -- Simplified "if" logic in SQLite's _get_test_db_name().
2016-08-17 16:20:01 -04:00
Andreas Pelme
e76981b433
Fixed #26840 -- Added test.utils.setup/teardown_databases().
2016-08-17 13:55:04 -04:00
Kevin Christopher Henry
ff445f4c19
Fixed #26616 -- Clarified model usage in AppConfig.ready().
2016-08-17 10:34:51 -04:00