summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-02-16Fixed #19824 - Corrected the class described for Field.primary_key from ↵Tim Graham
IntegerField to AutoField. Thanks Keryn Knight.
2013-02-16Fixed #19812 - Removed a duplicate phrase in the widget docs.Tim Graham
Thanks diegueus9 for the report and itsallvoodoo for the draft patch.
2013-02-16Merge pull request #730 from phantummm/ticket_19719Tim Graham
Fixed #19719 - Removed misleading example from ModelForm documentation
2013-02-16Removed a misleading examples from documentations ala ticket #19719Alex Hunley
2013-02-16Fixed #19833 -- Fixed import parameter encoding in get_runnerClaude Paroz
Thanks Danilo Bargen for the report.
2013-02-16Fixed #17260 -- Added time zone aware aggregation and lookups.Aymeric Augustin
Thanks Carl Meyer for the review. Squashed commit of the following: commit 4f290bdb60b7d8534abf4ca901bd0844612dcbda Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Wed Feb 13 21:21:30 2013 +0100 Used '0:00' instead of 'UTC' which doesn't always exist in Oracle. Thanks Ian Kelly for the suggestion. commit 01b6366f3ce67d57a58ca8f25e5be77911748638 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Wed Feb 13 13:38:43 2013 +0100 Made tzname a parameter of datetime_extract/trunc_sql. This is required to work around a bug in Oracle. commit 924a144ef8a80ba4daeeafbe9efaa826566e9d02 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Wed Feb 13 14:47:44 2013 +0100 Added support for parameters in SELECT clauses. commit b4351d2890cd1090d3ff2d203fe148937324c935 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Mon Feb 11 22:30:22 2013 +0100 Documented backwards incompatibilities in the two previous commits. commit 91ef84713c81bd455f559dacf790e586d08cacb9 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Mon Feb 11 09:42:31 2013 +0100 Used QuerySet.datetimes for the admin's date_hierarchy. commit 0d0de288a5210fa106cd4350961eb2006535cc5c Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Mon Feb 11 09:29:38 2013 +0100 Used QuerySet.datetimes in date-based generic views. commit 9c0859ff7c0b00734afe7fc15609d43d83215072 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sun Feb 10 21:43:25 2013 +0100 Implemented QuerySet.datetimes on Oracle. commit 68ab511a4ffbd2b811bf5da174d47e4dd90f28fc Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sun Feb 10 21:43:14 2013 +0100 Implemented QuerySet.datetimes on MySQL. commit 22d52681d347a8cdf568dc31ed032cbc61d049ef Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sun Feb 10 21:42:29 2013 +0100 Implemented QuerySet.datetimes on SQLite. commit f6800fd04c93722b45f9236976389e0b2fe436f5 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sun Feb 10 21:43:03 2013 +0100 Implemented QuerySet.datetimes on PostgreSQL. commit 0c829c23f4cf4d6804cadcc93032dd4c26b8c65e Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sun Feb 10 21:41:08 2013 +0100 Added datetime-handling infrastructure in the ORM layers. commit 104d82a7778cf3f0f5d03dfa53709c26df45daad Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Mon Feb 11 10:05:55 2013 +0100 Updated null_queries tests to avoid clashing with the __second lookup. commit c01bbb32358201b3ac8cb4291ef87b7612a2b8e6 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sun Feb 10 23:07:41 2013 +0100 Updated tests of .dates(). Replaced .dates() by .datetimes() for DateTimeFields. Replaced dates with datetimes in the expected output for DateFields. commit 50fb7a52462fecf0127b38e7f3df322aeb287c43 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sun Feb 10 21:40:09 2013 +0100 Updated and added tests for QuerySet.datetimes. commit a8451a5004c437190e264667b1e6fb8acc3c1eeb Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sun Feb 10 22:34:46 2013 +0100 Documented the new time lookups and updated the date lookups. commit 29413eab2bd1d5e004598900c0dadc0521bbf4d3 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sun Feb 10 16:15:49 2013 +0100 Documented QuerySet.datetimes and updated QuerySet.dates.
2013-02-16Refs #14881 -- Document that User models need to have an integer primary key.Russell Keith-Magee
Thanks to Kaloian Minkov for the reminder about this undocumented requirement.
2013-02-15Fixed geos test to prevent random failureClaude Paroz
Points in the test fixtures have 20 as max coordinate.
2013-02-15Fixed #17066 -- Prevented TypeError in GeoIP.__del__Claude Paroz
When garbaging GeoIP instances, it happens that GeoIP_delete is already None. Thanks mitar for the report and stefanw for tests.
2013-02-15Improved input sanitizing with thousand separatorsClaude Paroz
For languages with non-breaking space as thousand separator, standard space input should also be allowed, as few people know how to enter non-breaking space on keyboards. Refs #17217. Thanks Alexey Boriskin for the report and initial patch.
2013-02-15Avoided unneeded assertion on Python 3Claude Paroz
Fixes failure introduced in 02e5909f7a.
2013-02-15Fixed #19807 -- Sanitized getpass input in createsuperuserClaude Paroz
Python 2 getpass on Windows doesn't accept unicode, even when containing only ascii chars. Thanks Semmel for the report and tests.
2013-02-15Updated FormattingTests test case to use settings contextsClaude Paroz
2013-02-15Merge pull request #728 from jphalip/ticket-19829Julien Phalip
Fixed #19829 -- Fixed index lookups for NumPy arrays in templates.
2013-02-15Put unicode_literals into all formats.pyAlexey Boriskin
2013-02-14Fixed #19829 -- Fixed index lookups for NumPy arrays in templates.Julien Phalip
2013-02-15Fixed #19822 -- Added validation for uniqueness on USERNAME_FIELD on custom ↵Russell Keith-Magee
User models. Thanks to Claude Peroz for the draft patch.
2013-02-14Fix filtering during collection of paths in setup.pyRamiro Morales
Thanks Marek Brzóska for the report.
2013-02-14Fixed #19823 -- Fixed memcached code example in cache docsClaude Paroz
2013-02-14Fixed #19819 - Improved template filter errors handling.Michael van Tellingen
Wrap the Parser.compile_filter method call with a try/except and call the newly added Parser.compile_filter_error(). Overwrite this method in the DebugParser to throw the correct error. Since this error was otherwise catched by the compile_function try/except block the debugger highlighted the wrong line.
2013-02-14Fixed a misnamed variable introduced in commit 142ec8b283Claude Paroz
Refs #8404.
2013-02-13Fixed #8404 -- Isolated auth password-related tests from custom templatesClaude Paroz
2013-02-13Fixed #19693 -- Made truncatewords_html handle self-closing tagsClaude Paroz
Thanks sneawo for the report and Jonathan Loy for the patch.
2013-02-13Fixed #18558 -- Added url property to HttpResponseRedirect*Hiroki Kiyohara
Thanks coolRR for the report.
2013-02-12Fix admindocs on Python 3, where None cannot be sorted with strings.Carl Meyer
This fixes two tests in admin_views which were failing on Python 3, but only if the tests were run with docutils installed.
2013-02-13Removed try-except in django.db.close_connection()Anssi Kääriäinen
The reason was that the except clause needed to remove a connection from the django.db.connections dict, but other parts of Django do not expect this to happen. In addition the except clause was silently swallowing the exception messages. Refs #19707, special thanks to Carl Meyer for pointing out that this approach should be taken.
2013-02-12Merge pull request #719 from JonLoy/ticket_19808Aymeric Augustin
Fixed #19808 -- Typo in example
2013-02-12Fixed #19808 Capitalization error in example textJonLoy
2013-02-12Mention backward relationships in aggregate docs.Ramiro Morales
Thanks Anssi and Marc Tamlyn for reviewing. Fixes #19803.
2013-02-12Fixed #19746 -- Allow deserialization of pk-less dataNick Sandford
2013-02-11Accepted None in tzname().Aymeric Augustin
This is required by the tzinfo API, see Python's docs. Also made _get_timezone_name deterministic.
2013-02-11Added a check in the creation of IS NULL clauses.Aymeric Augustin
value_annotation isn't very well defined. Before this change, setting it to datetime.datetime could silently reverse the behavior of isnull lookups. This commit doesn't have any consequences on the current code. It's just a safeguard for future ORM hackers.
2013-02-11Fixed #19044 -- Made `DeletionMixin` interpolate its `success_url`.Simon Charette
Thanks to nxvl and slurms for the initial patch, ptone for the review and timo for the documentation tweaks.
2013-02-10Updated tutorial 1 to reflect changes in default project template.Tim Graham
Thanks JonLoy for the patch.
2013-02-10Emphasized MyISAM pseudo-requirement for GeoDjango over MySQLClaude Paroz
Refs #15295.
2013-02-10Fixed #19112 -- Reduced the amount of query params in a testAnssi Kääriäinen
2013-02-10Made Query.clear_ordering force_empty arg mandatoryAnssi Kääriäinen
Previously it was possible to call clear_ordering without the force_empty argument. The result was that the query was still ordered by model's meta ordering if that was defined. By making the arg mandatory it will be easier to spot possible errors caused by assuming clear_ordering will remove all ordering. Thanks to Dylan Klomparens for the suggestion. Refs #19720.
2013-02-10Added a note about the default timezone and the new project template.Tim Graham
Thanks JonLoy for the draft patch.
2013-02-10Fixed #19720 -- Oracle ordering related delete regressionAnssi Kääriäinen
When a query had a complex where condition (a condition targeting more than the base table) a subquery was used for deletion. However, the query had default ordering from the model's meta and Oracle doesn't work with ordered subqueries. The regression was caused by fast-path deletion code introduced in 1cd6e04cd4f768bcd4385b75de433d497d938f82 for fixing #18676. Thanks to Dylan Klomparens for the report.
2013-02-10Fixed #19638 -- Skipped tx support testing for some DBsAnssi Kääriäinen
PostgreSQL and Oracle always support transactions, so the create table and rollback test is non-necessary on those DBs. Thanks to shai for report.
2013-02-10Fixed #19707 -- Reset transaction state after requestsAnssi Kääriäinen
2013-02-09Made modwsgi groups_for_user consistent with check_passwordPreston Holmes
2b5f848207b1dab35afd6f63d0107629c76d4d9a based its changes on #19061 that made the is_active attribute mandatory for user models. The try/except was not removed for the groups_for_user function. refs #19780
2013-02-09Added tests for some sql_* management commandsClaude Paroz
2013-02-09Fixed #19699 - Removed "Please see the release notes" from ↵Tim Graham
versionadded/changed directives Also bumped django_next_version back to 1.6 so those annotations are described as "the development version" in the docs. Thanks Aymeric for the patch.
2013-02-09Fixed #19749 -- Documented ending param to command's self.stdout/errClaude Paroz
Thanks xian at mintchaos.com for the report.
2013-02-08Fixed #18906 -- Ignored to-be-deleted forms in formset validate_uniqueClaude Paroz
Thanks c.pollock at bangor.ac.uk for the report.
2013-02-08Cleaned up some lingering signals in the test suite that were causing ↵Julien Phalip
spurious failures with Pypy and Postgres.
2013-02-08Removed unneeded imports in db.models initClaude Paroz
2013-02-08Fixed #19779 -- Checked contrib.sites presence in RedirectFallbackMiddlewareClaude Paroz
Thanks Aymeric Augustin for the report and directions for the patch.
2013-02-08Moved import in db.backends.creationClaude Paroz