summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2013-10-15Merge pull request #1744 from unaizalakain/ticket_7261Alex Gaynor
Fixed #7261 -- support for __html__ for library interoperability
2013-10-15Made sqlite introspection also show views like other backendsClaude Paroz
Refs #6730.
2013-10-15Fixed #16855 -- select_related() chains as expected.Marc Tamlyn
select_related('foo').select_related('bar') is now equivalent to select_related('foo', 'bar'). Also reworded docs to recommend select_related(*fields) over select_related()
2013-10-15Moved misplaced import in backends initClaude Paroz
2013-10-15Updated admin alert colorsRyan Allen
refs #21220.
2013-10-15Fixed #21263 -- Fixed issue with override_settings in inherited classesClaude Paroz
When both parent and child classes are decorated with override_settings, child class settings should take precedence. Thanks Sephi for the report and Marc Tamlyn for the review.
2013-10-15Fixed #7603 -- Added a 'scheme' property to the HttpRequest objectUnai Zalakain
`HttpRequest.scheme` is `https` if `settings.SECURE_PROXY_SSL_HEADER` is appropriately set and falls back to `HttpRequest._get_scheme()` (a hook for subclasses to implement) otherwise. `WSGIRequest._get_scheme()` makes use of the `wsgi.url_scheme` WSGI environ variable to determine the request scheme. `HttpRequest.is_secure()` simply checks if `HttpRequest.scheme` is `https`. This provides a way to check the current scheme in templates, for example. It also allows us to deal with other schemes. Thanks nslater for the suggestion.
2013-10-15Merge pull request #1382 from loic/ticket19617Marc Tamlyn
Fixed #19617 -- Refactored form metaclasses to support more inheritance scenarios.
2013-10-15Handle Apps with South migrations as unmigrated apps.Florian Apolloner
2013-10-14Fixed a webdesign template tag docstring to prevent parsing as metadata.Tim Graham
Previously admindocs would throw an error when processing it: "Error in "default-role" directive: no content permitted." refs #6681
2013-10-15Fixed #7261 -- support for __html__ for library interoperabilityUnai Zalakain
The idea is that if an object implements __html__ which returns a string this is used as HTML representation (eg: on escaping). If the object is a str or unicode subclass and returns itself the object is a safe string type. This is an updated patch based on jbalogh and ivank patches.
2013-10-14Fixed #21266 -- Fixed E201,E202 pep8 warnings.Larry O'Neill
2013-10-14Fixed #21269 -- Don't crash when CommandError contains non-asciiClaude Paroz
Thanks kontakt@eikefoken.de for the report.
2013-10-14Fixed #8620 -- Updated the Form metaclass to support excluding fields by ↵Loic Bistuer
shadowing them.
2013-10-14Fixed #19617 -- Refactored Form metaclasses to support more inheritance ↵Loic Bistuer
scenarios. Thanks apollo13, funkybob and mjtamlyn for the reviews.
2013-10-14Merge pull request #1733 from joaoxsouls/#18866Marc Tamlyn
Fixed #18866 -- added validation error for verbose_name longer than 39 characters
2013-10-14Fixed #18866 -- added validation error for verbose_name longer than 39 ↵joaoxsouls
characters Added a validation error check when creating the permissions for model, to avoid cryptic database error when the verbose_name is longer than 39 characters thanks elena for reporting it
2013-10-14Fixed #15888 -- Made tablename argument of createcachetable optionalClaude Paroz
Thanks Aymeric Augustin for the report and the documentation and Tim Graham for the review.
2013-10-14Imported custom user classes in tests depending on itClaude Paroz
Without those imports, affected test files cannot be run independently. Refs #21164.
2013-10-13Fixed #21256 -- Error in datetime_safe.datetime.combine.Aymeric Augustin
2013-10-13Fixed #21198 -- Prevented invalid use of @python_2_unicode_compatible.Aymeric Augustin
Thanks jpic for the report and chmodas for working on a patch. Reverts 2ea80b94. Refs #19362.
2013-10-13Fixed #19560 -- Identified field in warning for naive datetime.Aymeric Augustin
Thanks gcc for the report and vajrasky for the patch.
2013-10-12Fixed #21173 -- Stopped fixing format for date-based widgets at init timeClaude Paroz
Thanks Marc Tamlyn for the review.
2013-10-12Updated OpenLayers version from 2.11 to 2.13Claude Paroz
2013-10-11Fixed #13252 -- Added ability to serialize with natural primary keys.Tai Lee
Added ``--natural-foreign`` and ``--natural-primary`` options and deprecated the ``--natural`` option to the ``dumpdata`` management command. Added ``use_natural_foreign_keys`` and ``use_natural_primary_keys`` arguments and deprecated the ``use_natural_keys`` argument to ``django.core.serializers.Serializer.serialize()``. Thanks SmileyChris for the suggestion.
2013-10-11Fixed #8918 -- Made FileField.upload_to optional.Tim Graham
Thanks leahculver for the suggestion and dc and vajrasky for work on the patch.
2013-10-11Fixed assorted flake8 errors.Tim Graham
2013-10-10Sanitized test assertions in gdal testsClaude Paroz
2013-10-10Whitespace cleanup.Tim Graham
* Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs.
2013-10-10Fixed "redefinition of unused 'foo' from line X" pyflakes warnings.Tim Graham
2013-10-10Used "is" for comparisons with None.Tim Graham
2013-10-10Removed unnecessary semicolons.Tim Graham
2013-10-09Fixed #19924 -- Fixed selectors in actions.js that did not use options.crccheck
2013-10-09Fixed regression introduced by 20472aa827669d2b83b74e521504e88e18d086a1.Baptiste Mispelon
The wrong exception was being caught when detecting the presence of GeoIP. Thanks to ramiro for the report.
2013-10-08Fixed #20568 -- truncatewords_html no longer splits words containing HTML ↵Jaap Roes
entities. Thanks yann0 at hotmail.com for the report.
2013-10-08Fixed #16822 -- Added RawPostDataExceptionTim Graham
Thanks jaylett for the patch.
2013-10-08Fixed #21164 -- Added documentation for issue with test users.Russell Keith-Magee
The package renaming restores the older package names (which were also the documented package names). This doesn't affect test discovery because the module in question doesn't contain any tests. Thanks to Carl for the design discussion.
2013-10-08Refs #21197 -- Clarified upgrade check message.Russell Keith-Magee
Thanks to Carl and Shai for the discussion.
2013-10-07Cleaned up admin CSS for consistency.Ryan Allen
* header selected twice -merged * match indentation throughout * color names to hex refs #21220.
2013-10-07Added min-width for date and time inputs in admin.Ryan Allen
refs #21220.
2013-10-07Revert "Fixed #21241 -- Avoid extraneous JOINs in admin changelist search."Simon Charette
This reverts commit 698dd82eee1cb83f51d4cd39546461bf76976b5e. The patch introduced a backward incompatible change.
2013-10-07Added a link in admin branding block to admin index.Ryan Allen
Refs #13749 and #21220.
2013-10-07Fixed #21241 -- Avoid extraneous JOINs in admin changelist search.Chris Adams
2013-10-07Fixed #18263 -- Corrrected handling of hidden fields in tabular admin inlines.Tim Graham
Thanks hvdklauw for the report and patch.
2013-10-07Fixed #21236 -- Allowed migrations to work with unique_together tuples.Javed Khan
Thanks hjwp for the report.
2013-10-07Fixed #21235 -- Disabled savepoints for old versions of SQLite.Aymeric Augustin
Thanks Ramiro for the report.
2013-10-06Improved error message while setting GeometryProxyÉtienne Loks
2013-10-05Fixed #21174 -- transaction control in related manager methodsAnssi Kääriäinen
2013-10-05Fixed #18414 -- qs.exists() for sliced distinct queriesAnssi Kääriäinen
2013-10-05Improved Query join promotion logicAnssi Kääriäinen
There were multiple cases where join promotion was a bit too aggressive. This resulted in using outer joins where not necessary. Refs #21150.