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
wdmgsm
4dcc649341
Fixed #24497 -- Added Widget.supports_microseconds attribute
2015-05-06 07:13:00 -04:00
Pradeek
6123e6134f
Fixed #24708 -- Handled non-string values in GenericIPAddressField.to_python()
2015-05-06 07:03:31 -04:00
Claude Paroz
e7e39d32fd
Made some tests run on non-GIS databases
2015-05-05 20:28:28 +02:00
Edvinas Jurevicius
72f6513eba
Improved formatting of auth model fields.
2015-05-05 12:59:19 -04:00
Dan Watson
fe914341c8
Fixed #24564 -- Moved AbstractBaseUser and BaseUserManager so they can be used without auth in INSTALLED_APPS
2015-05-05 12:03:48 -04:00
Anssi Kääriäinen
7b05d2fdae
Fixed #24752 -- query crash when reusing Case expressions
...
Case expressions weren't copied deep enough (self.cases list was
reused resulting in an error).
2015-05-05 11:38:12 -04:00
Abhaya Agarwal
9096e2b5f7
Fixed #24736 -- Documented the Sitemap.limit attribute
2015-05-05 09:18:21 -04:00
Tim Graham
26c7a294ee
Removed empty sitemaps/models.py file.
2015-05-05 09:00:37 -04:00
Claude Paroz
69125ce904
Extended variable name in handlers/base.py
...
Refs #24733 .
2015-05-05 10:58:27 +02:00
Milan Broum
95058606c8
Allowed using the sqlite3 backend as much as possible without _sqlite3.
...
The inner import was dropped during the reorganizing of the database
backends in commit 28308078f3
.
2015-05-04 12:59:59 -04:00
Tim Graham
17b1f7886c
Used a simpler word that doesn't fail the spelling checker.
2015-05-04 10:55:03 -04:00
Antonio Garcia-Dominguez
5c412dd8a7
Fixes #24727 -- Prevented ClearableFileInput from masking exceptions on Python 2
2015-05-04 09:44:18 -04:00
Aymeric Augustin
81f7651728
Added release notes for previous commit.
2015-05-04 07:42:31 +02:00