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

22089 Commits

Author SHA1 Message Date
Yoong Kang Lim
5453aa66cf Added a missing test method in tests/migrations/test_writer.py. 2016-01-28 10:38:10 -05:00
Idan Gazit
a6d463b096 Idan -> core alumni
I'm always around for a consult or a discussion but I haven't been an active contributor in a long time.

Still <3 everyone in this project and python at large.
2016-01-28 11:25:56 +02:00
Claude Paroz
54236a2c1c Fixed #26138 -- Ensured geometry_field's geometry is always serialized
Thanks Bernd Schlapsi for the report.
2016-01-28 08:50:38 +01:00
Yoong Kang Lim
31817dd2eb Fixed #26136 -- Removed URL reversing by dotted path from JavaScript catalog example. 2016-01-27 08:58:12 -05:00
Tim Graham
8e6a08e937 Refs #26142 -- Documented that Formset's extra=0 doesn't prevent creating objects. 2016-01-26 19:12:01 -05:00
François Freitag
bdbe50a491 Fixed #25546 -- Prevented duplicate queries with nested prefetch_related(). 2016-01-26 07:20:13 -05:00
Ben Kraft
13023ba867 Fixed #26122 -- Fixed copying a LazyObject
Shallow copying of `django.utils.functional.LazyObject` or its subclasses has
been broken in a couple of different ways in the past, most recently due to
35355a4.
2016-01-26 06:56:21 -05:00
Preston Timmons
cfda1fa3f8 Fixed #25848 -- Set template origin on each node.
Prior to 55f12f8709, the template origin was available on each node via
`self.token.source[0]`. This behavior was removed when debug handling was
simplified, but 3rd-party debugging tools still depend on its presence.
This updates the Parser to set origin on individual nodes. This enables the
source template to be determined even when template extending or including is
used.
2016-01-26 06:23:27 -05:00
Simon Charette
477274acb4 Refs #24919 -- Used the documented way of disabling migrations per app. 2016-01-25 21:38:58 -05:00
Simon Charette
4dcaa5871b Fixed #26135 -- Adjusted the migration questioner's handling of disabled apps.
This was causing an issue when calling the `migrate` command in a test case with
the `available_apps` attribute pointing to an application with migrations
disabled using the `MIGRATION_MODULES` setting.

Thanks to Tim Graham for the review.

Refs #24919
2016-01-25 21:38:36 -05:00
Ahmed Mohamed
229488c8a1 Fixed #26109 -- Raised a helpful error if loader.select_tamplate() is passed a string. 2016-01-25 18:37:02 -05:00
Nik Nyby
275d11fbc5 Corrected comment about SelectFilter2's dependencies. 2016-01-25 14:33:59 -05:00
userimack
60586dd737 Fixed #26125 -- Fixed E731 flake warnings. 2016-01-25 14:23:43 -05:00
Chris Lamb
abc0777b63 Fixed #25968 -- Changed project/app templates to use a "py-tpl" suffix.
Debian packages unconditionally byte-compile .py files on installation and
do not silence errors by design. Therefore, we need a way of shipping these
invalid .py files without a .py extension but ensuring that when we
template them, they end up as .py.

