1
0
mirror of https://github.com/django/django.git synced 2024-11-18 15:34:16 +00:00
Commit Graph

21515 Commits

Author SHA1 Message Date
Tim Graham
541aa2434d Removed "how to release Django" steps for 1.4 (no longer supported). 2015-10-19 21:01:28 -04:00
Tim Graham
4a50daf6b3 Fixed #25562 -- Skipped a time dependent admin_filters test on Windows. 2015-10-19 20:26:33 -04:00
Simon Charette
2ee67f0373 Moved an inner function in db.migrations.state to avoid redefinition. 2015-10-19 20:15:13 -04:00
Simon Charette
63f0e2df2a Refs #18012 -- Accounted for reverse proxy relations in migrations.
Thanks to Markus for the suggestion and Tim for the review.
2015-10-19 20:15:13 -04:00
Simon Charette
3db3ab71e9 Fixed #25563 -- Cached deferred models in their proxied model's _meta.apps.
Thanks to Andriy Sokolovskiy for the report and Tim Graham for the review.
2015-10-19 20:11:32 -04:00
Ville Skyttä
aff4b75c34 Fixed #25566 -- Added title to admin's closing popup response page 2015-10-19 20:12:48 +03:00
Claude Paroz
f59a0401e5 Fixed #25567 -- Removed obsolete MEDIA_URL fallback in Media.absolute_path 2015-10-19 15:39:35 +02:00
Ville Skyttä
6ff500127a Fixed #25565 -- Removed action="" from admin forms (invalid in HTML5). 2015-10-19 08:09:34 -04:00
Aymeric Augustin
df0a446fd4 Fixed #25510 -- Allowed runserver to start with incorrect INSTALLED_APPS.
In that case, the content of INSTALLED_APPS will be ignored until it's
fixed and the autoreloader kicks in. I confirmed this behavior manually.
As explained on the ticket it's hard to write a test for this case
2015-10-18 10:34:04 +02:00
Josh Smeaton
6c95b134e9 Fixed #25517 -- Made Concat function idempotent on SQLite. 2015-10-17 15:51:04 -04:00
Yusuke Miyazaki
0922bbf18d Fixed #25346 -- Allowed collectstatic to delete broken symlinks. 2015-10-17 14:13:31 -04:00
Brian Gianforcaro
a3fffdca24 Fixed #25558 -- Fixed nondeterministic test failure on Windows: test_clearsessions_command.
The test session without an expiration date added in refs #22938 wasn't
always deleted on Windows because get_expiry_age() returns zero and the
file backend didn't consider that an expired session.
2015-10-17 10:03:11 -04:00
Simon Charette
c1b6a8a98b Fixed #25560 -- Made empty string related_name invalid.
Thanks to Ali Lotfi for the initial report and patch
and Tim Graham for the review.
2015-10-16 14:22:15 -04:00
Tim Graham
4dcc2a1955 Used SchemaEditor.delete_model() for teardown in schema tests.
Some third-party database backends (MSSQL) have custom
delete_model() requirements that must be executed.

Thanks Michael Manfre for the initial patch and review.
2015-10-16 08:40:57 -07:00
Tim Graham
4cc6f8b764 Forwardported 1.8.6 release note. 2015-10-14 12:22:53 -07:00
Antoine Catton
b971c1cd78 Fixed #25506 -- Allowed filtering over a RawSQL annotation.
Co-Authored-By: Gavin Wahl <gwahl@fusionbox.com>
2015-10-14 11:13:58 -07:00
Tim Graham
c7aff31397 Refs #25535 -- Minor edits to ForeignObject check changes. 2015-10-14 05:21:08 -07:00
Sergey Fedoseev
92c1ae1b0b Fixed quotes in GeoQuerySet aggregates examples. 2015-10-13 23:39:29 -04:00
Tim Graham
f6b9e6bf4f Fixed typo in docs/ref/models/relations.txt. 2015-10-13 04:24:22 -07:00
Antoine Catton
80dac8c33e Fixed #25535 -- Made ForeignObject checks less strict.
Check that the foreign object `from_fields` are a subset of any unique
constraints on the foreign model.
2015-10-12 18:00:59 -04:00
Claude Paroz
533c10998a Added precision about GeoJSON field outputs 2015-10-12 21:48:29 +02:00
Simon Charette
a82e21b0f9 Refs #18012 -- Removed the now unused proxied_children model option.
Thanks to Tim for the review.
2015-10-12 12:14:27 -04:00
Simon Charette
5b980897f2 Refs #18012 -- Made proxy and concrete model reverse fields consistent.
Prior to this change proxy models reverse fields didn't include the
reverse fields pointing to their concrete model.
2015-10-12 12:14:27 -04:00
Simon Charette
211486f3ab Fixed #23076, #25505 -- Fixed deletion of intermediate proxy models.
Thanks to James Murty for his work on an alternate patch.
2015-10-12 12:14:26 -04:00
Simon Charette
8bdfabed65 Refs #18012 -- Removed special casing for proxy models deletion.
This isn't required anymore now that reverse foreign keys
from proxy models are propagated to their concrete model.
2015-10-12 12:14:26 -04:00
Simon Charette
6c9f37ea9e Fixed #18012 -- Propagated reverse foreign keys from proxy to concrete models.
Thanks to Anssi for the review.
2015-10-12 12:14:26 -04:00
Idan Gazit
c8f091f5bc Updated stale links. 2015-10-12 14:24:27 +03:00
Claude Paroz
617b1a21f5 Fixed #25498 -- Documented ST_Distance/ST_Distance_Sphere difference
Thanks Bibhas Debnath for the report and Tim Graham for the review.
2015-10-11 12:24:33 +02:00
Tim Graham
67732a9b18 Fixed #24687 -- Added select_related() validation for nested non-relational fields.
The removed test was added in the original select_related() validation
patch (45d4e43d2d), but there doesn't
seem to be any reason for it.

