summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2018-05-17[2.1.x] Bumped version for Django 2.1 alpha 1.2.1a1Tim Graham
2018-05-17Updated translation catalogsClaude Paroz
2018-05-16Fixed #8936 -- Added a view permission and a read-only admin.olivierdalang
Co-authored-by: Petr Dlouhy <petr.dlouhy@email.cz> Co-authored-by: Olivier Dalang <olivier.dalang@gmail.com>
2018-05-16Added missing word to render_to_response deprecation warning.Richard Morrison
2018-05-15Fixed #16470 -- Allowed FileResponse to auto-set some Content headers.Claude Paroz
Thanks Simon Charette, Jon Dufresne, and Tim Graham for the reviews.
2018-05-14Fixed #29392 -- Disallowed use of abbreviated forms of --settings and ↵Ryan P Kilby
--pythonpath management command options.
2018-05-14Refs #28834 -- Moved ancestor field cached value fallback to related fields ↵Paulo
descriptor.
2018-05-13Increased the default PBKDF2 iterations for Django 2.1.Tim Graham
2018-05-13Refs #29131 -- Fixed space handling in ArrayField's item_invalid message.Hasan Ramezani
2018-05-13Fixed #29401 -- Updated admin's jQuery to 3.3.1.T N
2018-05-13Fixed #17379 -- Removed management commands deactivation of the locale.Claude Paroz
2018-05-12Moved to_language() to django.utils.translation.Tim Graham
Follow up to 1b7d524cfa7b7834af26c99407af66be6813938d.
2018-05-12Consolidated duplicate to_locale() implementations.Tim Graham
Follow up to ac59ec8f1a34ea0e82bdb3c77422694e8016e0a7.
2018-05-12Aliased trans_null.to_locale() to trans_real.to_locale().Hasan Ramezani
The implementations have unintentionally diverged.
2018-05-10Fixed #27629 -- Added router.allow_relation() calls for assignments between ↵Stefan R. Filipek
unsaved model instances.
2018-05-10Replaced TOKEN_* constants by TokenType enums.Claude Paroz
Thanks Tim Graham for the review.
2018-05-10Upgraded OpenLayers to 4.6.5 for OpenLayersWidgetClaude Paroz
2018-05-10Fixed #21408 — German Translation for “3 days ago”Maximilian Merz
The problem: “3 days ago” should translate to “vor 3 Tagen” in German, while “3 days” translates to “3 Tage”. #21408 describes that django always translated to “Tage”, even when the dative “Tagen” was correct. The same applies to months (“Monate”/“Monaten”) and years (“Jahre”/“Jahren”). The solution: Let `timesince` caller provide the string dict to use for the time-related strings.
2018-05-09Fixed #29363 -- Added SimpleTestCase.assertWarnsMessage().Morgan Aubert
2018-05-09Fixed #29389 -- Made Paginator reject non-integer page numbers of type float.Nicolas Noé
2018-05-09Replaced context by comment in 2 humanize strings.Claude Paroz
2018-05-08Refs #29350 -- Fixed 'invalid escape sequence' warning in SQLite introspection.Tim Graham
2018-05-07Fixed #29370 -- Added choices to LogEntry.action_flag field.Nicolas Noé
2018-05-07Replaced django.test.utils.patch_logger() with assertLogs().Claude Paroz
Thanks Tim Graham for the review.
2018-05-05Fixed #28913 -- Fixed error handling when MIGRATIONS_MODULES specifies a ↵Sanket Saurav
nonexistent top-level package.
2018-05-04Fixed #26688 -- Fixed HTTP request logging inconsistencies.Samir Shah
* Added logging of 500 responses for instantiated responses. * Added logging of all 4xx and 5xx responses.
2018-05-03Refs #29358 -- Corrected wording in primary key check message.Carlton Gibson
2018-05-03Fixed #29358 -- Added a system check to prohibit models with more than one ↵Hasan Ramezani
primary_key field.
2018-05-03Used double quotation marks for csrf form element.CHI Cheng
2018-04-28Refs #28859 -- Fixed "no data found" exception handling with cx_Oracle 6.3+.Mariusz Felisiak
2018-04-28Fixed #29350 -- Fix get_primary_key_column() method in sqlite3 backendZackary Troop
Thanks Tim Graham and Mariusz Felisiak for the reviews.
2018-04-27Fixed #29015 -- Added an exception if the PostgreSQL database name is too long.priyanshsaxena
2018-04-27Fixed #29367 -- Fixed model state on objects with a primary key created with ↵Oscar Esgalha
QuerySet.bulk_create().
2018-04-27Fixed #27480 -- Added cache.touch().Nicolas Noé
2018-04-25Fixed #29353 -- Made StaticFilesHandler return a 404 response when ↵Claude Paroz
settings.DEBUG is False
2018-04-23Fixed #28973 -- Silenced copying/linking messages in collectstatic's default ↵Claude Paroz
verbosity.
2018-04-23Refs #28312 -- Added an optimized __bool__() to ModelChoiceIterator.François Freitag
COUNT is more expensive than EXISTS; use the latter when possible.
2018-04-23Fixed #28312 -- Made ModelChoiceIterator.__len__() more memory-efficient.François Freitag
Instead of loading all QuerySet results in memory, count the number of entries. This adds an extra query when list() or tuple() is called on the choices (because both call __len__() then __iter__()) but uses less memory since the QuerySet results won't be cached. In most cases, the choices will only be iterated on, meaning that __len__() won't be called and only one query will be executed.
2018-04-22Refs #29131 -- Made ArrayField error messages index from 1 instead of 0.Hasan Ramezani
2018-04-21Fixed #29295 -- Fixed management command crash when using subparsers.Hasan Ramezani
Thanks Tim Graham for the fix.
2018-04-20Fixed #29247 -- Allowed blank model field choice to be defined in nested ↵orlnub123
choices.
2018-04-19Ref #23919 -- Replaced some os.path usage with pathlib.Path.Tom
2018-04-19Fixed #28600 -- Added prefetch_related() support to RawQuerySet.Adnan Umer
2018-04-19Fixed #29337 -- Added __len__() & __bool__() to RawQuerySet.Adnan Umer
2018-04-19Fixed #29339 -- Added result caching to RawQuerySet.Adnan Umer
2018-04-19Fixed #28574 -- Added QuerySet.explain().Tom
2018-04-17Fixed #29334 -- Updated pypi.python.org URLs to pypi.org.Brett Cannon
2018-04-17Fixed #29324 -- Made Settings raise ImproperlyConfigured if SECRET_KEY is ↵Jon Dufresne
accessed and not set.
2018-04-17Simplified Oracle's DatabaseOperations.cache_key_culling_sql() with ↵Mariusz Felisiak
LIMIT/OFFSET.
2018-04-16Fixed #29253 -- Made method_decorator(list) copy attributes.Chris Jerdonek