Marc Tamlyn 
							
						 
					 
					
						
						
							
						
						fb1dd6b13a 
					 
					
						
						
							
							Form.clean() does not need to return cleaned_data.  
						
						... 
						
						
						
						If it does, that will be used as the cleaned_data. The default
implementation has been changed to match this change. 
						
						
					 
					
						2013-08-08 14:05:55 +01:00 
						 
				 
			
				
					
						
							
							
								Anssi Kääriäinen 
							
						 
					 
					
						
						
							
						
						c7739e30b2 
					 
					
						
						
							
							Fixed   #17424  -- annotate() + exclude() bug  
						
						... 
						
						
						
						The bug was already fixed by 01b9c3d519 
						
						
					 
					
						2013-08-07 12:53:33 +03:00 
						 
				 
			
				
					
						
							
							
								Collin Anderson 
							
						 
					 
					
						
						
							
						
						d53e574676 
					 
					
						
						
							
							Fixed   #20865  -- Fixed raw_id_fields to work with callable limit_choices_to.  
						
						
						
						
					 
					
						2013-08-06 13:41:52 -04:00 
						 
				 
			
				
					
						
							
							
								Alex Cucu 
							
						 
					 
					
						
						
							
						
						1c64a0f29e 
					 
					
						
						
							
							Fixed   #19918  -- Modified select_for_update to run on the write database.  
						
						
						
						
					 
					
						2013-08-06 09:50:59 -04:00 
						 
				 
			
				
					
						
							
							
								Tai Lee 
							
						 
					 
					
						
						
							
						
						1280675834 
					 
					
						
						
							
							Fixed   #15511  -- Allow optional fields on `MultiValueField subclasses.  
						
						... 
						
						
						
						The `MultiValueField` class gets a new ``require_all_fields`` argument that
defaults to ``True``. If set to ``False``, individual fields can be made
optional, and a new ``incomplete`` validation error will be raised if any
required fields have empty values.
The ``incomplete`` error message can be defined on a `MultiValueField`
subclass or on each individual field. Skip duplicate errors. 
						
						
					 
					
						2013-08-06 08:50:47 -04:00 
						 
				 
			
				
					
						
							
							
								Marc Tamlyn 
							
						 
					 
					
						
						
							
						
						0b771fcf29 
					 
					
						
						
							
							Merge pull request  #1441  from loic/ticket16986  
						
						... 
						
						
						
						Fixed  #16986  -- Model.clean() can report errors on individual fields. 
					
						2013-08-06 02:10:45 -07:00 
						 
				 
			
				
					
						
							
							
								Anssi Kääriäinen 
							
						 
					 
					
						
						
							
						
						263b873599 
					 
					
						
						
							
							Fixed ordering related test failure  
						
						... 
						
						
						
						Also PEP8 + python_2_unicode_compatible cleanup done. 
						
						
					 
					
						2013-08-06 10:07:52 +03:00 
						 
				 
			
				
					
						
							
							
								Loic Bistuer 
							
						 
					 
					
						
						
							
						
						71093d22b6 
					 
					
						
						
							
							Fixed   #16986  -- Model.clean() can report errors on individual fields.  
						
						... 
						
						
						
						This commit provides the tests for this issue but the actual problem was solved
by the ValidationError refactor in f34cfecee77d4b#20199 . 
						
						
					 
					
						2013-08-06 02:26:51 +07:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						04489c7dbf 
					 
					
						
						
							
							Fixed   #17667  -- Prevented app loading from skipping nonexistent apps after the first try  
						
						... 
						
						
						
						Thanks ea2100@ for the report and akaariai for the patch. 
						
						
					 
					
						2013-08-05 13:34:35 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Heap 
							
						 
					 
					
						
						
							
						
						75c87e2d38 
					 
					
						
						
							
							Fixed   #20850  -- Added MultiWidget.needs_multipart_form  
						
						
						
						
					 
					
						2013-08-05 10:02:28 -04:00 
						 
				 
			
				
					
						
							
							
								Julien Phalip 
							
						 
					 
					
						
						
							
						
						f067887a4f 
					 
					
						
						
							
							Fixed some intermittent Selenium test failures.  
						
						
						
						
					 
					
						2013-08-04 22:03:53 -07:00 
						 
				 
			
				
					
						
							
							
								Julien Phalip 
							
						 
					 
					
						
						
							
						
						995ffbb2a6 
					 
					
						
						
							
							Added some Selenium tests for the admin raw id widget.  
						
						
						
						
					 
					
						2013-08-04 16:08:45 -07:00 
						 
				 
			
				
					
						
							
							
								Loic Bistuer 
							
						 
					 
					
						
						
							
						
						ebb3e50243 
					 
					
						
						
							
							Introduced ModelAdmin.get_fields() and refactored get_fieldsets() to use it.  
						
						... 
						
						
						
						Refs #18681 .
