1
0
mirror of https://github.com/django/django.git synced 2025-03-23 07:40:44 +00:00

8538 Commits

Author SHA1 Message Date
Claude Paroz
1206d7fa57 Refs -- Reset l10n cache when format settings change
Thanks Jaap Roes for the initial patch.
2016-12-21 17:40:08 +01:00
Preston Timmons
0b4d517263 Fixed -- Fixed display of render time template errors. 2016-12-20 10:36:33 -05:00
Tim Graham
e8d8fb3295 Added a test for NullBooleanField.formfield(). 2016-12-20 07:57:25 -05:00
Tim Graham
c27104a9c7 Fixed -- Doc'd that CSRF_COOKIE_HTTPONLY setting offers no security. 2016-12-19 17:56:58 -05:00
Tim Graham
1a04b1762b Refs -- Made non-staticfiles {% static %} tag quote its output. 2016-12-19 16:18:06 -05:00
Tim Graham
e233f357bd Refs -- Removed incorrect unquoting in {% static %}.
Regression in 374e6230ca9f9bb84cc9dd760dfb6395fbb5ff0f.

Thanks Florian Apolloner for the report and analysis.
2016-12-19 16:18:06 -05:00
Mariusz Felisiak
cc0bb07013 Refs -- Removed DatabaseFeatures.can_introspect_max_length.
Unused (always True) after 3e43d24ad36d45cace57e6a7efd34638577ae744.
2016-12-19 16:16:11 -05:00
Tim Graham
a85e84212e Refs -- Prevented {% static %} tests from using contrib.staticfiles. 2016-12-19 12:37:38 -05:00
Tim Graham
12c1d6fe8f Refs -- Fixed reverse query name clash in test model. 2016-12-19 10:10:48 -05:00
Jerome Leclanche
a849ec1880 Fixed -- Fixed HttpResponseRedirect.__repr__() crash when DisallowedRedirect is raised. 2016-12-19 10:01:03 -05:00
Henry Dang
6af23a4521 Fixed -- Clarified that prepopulated_fields doesn't work with OneToOneField. 2016-12-19 08:33:46 -05:00
Mariusz Felisiak
3e43d24ad3 Refs -- Added CharField max_length introspection on Oracle. 2016-12-19 08:29:42 -05:00
alix-
374e6230ca Fixed -- Made {% static %} render escaped URLs. 2016-12-17 10:03:44 -05:00
Raphael Michel
33e86b3488 Refs -- Disabled CSRF_COOKIE_* checks when using CSRF_USE_SESSIONS. 2016-12-17 09:59:48 -05:00
Sergey Fedoseev
af5983e4f5 Removed unneeded SpatiaLite workarounds in GIS tests. 2016-12-17 08:31:17 -05:00
Sergey Fedoseev
17a9e0cd07 Used assertJSONEqual() in GISFunctionsTests.test_asgeojson(). 2016-12-17 08:23:47 -05:00
Sergey Fedoseev
5d28fef8f9 Made NumPoints raise TypeError on MySQL when it's used on fields besides LineStringField. 2016-12-16 10:34:02 -05:00
Sergey Fedoseev
b01ceae843 Fixed -- Factored out CPointerBase base class for GEOSBase/GDALBase. 2016-12-15 16:59:08 -05:00
Sergey Fedoseev
4884472447 Fixed -- Made get_srid_info() fallback to GDAL if SpatialRefSys is unavailable. 2016-12-15 16:36:18 -05:00
Sergey Fedoseev
986c7d522a Fixed -- Improved support of geodetic coordinates on SpatiaLite.
Area function, Distance function, and distance lookups now work with
geodetic coordinates on SpatiaLite.
2016-12-15 15:31:07 -05:00
Sergey Fedoseev
38a6df555f Fixed -- Added Oracle support for BoundingCircle GIS function. 2016-12-15 14:16:09 -05:00
Sergey Fedoseev
5a23cc00f5 Fixed -- Added Oracle support for AsGML GIS function. 2016-12-15 14:00:08 -05:00
Tim Graham
f94475e526 Refs -- Isolated indexes test on MySQL.
MySQL schema changes must be done in TransactionTestCase.
2016-12-15 13:31:08 -05:00
Sergey Fedoseev
d013134ffb Improved testing of num_seg kwarg of BoundingCircle GIS function. 2016-12-15 12:40:04 -05:00
David Hoffman
bf84d042e0 Fixed -- Allowed HStoreField to store null values. 2016-12-15 10:35:44 -05:00
Tim Graham
412997f8ba Used assertRaisesMessage() in template_backends tests. 2016-12-15 09:32:46 -05:00
Sergey Fedoseev
e36a9d3fd1 Simplified a GIS test by using an SRID available on all backends. 2016-12-15 09:32:12 -05:00
Waldemar Kornewald
b24af2f405 Fixed -- Fixed occasional missing plural forms in JavaScriptCatalog. 2016-12-14 18:20:30 -05:00
Michael Scott
1e629928e9 Fixed -- Allowed overriding admin popup response template. 2016-12-14 18:10:56 -05:00
Morgan Aubert
ef889d5b10 Fixed -- Fixed Field.__str__() crash for fields not attached to models. 2016-12-14 14:04:26 -05:00
Morgan Aubert
adb791fdcb Moved test_field_ordering to the model_fields package. 2016-12-14 13:35:13 -05:00
Tim Graham
92c5eeac33 Fixed -- Allowed specifying directories for a filesystem template loader.
Thanks Carl Meyer for review.
2016-12-14 10:33:51 -05:00
Daniel Hillier
7da37699e8 Fixed -- Fixed select_related() with reverse self-referential OneToOneField.
Fixed definition of `klass_info['from_parent']` so that two models aren't
considered from a parent class if the model classes are the same.
2016-12-14 07:46:27 -05:00
Jon Dufresne
8db6a6c0a1 Refs -- Fixed unclosed file ResourceWarning in test_client test. 2016-12-12 12:41:38 -05:00
Simon Charette
ecd625e830 Fixed -- Stopped rendering apps in RenameModel.state_forwards.
Thanks Tim for the review.
2016-12-10 10:19:06 -05:00
Mariusz Felisiak
8e3a72f4fb Fixed -- Fixed MultiValueDict.getlist() crash when values for key is None.
Restored the behavior before 727d7ce6cba21363470aaefb2dc5353017531be3.
2016-12-09 15:31:52 -05:00
Tim Graham
e744c7e459 Imported specific models in a few tests that didn't. 2016-12-08 11:14:15 -05:00
Sergey Fedoseev
9b79281e31 Fixed -- Fixed GEOSGeometry('POINT EMPTY').transform crash. 2016-12-08 10:24:05 -05:00
Sergey Fedoseev
a413ef2155 Refs -- Fixed OGRGeometry('POINT EMPTY').geos crash. 2016-12-08 10:24:05 -05:00
Sergey Fedoseev
65a1f32319 Refs -- Fixed GEOSGeometry('POINT EMPTY').ogr crash. 2016-12-08 10:24:05 -05:00
Yohann Gabory
47ef8f31f3 Fixed -- Allowed specifying the order of null fields in queries.
Thanks Mariusz Felisiak for finishing the patch.
2016-12-08 09:54:07 -05:00
InvalidInterrupt
98359109eb Fixed -- Allowed using a ManyToManyField through model that inherits another. 2016-12-07 17:50:51 -05:00
Tim Graham
b5f0b3478d Fixed -- Added aliases for Python 3's assertion names in SimpleTestCase. 2016-12-07 17:42:31 -05:00
Sergey Fedoseev
f909fa84be Fixed -- Fixed annotations with geometry values. 2016-12-07 14:16:29 -05:00
Vinay Karanam
4a246a02bd Refs -- Made MultiPartParser leave request.POST immutable. 2016-12-07 08:28:46 -05:00
Sergey Fedoseev
183f501540 Fixed -- Fixed handling of empty geometries in BaseSpatialField.get_db_prep_save(). 2016-12-06 13:58:22 -05:00
Sergey Fedoseev
b90d72facf Refs -- Fixed output of WKBWriter for empty points and polygons. 2016-12-06 13:58:22 -05:00
Hiroki Kiyohara
181f492ad0 Fixed -- Prevented ModelFormSet from creating objects for invalid PKs in data. 2016-12-06 13:06:58 -05:00
Andreas Pelme
373140b07a Fixed -- Fixed crash in the debug view when request.user errors. 2016-12-06 12:28:00 -05:00
nmhung89
8f76673f34 Fixed -- Made admin changelist not use distinct() if a list_filter doesn't require it. 2016-12-06 10:38:38 -05:00