We don't special-case .py files so that the all the TemplateCommand
command-line options (eg. extra_files and extensions) still work entirely
as expected and it may even be useful for other formats too.
2016-01-25 12:39:06 -05:00
Tim Graham
9c43d8252a Fixed Sphinx highlight warnings in docs. 2016-01-25 11:57:14 -05:00
jpic
65c13f9675 Refs #25731 -- Removed unused MultipleHiddenInput choices 2016-01-25 10:20:58 -05:00
Tim Graham
5e8685c1b1 Refs #26034 -- Added another case fixed by this ticket to release notes. 2016-01-25 08:35:58 -05:00
Tim Graham
497b5d6fee Refs #26034 -- Added another case fixed by this ticket to release notes.
Thanks Shai Berger for the report.
2016-01-25 08:33:02 -05:00
Tim Graham
b0b45f9a83 Fixed #26132 -- Discouraged use of TransactionTestCase.fixtures. 2016-01-25 06:51:39 -05:00
Tim Graham
2d36c7d515 Added Django version trove classifier to reusable apps tutorial. 2016-01-24 08:35:47 -05:00
Tim Graham
145e9ca301 Updated Python trove classifiers in reusable apps tutorial. 2016-01-23 17:40:41 -05:00
Simon Charette
729e0b086d Fixed #24109 -- Allowed RunSQL and RunPython operations to be elided.
Thanks to Markus Holtermann and Tim Graham for their review.
2016-01-23 14:19:03 -05:00
Simon Charette
49f4c9f4c6 Fixed #26064 -- Moved operation reduction logic to their own class.
Thanks to Markus Holtermann and Tim Graham for their review.
2016-01-23 14:19:02 -05:00
Tim Graham
6b258befc2 Refs #26104 -- Replaced unnecessary force_str() with force_text(). 2016-01-23 13:40:18 -05:00
Mingun Pak
4c912d184d Fixed typos in test comments. 2016-01-23 12:45:25 -05:00
Marten Kenbeek
beb9112a79 Removed unnecessary imports. 2016-01-23 15:11:05 +01:00
Alexander Rudakov
002a4f72c4 Fixed #25989 -- Corrected sitemap's Last-Modified header to use the latest lastmod of all sitemaps.
Previously, the lastmod of the last sitemap was always used.
All sitemaps are required to have a lastmod.
2016-01-23 08:48:31 -05:00
Claude Paroz
104eddbdf6 Fixed #26093 -- Allowed escape sequences extraction by gettext on Python 3
Thanks Sylvain Fankhauser for the report and Tim Graham for the review.
2016-01-23 14:00:55 +01:00
Yoong Kang Lim
7037dc5724 Removed unnecessary import in django/urls/base.py. 2016-01-23 07:33:59 -05:00
Tim Graham
817b75c54d Added 'Sitarska' to spelling_wordlist. 2016-01-23 07:12:27 -05:00
seungkwon
5925e20c37 Fixed typo in django/db/backends/sqlite3/operations.py. 2016-01-23 07:05:47 -05:00
Ola Sendecka
e72a495031 After almost a year I am finally adding myself :)! 2016-01-23 11:43:39 +00:00
Vincenzo Pandolfo
0490d72f2a Fixed #24116 -- Moved AdminSite.check_dependencies() to system checks. 2016-01-22 18:29:56 -05:00
Alexander Gaevsky
956cde8004 Fixed #26104 -- Fixed TypeError when passing number to forms.DurationField. 2016-01-22 16:24:49 -05:00
Jan Pieter Waagmeester
95648eb5c1 Lowercased "actions" of "Recent actions" and "My actions" in admin index sidebar. 2016-01-22 15:43:03 -05:00
Preston Timmons
c00ae7f58c Fixed #26118 -- Added 'is' operator to if template tag. 2016-01-22 15:35:28 -05:00
Daniel Wiesmann
a08d2463d2 Fixed #26112 -- Error when computing aggregate of GIS areas.
Thanks Simon Charette and Claude Paroz for the reviews.
2016-01-22 19:38:34 +01:00
Joshua Phillips
16baec5c8a Fixed #25910 -- Rejected read-only property names in model constructors. 2016-01-22 13:27:11 -05:00
Tim Graham
4dc74371e3 Removed unused attributes of MySQL SchemaEditor. 2016-01-22 12:46:27 -05:00
Tim Graham
b49cc86643 Fixed #26116 -- Corrected schema's test_alter_implicit_id_to_explicit.
AUTOINCREMENT is dropped converting an AutoField to IntegerField
which isn't the point of this test. MySQL would warn or error about
this.
2016-01-22 12:46:27 -05:00
Elif T. Kus
bca9faae95 Fixed #26020 -- Normalized header stylings in docs. 2016-01-22 12:12:17 -05:00
Tim Graham
79d0a4fdb0 Fixed #26121 -- Updated MySQL storage engine example.
default_storage_engine was introduced in MySQL 5.5.3.
storage_engine was removed in MySQL 5.7.5.
2016-01-22 08:19:00 -05:00
Luke Plant
77974a684a Changed action="." to action="" in tests and docs.
`action="."` strips query parameters from the URL which is not usually what
you want. Copy-paste coding of these examples could lead to difficult to
track down bugs or even data loss if the query parameter was meant to alter
the scope of a form's POST request.
2016-01-21 13:59:15 -05:00
Alexander Gaevsky
9a33d3d764 Fixed #26060 -- Fixed crash with reverse OneToOneField in ModelAdmin.readonly_fields. 2016-01-21 13:21:28 -05:00
Tim Graham
fb4272f0e6 Refs #26092 -- Added @skipUnlessDBFeature to a test. 2016-01-21 08:05:55 -05:00
Aymeric Augustin
f91b5a7e4b Fixed #26063 -- Crash when passing > 2000 params.
If SQLITE_MAX_VARIABLE_NUMBER (default = 999) is changed at compile time
to be greater than SQLITE_MAX_COLUMN (default = 2000), which Debian does
by setting the former to 250000, Django raised an exception on queries
containing more than 2000 parameters when DEBUG = True.
2016-01-21 10:47:15 +01:00
Anssi Kääriäinen
ee596888e1 Fixed #26092 -- Fixed QuerySet.order_by() regression with an M2M through model. 2016-01-20 19:13:05 -05:00
chemary
2d28144c95 Fixed #26094 -- Fixed CSRF behind a proxy (settings.USE_X_FORWARDED_PORT=True). 2016-01-20 18:19:24 -05:00
Petter Reinholdtsen
a1fba4e843 Corrected English name of nb language. 2016-01-20 17:27:58 -05:00
Tim Graham
073dd4ce79 Refs #26096 -- Forwardported 1.9.2 release note. 2016-01-19 07:35:48 -05:00