summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2017-09-12Used sqlite3.Connection.load_extension() instead of query execution for ↵Sergey Fedoseev
SpatiaLite loading.
2017-09-11Fixed #28570 -- Dropped support for GEOS 3.3.x.Sergey Fedoseev
Removed setting SRID in GEOSGeometry.clone() which was only required in GEOS 3.3.0.
2017-09-11Fixed #28492 -- Defined default output_field of expressions at the class level.Simon Charette
This wasn't possible when settings were accessed during Field initialization time as our test suite setup script was triggering imports of expressions before settings were configured.
2017-09-11Refs #28492 -- Stopped accessing settings at Field.db_tablespace initialization.Simon Charette
Deferring accesses to settings allows database fields to be initialized before settings are loaded.
2017-09-11Fixed #28353 -- Fixed some GIS functions when queryset is evaluated more ↵Sergey Fedoseev
than once. Reverted test for refs #27603 in favor of using FuncTestMixin.
2017-09-11Fixed #28578 -- Renamed DatabaseCreation number arguments to suffix.Jon Dufresne
2017-09-11Fixed #28392 -- Fixed GIS's WKT regex to match large scientific notation ↵Sergey Fedoseev
numbers. Thanks Greg Larmore for report and initial patch.
2017-09-10Removed unnecessary parens in _get_app_label_and_model_name().Mariusz Felisiak
2017-09-09Refs #24928 -- Added introspection support for PostgreSQL RangeFieldClaude Paroz
2017-09-09Refs #24928 -- Added introspection support for PostgreSQL JSONFieldClaude Paroz
Thanks Adam Johnson and Tim Graham for the reviews.
2017-09-09Fixed some comments referring to a nonexistent TestClient class.Luoxzhg
2017-09-09Fixed #25961 -- Removed handling of non-thread safe GEOS functions.Sergey Fedoseev
2017-09-08Fixed deepcopy of AreaField and DistanceField.Sergey Fedoseev
2017-09-08Fixed #28546 -- Fixed translation's to_locale() with langauge subtags.Tim Graham
Thanks Brent Hand for the initial patch.
2017-09-08Removed to_lower parameter for translation's to_locale().Tim Graham
Unused since 2bab9d6d9ea095c4bcaeede2df576708afd46291.
2017-09-08Simplified GEOSFuncFactory.Sergey Fedoseev
2017-09-07Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()."Tim Graham
This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda because try/except performs better.
2017-09-07Removed unneeded __init__() methods.Sergey Fedoseev
2017-09-06Fixed #15648 -- Allowed QuerySet.values_list() to return a namedtuple.Sergey Fedoseev
2017-09-06Fixed #27318 -- Made cache.set_many() return the list of failed keys.Olivier Tabone
2017-09-06Fixed #28032 -- Added Paginator.get_page().Sami J. Lehtinen
Moved boilerplate from docs to a method.
2017-09-06Refs #23919 -- Replaced usage of django.utils.functional.curry() with ↵Sergey Fedoseev
functools.partial()/partialmethod().
2017-09-06Replaced @cached_property with class attributes where possible.Sergey Fedoseev
2017-09-06Removed DatabaseWrapper.psycopg2_version.Sergey Fedoseev
Unused since 3adc5f1ee6618a615db07d4a868b366a15c39f82.
2017-09-06Replaced deque() with list() in prefetch_related_objects(). Sergey Fedoseev
deque() isn't needed since algorithm doesn't require FIFO.
2017-09-06Replaced get_pointer_arr() with usage of GEOM_PTR for simplicity.Sergey Fedoseev
2017-09-05Fixed #11557 -- Added support for a list of fields in Meta.get_latest_by and ↵François Freitag
QuerySet.earliest()/latest().
2017-09-05Fixed #28335 -- Allowed query expressions in Meta.ordering.Dima Kudosh
2017-09-05Removed unneeded __init__() in PostgreSQL DatabaseWrapper.Mads Jensen
2017-09-05Fixed typo in django/db/models/query.py docstring.Boris Burkov
2017-09-05Fixed #28555 -- Made CharField convert whitespace-only values to the ↵Josh Schneier
empty_value when strip is enabled.
2017-09-05Fixed CVE-2017-12794 -- Fixed XSS possibility in traceback section of ↵Tim Graham
technical 500 debug page. This is a security fix.
2017-09-05Refs #28518 -- Improved performance of loading geometries from DB.Sergey Fedoseev
2017-09-05Simplified admin.widgets.url_params_from_lookup_dict().Sergey Fedoseev
2017-09-05Used dict comprehensions in BaseMemcachedCache.get_many() and set_many() for ↵Sergey Fedoseev
better readability.
2017-09-05Removed useless condition from Oracle's NullBooleanField's check constraint.Mariusz Felisiak
NULL cannot be compare with standard operators on Oracle, it works only with IS NULL and IS NOT NULL operators. Therefore 'OR ... IS NULL' condition in NullBooleanField's check constraint is redundant. Nullability is checked in a separate constraint.
2017-09-04Fixed #28126 -- Added GistIndex to contrib.postgres.Mads Jensen
Thanks to Marc Tamlyn for the initial patch.
2017-09-04Improved messages in IndexErrors raised by GDAL objects.Nick Pope
2017-09-04Fixed #28569 -- Corrected get_layer_by_name prototype to skip error checking.Nick Pope
All other get_*_by_name functions have errcheck=False. This makes it return None for an invalid name instead of raising a GDALException.
2017-09-04Fixed #28493 -- Made migrations autodetector find dependencies for model ↵Jeremy Satterfield
renaming.
2017-09-04Fixed #28082 -- Made BaseDateListView pass context from get_dated_items() to ↵Sebastian Sassi
subclasses. Thanks leon-matthews for the report and fix.
2017-09-04Corrected YearComparisonLookup.get_bound() signature.Srinivas Reddy Thatiparthy
2017-09-04Fixed #26344 -- Made EmailMessage include alternatives when the body is ↵Igor Tokarev
empty and it has attachments.
2017-09-03Fixed #28558 -- Simplified code to remove OGRIndexError.Nick Pope
The test is a regression for refs #4740 to show that the original fix of OGRIndexError is no longer needed. This is similar to the removal of GEOSIndexError in 197b1878105504b5ac7e399e1f52a6093c88baa3.
2017-09-03Fixed #28500 -- Fixed crash in FileBasedCache._is_expired() if the cache ↵caleb logan
file is empty.
2017-09-03Fixed #28550 -- Restored contrib.auth's login() and logout() views' respect ↵ZachLiuGIS
of positional arguments. Regression in 78963495d0caadb77eb97ccf319ef0ba3b204fb5. Forwardport of f8e0557b01ebbb11478cfb012c4cafc67f1213c1 from stable/1.11.x
2017-09-03Updated EmpytResultSet import not to use the alias.Mariusz Felisiak
2017-09-02Moved select_sql in SQLCompiler.get_extra_select() to improve performance.Mariusz Felisiak
2017-09-02Simplified index bounds checking in GDAL objects.Nick Pope
2017-09-02Fixed #28559 -- Removed contrib.gis.gdal.OGRException backwards ↵Nick Pope
compatibility alias.