Aymeric Augustin
54026f1e8d
Renamed value_to_db_xxx to adapt_xxxfield_value.
...
This mirrors convert_xxxfield_value nicely, taking advantage of the
adapter/converter terminology which is commonly used by DB-API modules.
2015-05-17 09:39:34 +02:00
Aymeric Augustin
d9521f66b1
Removed global timezone-aware datetime adapters.
...
Refs #23820 .
Fixed #19738 .
Refs #17755 . In order not to introduce a regression for raw queries,
parameters are passed through the connection.ops.value_to_db_* methods,
depending on their type.
2015-05-17 09:38:48 +02:00
Aymeric Augustin
fe6b5e62b1
Normalized the implementation of get_db_converters.
...
Put the types in the same order and checked for None consistently.
2015-05-17 09:36:27 +02:00
Aymeric Augustin
ec186572e6
Removed global timezone-aware datetime converters.
...
Refs #23820 .
2015-05-17 09:36:23 +02:00
Tim Graham
eda12ceef1
Removed redundant list() calls.
2015-05-16 10:44:07 -04:00
Tim Graham
c2bc1cefdc
Refs #23763 -- Silenced SimpleTestCase.assertRaisesMessage() deprecation warning on Python 3.5.
...
Deprecation warning was introduced in https://bugs.python.org/issue24134
2015-05-16 10:42:12 -04:00
Piotr Jakimiak
70e3e2e08e
Fixed #24774 -- Made contrib.site's Site.domain field unique
2015-05-16 08:43:42 -04:00
Kamran Mackey
4c2197db32
Updated the Python shell example to use generic version numbers.
2015-05-16 08:35:58 -04:00
Claude Paroz
3226050358
Fixed #24791 -- Added fallback when 'postgres' database isn't available
...
Thanks Carl Meyer and Tim Graham for the reviews.
2015-05-15 18:44:20 +02:00
Bo Lopker
2dee853ed4
Fixed #24799 -- Fixed session cookie deletion when using SESSION_COOKIE_DOMAIN
2015-05-15 11:23:41 -04:00
Claude Paroz
ae635cc365
Fixed #24757 -- Recreated MySQL index when needed during combined index removal
...
Thanks Thomas Recouvreux for the report and Tim Graham for the tests and
review.
2015-05-15 17:07:14 +02:00
Tim Graham
0eaef8e527
Added contrib.gis.admin.__all__
2015-05-15 09:41:44 -04:00
I am Clinton
dce004ab72
Minor edits to docs/topics/http/urls.txt
2015-05-14 19:31:30 -04:00
Riccardo Magliocchetti
adf5d75af1
Refs #24553 -- Isolated admin_* tests.
...
This fixes a regression with runtests.py --reverse after
bd53db5eab
We need to avoid leaking model registration in the default AdminSite.
2015-05-14 09:57:13 -04:00
Piotr Jakimiak
4157c502a5
Removed unnecessary arguments in .get method calls
2015-05-13 20:51:18 +02:00
Claude Paroz
f61c4f490d
Fixed #24742 -- Made runserver.check_migrations ignore read-only databases
...
Thanks Luis Del Giudice for the report, and Aymeric Augustin and Markus
Holtermann for the reviews.
2015-05-13 18:30:36 +02:00
Tim Graham
3c8fe5dddf
Fixed #24751 -- Fixed HStoreField isnull lookup.
2015-05-13 10:31:59 -04:00
Tim Graham
81d4ce4a6d
Refs #24743 -- Clarified migrations performance note in 1.8.1 release notes.
2015-05-13 10:11:05 -04:00
Claude Paroz
e60eccd62e
Removed test numbering in gdal tests
2015-05-13 14:13:20 +02:00
Piotr Jakimiak
ca51c55915
Fixed broken link in settings docs
2015-05-13 07:02:01 -04:00
Charles Dee Rice
4f3c444241
Fixed #24789 -- Fixed wrong positional args order in doc example
...
Arguments shown in example code (signal, sender, instance) appeared to
be the incorrect positional arguments for a post_save signal (which
might start as: sender, instance, created), as documented:
https://docs.djangoproject.com/en/1.8/ref/signals/#post-save
2015-05-13 10:14:33 +02:00
Abhaya Agarwal
9de9c24017
Fixed #24105 -- Called Storage.get_valid_name() when upload_to is callable
2015-05-12 20:08:22 -04:00
Abhaya Agarwal
7c7b855106
[1.8.x] Refs #24698 , #24712 -- Forwardported ForeignKey.get_db_prep_value() test and release notes.
...
Fixed in master by b68212f539
.
Forwardport of 290c9d6654
from stable/1.8.x
2015-05-12 19:42:42 -04:00
Andriy Sokolovskiy
f7b2978158
Fixed #24156 -- Fixed inherited related name of ManyToManyField.
...
Fixed situation when parent abstract model declares related_name='+',
and child models had an invalid queryset.
2015-05-12 19:14:55 -04:00
I am Clinton
ec74dba2ab
Light edits to docs/topics/forms/index.txt
2015-05-12 09:16:13 -04:00
Matt Robenolt
0d7a295f28
Allowed runserver sublcasses to easily override the default port.
2015-05-12 08:51:29 -04:00
Claude Paroz
70779d9c1c
Fixed #24733 -- Passed the triggering exception to 40x error handlers
...
Thanks Tim Graham for the review.
2015-05-11 22:02:14 +02:00
Riccardo Magliocchetti
bd53db5eab
Fixed #24553 -- Added the list of available applications to AdminSite.each_context()
2015-05-11 12:07:36 -04:00
Anssi Kääriäinen
adc57632bc
Fixed #24748 -- Fixed incorrect GROUP BY on MySQL in some queries
...
When the query's model had a self-referential foreign key, the
compiler.get_group_by() code incorrectly used the self-referential
foreign key's column (for example parent_id) as GROUP BY clause
when it should have used the model's primary key column (id).
2015-05-11 11:42:27 -04:00
Anssi Kääriäinen
be9d645346
Fixed #24766 -- Added join promotion for Case expressions
2015-05-11 11:16:16 -04:00
Tim Graham
8e86d9d3df
Fixed #24780 -- Removed outdated discussion of signals and custom users.
2015-05-11 09:10:30 -04:00
Matt Robenolt
8a54526592
Removed redundant removal of hyphens in UUIDField.
2015-05-11 07:11:50 -04:00
Tim Graham
3074c5b19e
Fixed typo in settings_tests
2015-05-09 18:23:57 -04:00
Ian Foote
c21b832c12
Fixed typo in docs/topics/testing/tools.txt
2015-05-09 18:03:25 -04:00
Claude Paroz
67c063e6d5
Mocked db.connections in test_runner tests
2015-05-09 17:04:06 +02:00
Tim Graham
b99114f67f
Fixed #24758 -- Corrected Options.get_fields() docstring.
2015-05-08 13:18:48 -04:00
David Krisch
1a62f19707
Fixed #24763 -- Moved DoesNotExist exception to model docs.
2015-05-08 13:05:50 -04:00
Peter Schmidt
681df1aeaf
Fixed #24771 -- Simplified ModelForm._post_clean()
...
This code added in 45e049937d
is no longer necessary to pass the model_formsets_regress tests
as of 5e2c4a4bd1
.
2015-05-08 12:11:10 -04:00
Piotr Jakimiak
4f8cbf08be
Replaced multiple startswith in syndication/views.py
2015-05-08 08:46:20 -04:00
Piotr Jakimiak
34b6b89bd2
Used LogEntry methods to check LogEntry action_flag in __str__
2015-05-07 21:02:47 -04:00
Ian Foote
756a727252
Fixed typo in docs/ref/models/expressions.txt
2015-05-07 20:15:24 -04:00
Tim Graham
a969394cff
Fixed logging regression introduced in bbe28496d3
2015-05-07 20:12:41 -04:00
Michael Blatherwick
3baebf52aa
Fixed typo in 1.8 release notes.
2015-05-07 08:52:06 -04:00
Preston Timmons
d17a035132
Moved engine-related exceptions to django.template.exceptions.
...
With the introduction of multiple template engines these exceptions are no
longer DTL-specific. It makes more sense for them to be moved out of
DTL-related modules.
2015-05-06 17:33:47 -05:00
Preston Timmons
adff499e47
Fixed #24119 , #24120 -- Formalized debug integration for template backends.
2015-05-06 17:33:47 -05:00
Claude Paroz
d1df1fd2bb
Fixed #24207 -- Added 25D-type geometry field support to ogrinspect
...
Thanks Michael Diener for the report and sample data, and Tim Graham
for the review.
2015-05-06 20:31:36 +02:00
wdmgsm
10f7cfeb2d
Fixed #24520 -- Documented Widget.supports_microseconds
2015-05-06 13:31:36 -04:00
Tim Graham
783572abc4
Fixed #24750 -- Updated two contrib.gis comment links
2015-05-06 12:01:56 -04:00
Sławomir Ehlert
64ed8cdc9f
Fixed typos in docs/ref/contrib/gis/geoquerysets.txt
2015-05-06 09:58:42 -04:00
Samuel Paccoud
d084176cc1
Fixed #16609 -- Fixed duplicate admin results when searching nested M2M relations.
...
This was fixed earlier but only when the M2M relation was at the first
level on the object. This commit fixes the issue even when the M2M is
at deeper levels, such as behind a foreign key.
2015-05-06 09:56:12 -04:00