1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00
Commit Graph

8319 Commits

Author SHA1 Message Date
Anton Samarchyan
05d2c5a66d Fixed #27181 -- Allowed contrib.sites to match domains with trailing ".". 2016-11-29 18:17:10 -05:00
Henry Dang
7cddd8a02e Fixed #27358 -- Added a system check to prevent FileField's upload_to from starting with a slash.
Thanks Frank Bijlsma for the initial patch.
2016-11-29 16:12:24 -05:00
Krzysztof Urbaniak
b8a815e9df Fixed #27402 -- Fixed incorrect LocaleMiddleware redirects with prefix_default_language=False. 2016-11-29 13:06:35 -05:00
Andrew Nester
ade52ef71f Fixed #27544 -- Fixed QuerySet.update(dt=F('dt') + timedelta) crash on SQLite. 2016-11-29 12:23:44 -05:00
Sergey Fedoseev
fb3716b156 Enabled GeoQuerySetTest.test_unionagg on Oracle; refs #23504.
It's not clear when it started to work.
2016-11-29 09:06:17 -05:00
Mads Jensen
aa2cb4c622 Refs #26327 -- Renamed JsonAgg to JSONBAgg.
Thanks to Christian von Roques for the report.
2016-11-28 06:57:01 -05:00
Adam Chainz
6252fd6314 Fixed #27532 -- Deprecated Model._meta.has_auto_field 2016-11-25 13:24:11 -05:00
Mariusz Felisiak
d391b3a85b Refs #16682 -- Replaced signal number with equivalent signal.SIGINT. 2016-11-25 07:07:57 -05:00
Kosei Kitahara
f095b249ba Fixed #27517 -- Fixed charset param in SimpleTemplateResponse.__init__(). 2016-11-24 05:56:39 -05:00
Tim Graham
93a081946d Normalized casing of "custom user model". 2016-11-23 15:14:28 -05:00
Adam Chainz
e044026dce Fixed #27499 -- Made Prefetches pickle without evaluating their QuerySet. 2016-11-23 11:23:14 -05:00
Adam Chainz
7dd315a46f Added more tests for pickling Prefetches with QuerySets. 2016-11-23 11:18:34 -05:00
Mariusz Felisiak
b63d0c54b0 Fixed #24959 -- Fixed queries using negative timedeltas on MySQL and Oracle. 2016-11-23 09:10:47 -05:00
Mark Young
2742901ac2 Fixed #27504 -- Allowed using the ORM after an error and rollback when autocommit is off. 2016-11-23 08:42:19 -05:00
Jackie Leng
50613d957a Fixed #26920 -- Made GEOSGeometry equality check consider the srid 2016-11-23 09:23:06 +01:00
Adam Chainz
10d49b96e6 Added tests for contrib.sitemaps.ping_google(). 2016-11-22 18:27:19 -05:00
Diego Martín
abd434059e Fixed #27250 -- Removed 'for ="..."' from CheckboxSelectMultiple's <label>. 2016-11-22 11:48:37 -05:00
Quentin Fulsher
f62abfc03d Fixed #27295 -- Added a system check to prohibit model names that start or end with an underscore or contain double underscores. 2016-11-22 10:14:10 -05:00
Tim Graham
41759c9082 Refs #27394 -- Removed @expectedFailure from a floatformat test. 2016-11-22 09:47:12 -05:00
Adam Chainz
c70ffeeb8b Completed django.dispatch test coverage. 2016-11-22 09:07:42 -05:00
Florian Apolloner
51eaff6d35 Refs #17209 -- Fixed token verification for PasswordResetConfirmView POST requests. 2016-11-21 13:42:25 -05:00
Adam Chainz
19e2114634 Fixed #27516 -- Made test client's response.json() cache the parsed JSON. 2016-11-21 08:14:03 -05:00
Adam Chainz
9d4246419c Refs #26207 -- Removed obsolete comments about deferred model classes. 2016-11-20 18:22:13 -05:00
Adam Chainz
cc1f6f26b6 Fixed #27514 -- Tested Model.__init__ excessive number of fields. 2016-11-20 13:21:59 -05:00
Nicolas Noé
a269018e86 Fixed #27493 -- Fixed test failure with recent GDAL versions 2016-11-19 16:41:18 +01:00
PREMANAND
371adc472a Fixed #27156 -- Made changing HttpRequest.encoding clear GET. 2016-11-17 12:46:42 -05:00
Jonatas CD
b28c6ca763 Fixed #27482 -- Doc'd an example of Case() in QuerySet.filter(). 2016-11-17 12:39:35 -05:00
Joachim Jablon
721f0ca85c Simplified a test after refs #26207. 2016-11-17 10:23:17 -05:00
Tim Graham
0d9ff873d9 Fixed #27467 -- Made UserAttributeSimilarityValidator max_similarity=0/1 work as documented.
Thanks goblinJoel for the report and feedback.
2016-11-16 17:40:37 -05:00
Simon Charette
31a56e30cf Fixed #27407 -- Made Model.delete(keep_parents=True) preserve parent reverse relationships.
Thanks Tim for the review.
2016-11-15 20:16:06 -05:00
Brandon Chinn
eed6150009 Refs #27003 -- Fixed JSONField crash on converted values. 2016-11-15 18:43:55 -05:00
Brandon Chinn
6573274161 Refs #27003 -- Fixed SimpleArrayField crash on converted values. 2016-11-15 18:10:45 -05:00
Adam Chainz
7c6efb3233 Refs #26753 -- Removed obsolete workarounds in GIS tests for lack of GDAL.
Missed in f7a363ee1d.
2016-11-15 11:46:06 -05:00
Mariusz Felisiak
12f7928f5a Fixed #27394 -- Added scientific notation support for big integers in floatformat filter. 2016-11-15 09:07:15 -05:00
Mariusz Felisiak
789a02b31e Used setUpTestData() in ordering tests. 2016-11-15 08:20:22 -05:00
Carl Meyer
6e222dae56 Fixed #27453 -- Avoided unnecessary recompilation of non-translated URL regexes. 2016-11-14 18:58:23 -05:00
Carl Meyer
e454db3eee Added tests for LocaleRegexProvider. 2016-11-14 18:51:02 -05:00
Ramin Farajpour Cami
0a63ef3f61 Fixed #27463 -- Fixed E741 flake8 warnings. 2016-11-14 17:40:28 -05:00
Sergey Fedoseev
c7bfcd2f37 Fixed #27481 -- Made SQLite return annotated boolean values as boolean, not integer.
Thanks Simon Charette for review.
2016-11-14 14:47:20 -05:00
Ramin Farajpour Cami
967be82443 Fixed E305 flake8 warnings. 2016-11-14 12:30:46 -05:00
Tim Graham
6072de727f Decorated a few functions. 2016-11-14 12:20:44 -05:00
Christian von Roques
cbae4d3184 Fixed #27448 -- Switched use of functions deprecated in PostGIS 2.2.
Thanks Claude Paroz and Tim Graham for reviews, and
Mjumbe Wawatu Poe for the initial regression test.
2016-11-12 16:18:22 -05:00
Claude Paroz
8c7778884b Dropped support for GDAL 1.7 and 1.8 2016-11-12 17:28:03 +01:00
Jacob Rief
b3162cab94 Fixed #27386 -- Wrapped admin's readonly fields in <div> rather than <p>. 2016-11-12 10:02:57 -05:00
Mads Jensen
a17fe73d2d Removed an unused function argument in db_functions test. 2016-11-11 17:42:34 -05:00
Mads Jensen
1446902be4 Fixed #25240 -- Added ExtractWeek and exposed it through the __week lookup.
Thanks to Mariusz Felisiak and Tim Graham for review.
2016-11-11 08:01:40 -05:00
Daniel Wiesmann
2dc07da497 Fixed #27421 -- Added shape, size, and offset controls to GDALRaster constructor.
Thanks Tim Graham for the review.
2016-11-11 07:09:38 -05:00
Kenneth Veldman
8618a7eaa1 Fixed #27431 -- Prevented disabled form fields from appearing as changed. 2016-11-11 06:57:57 -05:00
Tim Graham
7b05ffd95d Removed a bit of builtin_server tests for Python ≤ 2.7.3. 2016-11-10 22:20:09 -05:00
za
321e94fa41 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 2016-11-10 21:30:21 -05:00