Thanks Claude Paroz for help and review.
2015-10-10 09:48:50 -04:00
Claude Paroz
5171f56fae Pluralized translatable strings in password_validation.py
Forward port of 86dc4889f from master.
2015-10-10 15:17:21 +02:00
Claude Paroz
8276f6cfa9 Simplified translatable string in admindocs template
Forward port of 60471c960 from stable/1.9.x.
2015-10-10 14:57:58 +02:00
Tim Graham
49320c2b1f Fixed typo in docs/releases/1.10.txt. 2015-10-09 21:09:25 -04:00
Tim Graham
7a5b7e35bf Fixed #22705 -- Fixed QuerySet.bulk_create() on models without any fields on Oracle.
Fixed on other backends by 134ca4d438.

Thanks Mariusz Felisiak for the solution.
2015-10-09 14:16:06 -04:00
Claude Paroz
00db71d452 Refs #25499 -- Fixed expressions in distance lookups on Oracle. 2015-10-09 14:08:42 -04:00
Claude Paroz
f233aa3ff9 Updated translation catalogs
Forward port of f717cb2ab4 from stable/1.9.x.
2015-10-09 18:02:47 +02:00
Claude Paroz
5172bdae57 Updated manage_translations script 2015-10-09 17:40:34 +02:00
Tim Graham
384ddbec1b Fixed #14368 -- Allowed setting a reverse OneToOne relation to None. 2015-10-09 10:20:53 -04:00
Daniel Wiesmann
5d8985005e Fixed #25533 -- Changed datatype mapping for GDALRasters 2015-10-09 15:35:00 +02:00
Claude Paroz
37d06cfc46 Fixed #25499 -- Added the ability to pass an expression in distance lookups
Thanks Bibhas Debnath for the report and Tim Graham for the review.
2015-10-09 15:27:47 +02:00
Tim Graham
4a7b58210d Refs #19722 -- Added a test for querying generic relations of a parent class.
Fixed in c9a96075fa.
2015-10-08 14:47:35 -04:00
Tim Graham
25f287f6b2 Refs #25527 -- Removed redundant doc heading link that leads to a warning when generating PDF. 2015-10-07 19:35:18 -04:00
Baptiste Mispelon
7ce6b10e94 Fixed #25525 -- Added instructions about importing include() in urls.py 2015-10-07 17:02:34 -04:00
Tim Graham
ca43ee9d0f Refs #17917 -- Added a test for pickling annotations on fields with callable defaults.
Fixed in f403653cf1.
2015-10-07 15:08:59 -04:00
Claude Paroz
9a6fc9606c Added some function links in translation docs 2015-10-07 17:25:23 +02:00
Jonas Haag
a76309f007 Added myself to AUTHORS. 2015-10-07 07:47:09 -04:00
Claude Paroz
1e8d48252b Added basic JS tests for OLMapWidget.js
Thanks Trey Hunner for cleaning the initial patch and Tim Graham for
the review.
2015-10-07 08:59:32 +02:00
Mariusz Felisiak
914167abf1 Fixed #25503 -- Fixed system check crash on ForeignKey to abstract model. 2015-10-06 19:22:37 -04:00
Tim Graham
3f766d44c5 Fixed #25515 -- Documented the return value of BaseCommand.handle() 2015-10-06 15:08:15 -04:00
Tim Graham
cb15ceb555 Fixed #25516 -- Documented that parallel test excution doesn't work with pdb. 2015-10-06 13:25:14 -04:00
Tim Graham
e0837f2cb1 Fixed #25508 -- Modified QuerySet.__repr__() to disambiguate it from a list. 2015-10-06 12:38:34 -04:00