summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2015-07-02Fixed #24908 -- Fixed duplicate readonly field rendering.jpic
ModelAdmin added readonly_fields to exclude, but would not undeclare them if they were overridden.
2015-07-02Fixed #25040 -- Fixed migrations state crash with GenericForeignKeyKai Richard Koenig
2015-07-01Fixed #4960 -- Added "strip" option to CharFieldCurtis
2015-07-01Fixed #20916 -- Added Client.force_login() to bypass authentication.Jon Dufresne
2015-07-01Fixed #21695 -- Added asvar option to blocktrans.Matthew Somerville
Thanks Bojan Mihelac for the initial patch.
2015-06-30Fixed #18247 -- Added cast to NUMERIC for Decimals on sqliteMichael Tänzer
On sqlite the SUM() of a decimal column doesn't have a NUMERIC type so when comparing it to a string literal (which a Decimal gets converted to in Django) it is not compared as expected.
2015-06-30Fixed #23658 -- Provided the password to PostgreSQL dbshell commandJean-Michel Vourgère
The password from settings.py is written in a temporary .pgpass file file whose name is given to psql using the PGPASSFILE environment variable.
2015-07-01Removed datetime_cast_sql, which is never overridden or used anywhere in Django.Shai Berger
Thanks Tim Graham for review.
2015-06-30Refs #23621 -- Fixed warning message when reloading models.Marten Kenbeek
2015-06-30Fixed #21803 -- Added support for post-commit callbacksAndreas Pelme
Made it possible to register and run callbacks after a database transaction is committed with the `transaction.on_commit()` function. This patch is heavily based on Carl Meyers django-transaction-hooks <https://django-transaction-hooks.readthedocs.org/>. Thanks to Aymeric Augustin, Carl Meyer, and Tim Graham for review and feedback.
2015-06-30Fixed #24911 -- Made BaseManager.get_queryset() allow custom queryset args.Jonas Degrave
2015-06-30Used %r in the TextNode repr to show newlines better.Ned Batchelder
2015-06-29Removed unused condition for the abstract model in ensure_default_manager()Andriy Sokolovskiy
2015-06-29Refs #20203 -- Allowed adding custom default manager to the model stateAndriy Sokolovskiy
If the only manager on the model is the default manager defined by Django (`objects = models.Manager()`), this manager will not be added to the model state. If it is custom, it needs to be passed to the model state.
2015-06-29Removed unnecessary returnAndriy Sokolovskiy
2015-06-29Removed unreachable codeAndriy Sokolovskiy
2015-06-29Fixed #25018 -- Changed simple_tag to apply conditional_escape() to its output.Luke Plant
This is a security hardening fix to help prevent XSS (and incorrect HTML) for the common use case of simple_tag. Thanks to Tim Graham for the review.
2015-06-29Fixed #23791 -- Corrected object type check for pk__in=qsAnssi Kääriäinen
When the pk was a relation field, qs.filter(pk__in=qs) didn't work. In addition, fixed Restaurant.objects.filter(place=restaurant_instance), where place is an OneToOneField and the primary key of Restaurant. A big thank you to Josh for review and to Tim for review and cosmetic edits. Thanks to Beauhurst for commissioning the work on this ticket.
2015-06-28Used field.clone() where applicableMarkus Holtermann
2015-06-27Fixed #22463 -- Added code style guide and JavaScript linting (EditorConfig ↵Trey Hunner
and ESLint)
2015-06-27Sorted imports in __init__.py files.Tim Graham
2015-06-27Fixed #24887 -- Removed one-arg limit from models.aggregateGreg Chapple
2015-06-27Fixed #25031 -- Fixed a regression in the unordered_list template filter.Noam
2015-06-27Fixed #25017 -- Allowed customizing the DISALLOWED_USER_AGENTS responsesujayskumar
2015-06-26Fixed #24958 -- Fixed inline forms using UUID-PK parents with auto-PK children.Jason Hoos
2015-06-26Fixed #25016 -- Reallowed non-ASCII values for ForeignKey.related_name on ↵薛丞宏
Python 3.
2015-06-26Loaded real destructor functions before garbage timeClaude Paroz
This is an alternative patch to the unsuccessful b43b27bcd.
2015-06-25Revert "Reverted lazy initialization of GIS destroy functions"Claude Paroz
This reverts commit b43b27bcdf84e816b886d4daf83131949708cecb. This commit broke tests initialization on systems without GIS libraries.
2015-06-25Reverted lazy initialization of GIS destroy functionsClaude Paroz
Partial revert of 61d09e61. At __del__ time, it might be to late to bind those functions.
2015-06-24Refs #25002 -- Supported textual to temporal column alteration on Oracle.Simon Charette
Thanks to Tim Graham for the report and Shai Berger for the review.
2015-06-24Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham
Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more.
2015-06-24Reordered import in JSON serializerClaude Paroz
2015-06-24Fixed #25019 -- Added UUID support in DjangoJSONEncoderLukas Hetzenecker
2015-06-24Refs #24840 -- Added GDALRaster Warp and transform methodsDaniel Wiesmann
Thanks to Tim Graham for the review.
2015-06-23Fixed #25011, Refs #23804 -- Added check for GDAL on RasterField initializationDaniel Wiesmann
2015-06-23Fixed #25000 -- Fixed cast to string for lazy objects.Marten Kenbeek
Implemented __str__() to return the string-representation of the proxied object, not the proxy itself, if the lazy object didn't have a string-like object in its resultclasses.
2015-06-22Fixed #25009 -- Allowed User.objects.create_user(...,is_staff=True) to work.Francisco Albarran
2015-06-22Fixed #25002 -- Used PostgreSQL column type alteration USING clause.Simon Charette
Thanks to Dirk Uys for the report.
2015-06-22Refs #25006 -- Added a '6 p.m.' option to the admin's time picker.Tim Graham
2015-06-22Fixed #24970 -- Added --managers and --admins options to the sendtestemail ↵Rolo
management command.
2015-06-20Fixed #14200 -- Added a fallback if HttpRequest.urlconf is None.Marten Kenbeek
Made BaseHandler fall back to settings.ROOT_URLCONF if HttpRequest.urlconf is set to None, rather than raising ImproperlyConfigured.
2015-06-20Changed Oracle's test-database-creation to use an explicit main-db-connectionShai Berger
rather than just relying on manipulation of settings to determine which invocation of connection.cursor() opens a connection to the test database and which opens a connection to the main database. Thanks Aymeric Augustin for motivation and Tim Graham for review.
2015-06-20Added GDAL 2.0 supportClaude Paroz
2015-06-19Fixed #20197 -- Made XML serializer fail loudly when outputting ↵Claude Paroz
unserializable chars Thanks Tim Graham for the review.
2015-06-19Fixed #23804 -- Added RasterField for PostGIS.Daniel Wiesmann
Thanks to Tim Graham and Claude Paroz for the reviews and patches.
2015-06-19Fixed #24940 -- Made model managers hashableMarkus Holtermann
Thanks Federico Jaramillo Martínez for the report and Tim Graham for the test and review.
2015-06-18Fixed #24962 -- Added newline to characters escaped by ↵Tim Graham
contrib.admin.utils.quote() Thanks alito for the report and patch.
2015-06-18Fixed #24873 -- Prevented nested Prefetch objects from being overwritten.Gagaro
2015-06-18Fixed #24834 -- Fixed get_current_site() when Host header contains port.Nick Pope
When the Host header contains a port, looking up the Site record fails as the host will never match the domain.
2015-06-18Removed support for Python 3.3.Tim Graham