When using the template system in standalone mode and if the url template tag is used, ROOT_URLCONF has to be defined. Thanks techtonik for the report.
Implemented this by adding a stealth table_name_filter option for the command.
Resolves Flatpages test issues by: - Creating an example_site fixture - Overriding project SITE_ID setting to 1 - Normalizing the use of the hardcoded (1) site_id to settings.SITE_ID
…code. When generating error message in to_python, any unicode string containing non-ascii characters triggered a UnicodeEncodeError for most field types.
gzip.GzipFile does not support files with mode set to None.
… badly formatted.
Moved sys.exit(1) so as failing management commands reach it only when running from command line.
On MySQL when checking the server version, a new connection could be created but never closed. This could result in open connections on server startup.
Generic cleanup and dead code removal in deferred model field loading and model.__reduce__(). Also fixed an issue where if an inherited model with a parent field chain parent_ptr_id -> id would be deferred loaded, then accessing the id field caused caused a database query, even if the id field's value is already loaded in the parent_ptr_id field.
This should prevent storing all rows in memory when big sets of data are dumped. See ticket for heroic contributors.
Thanks rmattb for the report and the patch.
It is now possible to set WMS options by overriding wms_options in a subclass of GeoModelAdmin. Thanks slinkp for the report and the initial patch.
The OPTIONS, PUT and DELETE methods no longer apply arbitrary data encoding (in the query string or in the request body).