Claude Paroz
140c235026
Fixed #26750 -- Fixed introspection for geography point field with dim=3
...
Thanks Yegor Kazantsev for the report and the initial patch.
2016-06-21 15:22:21 +02:00
Samir Shah
fff5dbe59c
Corrected firstof template tag's docstring.
...
Since Django 1.8, firstof escapes its output.
2016-06-21 08:12:07 -04:00
Tim Graham
4e400dcb79
Refs #22384 -- Readded RegexURLResolver.reverse().
...
It was removed in 785cc71d5b
only because
it was untested and unused in Django itself, however, some third-party
apps use it.
2016-06-20 14:22:27 -04:00
Loïc Bistuer
2eb7cb2fff
Fixed #26643 -- Prevented unnecessary AlterModelManagers operations caused by the manager inheritance refactor.
...
This also makes migrations respect the base_manager_name and
default_manager_name model options.
Thanks Anthony King and Matthew Schinckel for the initial patches.
2016-06-20 12:55:57 -04:00
Tobias McNulty
17e661641d
Refs #26666 -- Added ALLOWED_HOSTS validation when running tests.
...
Also used ALLOWED_HOSTS to check for external hosts in assertRedirects().
2016-06-20 11:07:46 -04:00
Tim Graham
9bf8d50a67
Fixed #26778 -- Fixed ModelSignal.connect() weak argument.
2016-06-18 20:45:38 -04:00
Claude Paroz
8ba44ecda0
Fixed #26775 -- Supported dim=3 geography fields
...
Thanks François-Xavier Thomas for the report.
2016-06-18 21:48:32 +02:00
Tim Graham
cd217de610
Reverted "Fixed #26644 -- Allowed wrapping NamedTemporaryFile with File."
...
This reverts commit 1b407050dd
as it
introduces a regression in the test for refs #26772 .
2016-06-18 11:06:56 -04:00
Markus Holtermann
625b8e9295
Fixed #24931 -- Made namespaced RegexURLResolvers populate callback strings.
...
Fixed a regression in 2f16ff5a6c
.
Thanks Tim Graham for the review.
2016-06-18 10:39:32 -04:00
Tim Graham
26d0023ccc
Refs #15667 -- Fixed crash when indexing RadioFieldRenderer with ModelChoiceIterator.
...
Regression in 86573861a9
2016-06-18 10:33:37 -04:00
Claude Paroz
f7a363ee1d
Fixed #26753 -- Made GDAL a required dependency for contrib.gis
...
Thanks Tim Graham for the review.
2016-06-18 10:58:02 +02:00
Tim Graham
7def55c3f6
Reverted "Fixed #26398 -- Made FieldFile.open() respect its mode argument."
...
This reverts commit a52a531a8b
due to
regressions described in refs #26772 .
2016-06-17 21:04:02 -04:00
Carl Meyer
7d1b69dbe7
Refs #26601 -- Improved backwards-compatibility of DEP 5 middleware exception handling.
2016-06-17 10:00:39 -07:00
Tim Graham
9c3fbf5423
Used SQL from DB backend in GeomValue.
...
This avoids the deprecated GeomFromText on MySQL (refs #26134 ).
Thanks Claude Paroz for the review.
2016-06-16 19:51:13 -04:00
Tim Graham
ea34426ae7
Fixed flake8 2.6 warnings.
2016-06-16 09:12:50 -04:00
Ville Skyttä
96f97691ad
Fixed broken links in docs and comments.
2016-06-15 21:20:23 -04:00
Hugo Osvaldo Barrera
1b407050dd
Fixed #26644 -- Allowed wrapping NamedTemporaryFile with File.
...
914c72be2a
introduced a regression that
causes saving a NamedTemporaryFile in a FileField to raise a
SuspiciousFileOperation. To remedy this, if a File has an absolute
path as a filename, use only the basename as the filename.
2016-06-14 09:28:08 -04:00
Sergey Fedoseev
cee534228c
Refs #25645 -- Removed SpatiaLite 3.x compatibility in gis.db.models.functions.Translate.
...
Complements 47f22e8286
.
2016-06-13 10:32:07 -04:00
Jon Dufresne
267dc4addd
Fixed #4136 -- Made ModelForm save empty values for nullable CharFields as NULL.
...
Previously, empty values were saved as strings.
2016-06-13 09:14:36 -04:00
Charlie Denton
f2c0eb19e9
Fixed #26748 -- Allowed overriding JSONField's widget with an attribute.
2016-06-13 08:09:54 -04:00
Vytis Banaitis
57eb17b8c7
Fixed #26746 -- Fixed handling of zero priority in Accept-Language header parsing.
2016-06-13 07:58:25 -04:00
Vytis Banaitis
f1b38842af
Fixed #26744 -- Fixed a typo in regex for Accept-Language header parsing.
2016-06-11 21:32:56 -04:00
Sergey Fedoseev
6928ad184e
Fixed #26736 -- Fixed crashes in SpatialReference with non-ASCII characters.
2016-06-11 21:03:22 -04:00
Jon Dufresne
cd88faa628
Removed unnecessary check in TemporaryUploadedFile.
...
If settings.FILE_UPLOAD_TEMP_DIR is the default value of None,
NamedTemporaryFile will work the same as if nothing was passed.
2016-06-11 20:45:11 -04:00
Dmitry Medvinsky
0451dcc2eb
Fixed #26742 -- Fixed action select color in admin changelist.
2016-06-10 11:39:11 -04:00
Berker Peksag
0bce2f102c
Fixed #12810 -- Added a check for clashing ManyToManyField.db_table names.
2016-06-10 10:57:22 -04:00
Oliver Sauder
5d8375fe66
Fixed #4548 -- Added username hint to admin's change_password form.
2016-06-09 12:18:15 -04:00
Michal Petrucha
686a593aaa
Fixed #26648 -- Added a system check for invalid related_query_name's containing underscores.
2016-06-09 11:57:32 -04:00
Michal Petrucha
effb4ed6f5
Replaced a hardcoded LOOKUP_SEP in models/fields/__init__.py
2016-06-09 11:57:00 -04:00
David Sanders
5ec64f96b2
Fixed #26734 -- Made iterator class configurable on ModelChoiceField.
2016-06-09 11:10:26 -04:00
Berker Peksag
ae2a7da86b
Fixed #20468 -- Added loaddata --exclude option.
...
Thanks Alex Morozov for the initial patch.
2016-06-09 10:35:32 -04:00
Sergey Fedoseev
21130ce1a9
Fixed #26718 -- Added system check for existence of the fields specified by ForeignKey.to_field.
2016-06-09 10:19:09 -04:00
krishbharadwaj
f6681393d3
Fixing #26524 -- Made a foreign key id reference in ModelAdmin.list_display display the id.
2016-06-08 17:20:03 -04:00
Thejaswi Puthraya
c8d2120b06
Fixed #26705 -- Fixed plural versions of languages not supported by Django.
2016-06-08 16:17:17 -04:00
Emad Mokhtar
c4980e28e5
Fixed #26290 -- Warned that paginating an unordered QuerySet may result in inconsistent results.
2016-06-08 14:09:24 -04:00
Berker Peksag
724dd2043e
Fixed #26717 -- Added Serializer.stream_class to customize the stream.
2016-06-08 11:08:18 -04:00
Scott Vitale
be729b6120
Fixed #10107 -- Allowed using mark_safe() as a decorator.
...
Thanks ArcTanSusan for the initial patch.
2016-06-07 12:24:03 -04:00
Brett Haydon
5e3f4c2e53
Fixed #26716 -- Made CurrentSiteMiddleware compatible with new-style middleware.
2016-06-07 09:46:22 -04:00
Tim Graham
908c26b079
Fixed typos in db/models/fields/related_descriptors.py
2016-06-07 08:53:05 -04:00
Paulo
1a2a7cc01e
Fixed typo in db/models/fields/related_descriptors.py
2016-06-07 08:50:06 -04:00
Paulo
3e9f769fd1
Refs #15250 -- Added docstring for ForwardOneToOneDescriptor.
2016-06-07 07:22:32 -04:00
Sergey Fedoseev
7fc4c1db62
Fixed #26710 -- Made CreateModel.references_model() take app_label into account.
2016-06-06 11:49:45 -04:00
Simon Charette
b484f167be
Fixed #26712 -- Avoided unnecessary SET TIMEZONE queries on PostgreSQL.
...
A change of the USE_TZ or TIME_ZONE settings doesn't necessarily require a
change to the active connections' timezones.
2016-06-06 11:26:02 -04:00
Pyie Zone
054e74420b
Refs #16501 , #26474 -- Added xregexp.js source file.
2016-06-06 09:25:02 -04:00
wim glenn
5ebebd1159
Fixed #26707 -- Added QueryDict.fromkeys()
2016-06-06 08:54:25 -04:00
Jon Dufresne
a8f957797d
Fixed comment typo in multiparser.py
2016-06-05 16:36:59 -04:00
Chesco Igual
ffd18732f3
Fixed #24781 -- Fixed repr() for lazy objects.
2016-06-04 19:13:00 -04:00
Vytis Banaitis
2f9c4e2b6f
Fixed #19963 -- Added support for date_hierarchy across relations.
2016-06-04 12:14:02 -04:00
Tim Graham
563d534d33
Removed an unused logger in middleware/common.py
2016-06-04 12:01:44 -04:00
Asif Saifuddin Auvi
dc88516e5b
Made style improvements to multipartparser.py
2016-06-04 11:06:25 -04:00