Commit Graph

21996 Commits

Author SHA1 Message Date
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
Johannes Hoppe 20e2b228aa Refs #21221 -- Added test for legacy static usage in form Media.
Before cf546e1, static files in form or widget Media were usually
wrapped with contrib.staticfiles.templatetags.staticfiles.static.
This test ensures compatibility with third-party code that's still
using this pattern.
2016-01-19 06:57:20 -05:00
Tim Graham 33c73d297f Updated Python license for 2016. 2016-01-19 06:43:32 -05:00
auvipy 5c048f95cc Fixed typo in docs/index.txt. 2016-01-18 10:01:23 -05:00
Danilo Bargen 6a4f13de27 Added docs about configuring CSRF support in AngularJS. 2016-01-15 10:14:52 -05:00
Tim Graham 3486311a42 Refs #26048 -- Fixed a flaky selenium test. 2016-01-14 19:35:34 -05:00
Raphael Michel ae9f08882f Fixed an incorrectly used translation string in admin changeform.
This uses a translation string that already exists (used in the
<title> of the same page) and fixes a grammer mistake for German
and possibly other languages.
2016-01-14 19:19:57 -05:00
Tim Graham e519aab43a Fixed #23868 -- Added support for non-unique django-admin-options in docs.
Also documented missing short command line options to fix #24134. This bumps
the minimum sphinx version required to build the docs to 1.3.4.

Thanks Simon Charette for review.
2016-01-14 18:21:33 -05:00
Simon Charette fd1c5bb041 Fixed a typo in the 1.9.2 release notes. 2016-01-14 17:46:48 -05:00
Tim Graham 5b94b17fef Fixed #25999 -- Removed promotion of RemovedInNextVersionWarning to loud by default. 2016-01-14 09:05:43 -05:00
Tim Graham 28acc0d6df Fixed #26078 -- Clarified "old vs. new" in model._meta upgrade guide.
Thanks Thomas Güttler for the suggestion.
2016-01-14 07:24:25 -05:00
Iacopo Spalletti 21bf685f5e Fixed #25697 -- Made default error views error when passed a nonexistent template_name. 2016-01-14 07:05:38 -05:00
Tim Graham 8d5d472c6d Removed unused docs/_ext/applyxrefs.py 2016-01-13 11:49:42 -05:00
Tim Graham 03306a187e Declared Sphinx extensions safe for parallel reading. 2016-01-13 11:33:25 -05:00
Alberto Avila cca151d196 Refs #26071 -- Added test for __in lookup in a Case expression.
Forwardport of 5b3c66d8b6 from stable/1.8.x
2016-01-13 08:56:36 -05:00
Tim Graham d45cfefbad Refs #25769 -- Updated docs to reflect get_version() uses PEP 0440. 2016-01-13 07:06:34 -05:00
Tim Graham a7752780d9 Removed an unncessary docs cross-reference for call_command(). 2016-01-12 18:01:29 -05:00
Tim Graham 555f8e9d5c Made CommandError use the exception directive in docs. 2016-01-12 12:28:55 -05:00
Jarek Glowacki c68ce18712 Corrected a few typos in Signal.send() docstring. 2016-01-12 08:27:02 -05:00
pp b34ff66e5b Added missing period to "etc.". 2016-01-11 18:05:15 -05:00
Tim Graham 99d2469e75 Refs #494 -- Fixed a flaky admin_inlines tests. 2016-01-11 14:16:17 -05:00
Tim Graham 294d0d8815 Fixed #26048 -- Made admin selenium tests use implicitly_wait() 2016-01-11 14:16:17 -05:00
Simon Charette bc7d201bdb Fixed #25858 -- Bound abstract model application relative relationships.
Thanks to Karl Hobley for the report and Markus, Shai, Aymeric for their input
and Tim for the review.
2016-01-11 12:23:23 -05:00
Tim Graham 2ed2db2ea3 Replaced selenium.find_element_by_css_selector where by_id is sufficient. 2016-01-11 09:16:23 -05:00
Varun Sharma 3d6474e1a5 Fixed #25385 -- Allowed importing views.generic.View from views.View. 2016-01-11 08:18:44 -05:00
Flavio Curella 0bc5cd6280 Fixed #25684 -- Made runserver use logging for request/response output.
Thanks andreif for the contributing to the patch.
2016-01-11 07:35:17 -05:00
Curtis Maloney 3792e291e6 Removed use of locals for print formatting in Oracle backend. 2016-01-11 07:13:24 -05:00
pp c8d970a548 Refs #25755 -- Unified a couple more spellings of 'website'. 2016-01-11 06:13:16 -05:00
Claude Paroz 4a03e6f272 Refs #21113 -- Updated test to allow for bad MySQL time resolution 2016-01-10 19:16:49 +01:00
Tim Graham 3541ca1504 Refs #25165 -- Fixed JSON serialization for delete popup in the admin. 2016-01-09 13:35:58 -05:00
bmsleight 8715205c5c Fixed a typo in a modelforms docs example. 2016-01-09 13:00:59 -05:00
anabelensc 4c1fab0f29 Added a missing bracket in a queries docs example. 2016-01-09 12:17:21 -05:00
Matt Robenolt 8048411c97 Fixed a typo in BCryptPasswordHasher docstring
There is no BCryptSHA512PasswordHasher.
2016-01-09 12:14:51 -05:00
Tim Graham c432dd40bd Refs #25995 -- Documented that JSONField doesn't handle sophisticated serialization. 2016-01-08 19:00:56 -05:00
Alexander Gaevsky 5052f79df4 Added a test for adding a UUID pk object using the "Add related" admin popup.
Follow up to refs #25997 but this case wasn't broken.
2016-01-08 18:49:03 -05:00
Thomas Grainger cbaa3ee3ee Refs #25165 -- Removed unnecessary HTML unescaping in admin add/edit popups.
Because we now load data into the page via JSON, we don't need to
unescape it anymore.
2016-01-08 18:24:04 -05:00
Collin Anderson 780bddf75b Fixed #20846 -- Decreased User.username max_length to 150 characters. 2016-01-08 18:06:44 -05:00
Alexander Gaevsky ea7542891a Refs #24980 -- Fixed incorrect timezone handling in admin calendar widget. 2016-01-08 17:21:47 -05:00
Claude Paroz 7b8d2dcd75 Updated contrib.admin translations for new tests 2016-01-08 20:34:59 +01:00
Claude Paroz cf7894be88 Fixed #21113 -- Made LogEntry.change_message language independent
Thanks Tim Graham for the review.
2016-01-08 20:34:59 +01:00
Tim Graham 56aaae58a7 Fixed #26034 -- Fixed incorrect index handling on PostgreSQL on Char/TextField with unique=True and db_index=True.
Thanks Simon Charette for review.
2016-01-08 12:47:05 -05:00
Tim Graham 54d3ba8406 Added a helper function in schema tests. 2016-01-08 12:39:06 -05:00
Alexander Gaevsky ade54ffa34 Refs #25165 -- Fixed JSON serialization for add/edit popup in the admin.
Forwardport of test in o839d71d8562abe0b245024e55ca1d02a45e58fd from stable/1.9.x
(refs #25997).
2016-01-08 12:28:32 -05:00
Tim Graham 822a03b3e4 Refs #25165 -- Fixed failure of admin's "Add another" popup to close.
Thanks Thomas Grainger for the fix.
2016-01-08 11:41:01 -05:00