This also starts the deprecation of ModelAdmin.declared_fieldsets 
						
						
					 
					
						2013-08-04 09:14:18 -04:00 
						 
				 
			
				
					
						
							
							
								Curtis Maloney 
							
						 
					 
					
						
						
							
						
						07876cf02b 
					 
					
						
						
							
							Deprecated SortedDict (replaced with collections.OrderedDict)  
						
						... 
						
						
						
						Thanks Loic Bistuer for the review. 
						
						
					 
					
						2013-08-04 07:09:39 -04:00 
						 
				 
			
				
					
						
							
							
								Aymeric Augustin 
							
						 
					 
					
						
						
							
						
						784377544e 
					 
					
						
						
							
							Fixed   #20822  -- Set content type of default error pages to 'text/html'.  
						
						... 
						
						
						
						Thanks Jimmy Song for the patch. 
						
						
					 
					
						2013-08-04 11:04:37 +02:00 
						 
				 
			
				
					
						
							
							
								Loic Bistuer 
							
						 
					 
					
						
						
							
						
						0bcdcc7eb9 
					 
					
						
						
							
							Added ModelAdmin.get_search_fields.  
						
						
						
						
					 
					
						2013-08-03 20:02:43 -04:00 
						 
				 
			
				
					
						
							
							
								Petr Dlouhý 
							
						 
					 
					
						
						
							
						
						1b47508ac8 
					 
					
						
						
							
							Fixed LogEntry.get_admin_url() for non-existent models.  
						
						... 
						
						
						
						Regression introduced by [369b6fa#18169 . 
						
						
					 
					
						2013-08-02 12:51:10 -04:00 
						 
				 
			
				
					
						
							
							
								Loic Bistuer 
							
						 
					 
					
						
						
							
						
						a0ed2f9260 
					 
					
						
						
							
							Fixed   #18681  -- GenericInlineModelAdmin.get_formset() no longer bypasses get_fieldsets().  
						
						... 
						
						
						
						Refs 23e1b59 
						
						
					 
					
						2013-08-02 10:41:29 -04:00 
						 
				 
			
				
					
						
							
							
								Aleksandra Sendecka 
							
						 
					 
					
						
						
							
						
						893d8de6f5 
					 
					
						
						
							
							Fixed   #18777  -- Localized form fields with as_text/as_hidden  
						
						... 
						
						
						
						Thanks croldan for the report. 
						
						
					 
					
						2013-08-02 08:41:54 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						aa830009de 
					 
					
						
						
							
							Fixed   #17519  -- Fixed missing SQL constraints to proxy models.  
						
						... 
						
						
						
						Thanks thibaultj for the report, jenh for the patch,
and charettes for the tests. 
						
						
					 
					
						2013-08-02 07:41:56 -04:00 
						 
				 
			
				
					
						
							
							
								Alex Couper 
							
						 
					 
					
						
						
							
						
						1123f45511 
					 
					
						
						
							
							Fixed   #20649  -- Allowed blank field display to be defined in the initial list of choices.  
						
						
						
						
					 
					
						2013-07-31 14:12:03 -04:00 
						 
				 
			
				
					
						
							
							
								Will Hardy 
							
						 
					 
					
						
						
							
						
						1c3c21b38d 
					 
					
						
						
							
							Fixed   #19987  -- Disabled host validation when DEBUG=True.  
						
						... 
						
						
						
						The documentation promises that host validation is disabled when
DEBUG=True, that all hostnames are accepted. Domains not compliant with
RFC 1034/1035 were however being validated, this validation has now been
removed when DEBUG=True.
Additionally, when DEBUG=False a more detailed SuspiciousOperation
exception message is provided when host validation fails because the
hostname is not RFC 1034/1035 compliant. 
						
						
					 
					
						2013-07-31 10:38:59 -04:00 
						 
				 
			
				
					
						
							
							
								Loic Bistuer 
							
						 
					 
					
						
						
							
						
						acd1d439fd 
					 
					
						
						
							
							Fixed   #20826  -- Moved Manager.raw() and Manager._insert() to the QuerySet class.  
						
						
						
						
					 
					
						2013-07-31 09:54:00 -04:00 
						 
				 
			
				
					
						
							
							
								Florian Hahn 
							
						 
					 
					
						
						
							
						
						e888a9b30d 
					 
					
						
						
							
							Fixed   #15624  -- Made sure aggregations are present in SELECT  
						
						
						
						
					 
					
						2013-07-31 16:27:58 +03:00 
						 
				 
			
				
					
						
							
							
								Anssi Kääriäinen 
							
						 
					 
					
						
						
							
						
						e01b5a5823 
					 
					
						
						
							
							Fixed   #11521  -- usage of field.attname in .update()  
						
						... 
						
						
						
						Fixed already by previous patch, only test added. 
						
						
					 
					
						2013-07-31 16:02:36 +03:00 
						 
				 
			
				
					
						
							
							
								Anssi Kääriäinen 
							
						 
					 
					
						
						
							
						
						c21e86ab9e 
					 
					
						
						
							
							Added field.attname to Options.name_map  
						
						... 
						
						
						
						The change also removed allow_explicit_fk from sql/query.py. 
						
						
					 
					
						2013-07-31 16:02:36 +03:00 
						 
				 
			
				
					
						
							
							
								Tai Lee 
							
						 
					 
					
						
						
							
						
						31e6d58d46 
					 
					
						
						
							
							Fixed   #20348  -- Consistently handle Promise objects in model fields.  
						
						... 
						
						
						
						All Promise objects were passed to force_text() deep in ORM query code.
Not only does this make it difficult or impossible for developers to
prevent or alter this behaviour, but it is also wrong for non-text
fields.
This commit changes `Field.get_prep_value()` from a no-op to one that
resolved Promise objects. All subclasses now call super() method first
to ensure that they have a real value to work with. 
						
						
					 
					
						2013-07-31 15:54:17 +03:00 
						 
				 
			
				
					
						
							
							
								SusanTan 
							
						 
					 
					
						
						
							
						
						ccf8f1e18f 
					 
					
						
						
							
							Added a test for AdminSite.app_index_template; refs  #8498 .  
						
						
						
						
					 
					
						2013-07-31 06:59:15 -04:00 
						 
				 
			
				
					
						
							
							
								Tai Lee 
							
						 
					 
					
						
						
							
						
						4c6ffcf721 
					 
					
						
						
							
							Fixed   #20819  -- Return 404 instead of 500 error when `staticfiles` view is used in production.  
						
						
						
						
					 
					
						2013-07-31 18:58:50 +10:00 
						 
				 
			
				
					
						
							
							
								Baptiste Mispelon 
							
						 
					 
					
						
						
							
						
						3c45fb8589 
					 
					
						
						
							
							Fixed   #10491  -- Allowed passing lazy objects to HttpResponseRedirect.  
						
						... 
						
						
						
						Thanks liangent for the report. 
						
						
					 
					
						2013-07-30 13:39:44 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						8550df869b 
					 
					
						
						
							
							Removed part of a test that doesn't work on Jenkins; refs  #19877 .  
						
						
						
						
					 
					
						2013-07-30 11:59:04 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						dffda2ba4e 
					 
					
						
						
							
							Fixed a test that depended on the DB backend; refs  #19877 . Thanks Loic.  
						
						
						
						
					 
					
						2013-07-30 11:30:20 -04:00 
						 
				 
			
				
					
						
							
							
								Jose L. Patino 
							
						 
					 
					
						
						
							
						
						7b57e575c9 
					 
					
						
						
							
							Fixed   #19877  -- Added --no-color option to BaseCommand to avoid using output styles.  
						
						
						
						
					 
					
						2013-07-30 09:26:18 -04:00 
						 
				 
			
				
					
						
							
							
								Andrew Godwin 
							
						 
					 
					
						
						
							
						
						fddc5957c5 
					 
					
						
						
							
							Implement allow_migrate for migration operations  
						
						
						
						
					 
					
						2013-07-30 12:34:31 +01:00 
						 
				 
			
				
					
						
							
							
								Andrew Godwin 
							
						 
					 
					
						
						
							
						
						12e9804d16 
					 
					
						
						
							
							Rename allow_syncdb to allow_migrate  
						
						
						
						
					 
					
						2013-07-30 12:08:59 +01:00 
						 
				 
			
				
					
						
							
							
								Julien Phalip 
							
						 
					 
					
						
						
							
						
						e351dbf6ee 
					 
					
						
						
							
							Fixed   #19082  -- Enabled admin field pre-population for existing objects.  
						
						... 
						
						
						
						Thanks to msaelices and d1ffuz0r for the initial patch and tests. 
						
						
					 
					
						2013-07-30 00:21:08 -07:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						5c1143910e 
					 
					
						
						
							
							Removed most of absolute_import imports  
						
						... 
						
						
						
						Should be unneeded with Python 2.7 and up.
Added some unicode_literals along the way. 
						
						
					 
					
						2013-07-29 20:28:13 +02:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						e4937b6dde 
					 
					
						
						
							
							Add utf-8 preamble to admin_scripts temp settings file  
						
						... 
						
						
						
						As some settings are copied from current user settings, we cannot
be sure the characters are pure ascii. 
						
						
					 
					
						2013-07-29 17:10:23 +02:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						fdd7a355bf 
					 
					
						
						
							
							Deprecated django.utils.importlib  
						
						... 
						
						
						
						This was a shim for pre-Python 2.7 support. 
						
						
					 
					
						2013-07-29 17:10:22 +02:00 
						 
				 
			
				
					
						
							
							
								Justin Michalicek 
							
						 
					 
					
						
						
							
						
						ac09558760 
					 
					
						
						
							
							Fixed   #20817  -- Added html_message parameter to django.core.mail.send_mail()  
						
						
						
						
					 
					
						2013-07-29 09:53:47 -04:00 
						 
				 
			
				
					
						
							
							
								Przemek Lewandowski 
							
						 
					 
					
						
						
							
						
						382c53d7d8 
					 
					
						
						
							
							Fixed   #18213  -- Allowed empty fixtures (emit a warning rather than raising an exception).  
						
						
						
						
					 
					
						2013-07-29 08:03:51 -04:00 
						 
				 
			
				
					
						
							
							
								Florian Apolloner 
							
						 
					 
					
						
						
							
						
						b70c371fc1 
					 
					
						
						
							
							Simplified smart_urlquote and added some basic tests.  
						
						
						
						
					 
					
						2013-07-28 10:05:39 +02:00 
						 
				 
			
				
					
						
							
							
								Julien Phalip 
							
						 
					 
					
						
						
							
						
						4e0ff35146 
					 
					
						
						
							
							Fixed   #11195  -- Added CSS classes to the changelist cells to allow style customizations. Thanks to akaihola, Ramiro Morales and vdboor for their work on the patch.  
						
						
						
						
					 
					
						2013-07-27 19:50:02 -07:00 
						 
				 
			
				
					
						
							
							
								Julien Phalip 
							
						 
					 
					
						
						
							
						
						47c755327b 
					 
					
						
						
							
							Fixed a number of minor misspellings.  
						
						
						
						
					 
					
						2013-07-27 18:46:03 -07:00 
						 
				 
			
				
					
						
							
							
								Florian Hahn 
							
						 
					 
					
						
						
							
						
						ca39c0a6be 
					 
					
						
						
							
							Fixed   #18404  -- Added test for AppStaticStorage with non ascii path  
						
						... 
						
						
						
						(bug was already fixed in #19357 ) 
						
						
					 
					
						2013-07-27 20:18:32 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						8676318d2d 
					 
					
						
						
							
							Fixed   #20805  -- Removed an extra colon beside checkboxes in the admin.  
						
						... 
						
						
						
						Thanks CollinAnderson for the report. 
						
						
					 
					
						2013-07-26 14:45:38 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						2a979d2a7b 
					 
					
						
						
							
							Updated contrib.admin to use Email/URLInputs; refs  #16630  
						
						
						
						
					 
					
						2013-07-26 07:22:30 -04:00 
						 
				 
			
				
					
						
							
							
								Anssi Kääriäinen 
							
						 
					 
					
						
						
							
						
						7cca8d56d2 
					 
					
						
						
							
							Fixed related model lookup regression  
						
						... 
						
						
						
						It has been possible to use models of wrong type in related field
lookups. For example pigs__in=[a_duck] has worked. Changes to
ForeignObject broke that.
It might be a good idea to restrict the model types usable in lookups.
This should be done intentionally, not accidentally and without any
consideration for deprecation path. 
						
						
					 
					
						2013-07-26 13:13:27 +03:00 
						 
				 
			
				
					
						
							
							
								Loic Bistuer 
							
						 
					 
					
						
						
							
						
						31fadc1202 
					 
					
						
						
							
							Fixed   #20625  -- Chainable Manager/QuerySet methods.  
						
						... 
						
						
						
						Additionally this patch solves the orthogonal problem that specialized
`QuerySet` like `ValuesQuerySet` didn't inherit from the current `QuerySet`
type. This wasn't an issue until now because we didn't officially support
custom `QuerySet` but it became necessary with the introduction of this new
feature.
Thanks aaugustin, akaariai, carljm, charettes, mjtamlyn, shaib and timgraham
for the reviews. 
						
						
					 
					
						2013-07-26 12:41:27 +03:00 
						 
				 
			
				
					
						
							
							
								Carl Meyer 
							
						 
					 
					
						
						
							
						
						8f3aefdec3 
					 
					
						
						
							
							Fixed handling of template loader tests.  
						
						... 
						
						
						
						Previously, the CachedLoaderTests were never run at all. 
						
						
					 
					
						2013-07-25 17:19:17 -05:00