summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-10-14Fixed #21269 -- Don't crash when CommandError contains non-asciiClaude Paroz
Thanks kontakt@eikefoken.de for the report.
2013-10-14Close file after tests added in 945e033a69.Ramiro Morales
Avoids failures on Windows. Refs #8918.
2013-10-14Added flake8 info to setup.cfg.Tim Graham
This config allows a clean run of flake8. Some of the ignored codes will be remove over time as we clean things up.
2013-10-14Fixed #20910 -- Added a "snippet" sphinx directive to allow prefixing a ↵M Nasimul Haque
filename. Thanks Marc Tamlyn for the suggestion.
2013-10-14Fixed #20962 -- Documented that template tag render() may raise exceptions.Bouke Haarsma
Thanks Keryn Knight 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-14Clarfied the ModelForm docs with respect to generated vs. declared fields.Loic Bistuer
The ModelForm docs suggested that fields defined declaratively override default fields generated from the form Meta. This is conceptually wrong, especially with inheritance in mind. Meta is usually defined on the topmost ModelForm subclass, while fields can come from anywhere in the MRO, especially base classes; therefore we suggested that something defined in a base class override something from a subclass. This patch rephrases the docs around the idea that Meta is used to generate *missing* fields. Refs #8620, #19617. Thanks @mjtamlyn and @timgraham for the review.
2013-10-14Fixed #21210 -- Documented when runserver doesn't auto-restart.Bouke Haarsma
Thanks gergely at polonkai.eu for the suggestion.
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 #21264 -- Incorrect RST usage in docsBouke Haarsma
2013-10-14Fixed #21027 -- Updated tutorial 5 docs to link to management shell command ↵Max Vizard
page.
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-14Amend my description in committers.txt.Marc Tamlyn
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-12Forms docs: More emphasis in 'id' value customizability.Ramiro Morales
2013-10-12Updated OpenLayers version from 2.11 to 2.13Claude Paroz
2013-10-11Fixed #15582 -- Documented how TransactionTestCase.multi_db affects fixtures.Tim Graham
Thanks slinkp for the suggestion.
2013-10-11Fixed errors in 848101bf1736d1c01eb86968e85a14c7466bb376Tim Graham
2013-10-11Minor edits to docs/topics/db/queries.txt.Cody Scott
2013-10-11Added tests for URLValidator schemes.Sascha Peilicke
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-10Small improvements to docs/topics/db/models.txtCody Scott
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 an undefined variable and clarified the purpose of a test.Tim Graham
refs #4459.
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 #21222 - Documented that 'default' and 'other' must be different ↵Tim Graham
databases when running tests. Thanks vernondcole for the suggestion.
2013-10-09Fixed #19924 -- Fixed selectors in actions.js that did not use options.crccheck
2013-10-09Fixed grammar/typos in auth customization docsClaude Paroz
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-09Fixed #21243 -- Corrected exception message in multiple database tests.Russell Keith-Magee
Thanks to vajrasky for the report and patch.
2013-10-08Merge pull request #1719 from dlo/docs/email-typosMarc Tamlyn
Fix grammatical errors in email documentation
2013-10-08Fix grammatical errors in email documentationDan Loewenherz
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.