summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2013-02-07Fixed #19662 -- alter auth modelbackend to accept custom username fieldsPreston Holmes
Thanks to Aymeric and Carl for the review.
2013-02-07Typo in i18n docs.Ramiro Morales
2013-02-07Fixed #19772 -- Handled APPEND_SLASH correctly in the redirects app.Aymeric Augustin
2013-02-07Changed test assertion strategy used in 04d9730.Ramiro Morales
2013-02-07Fixed #13085 -- Don't fail on creation of model with GFK to a model with ↵Ramiro Morales
__len__() returning zero. Also, according to the comments on the ticket and its duplicates, added tests execising saving an instance of a model with a GFK to: * An unsaved object -- This actually doesn't generate the same failure but another ORM-level exception. The test verifies it's the case. * An instance of a model with a __nonzero__() method thant returns False for it. This doesn't fail because that code path isn't executed. * An instance of a model with a CharField PK and an empty value for it. This doesn't fail.
2013-02-07Updated createsuperuser to use unicode_literals. Refs #19757.Florian Apolloner
2013-02-07Fixed #19706 - Tweaks to the tutorial.Tim Graham
Thanks Daniele Procida.
2013-02-07Fixed #19756 - Corrected a ManyToMany example and added some links and markup.Tim Graham
2013-02-07Fixed #15808 -- Added optional HttpOnly flag to the CSRF Cookie.Aymeric Augustin
Thanks Samuel Lavitt for the report and Sascha Peilicke for the patch.
2013-02-06Fixed a typo in the test suite that was causing some spurious failures with ↵Julien Phalip
pypy.
2013-02-06Fixed #19704 -- Make use of new ungettext_lazy function at appropriate placesAlexey Boriskin
2013-02-06Improved regex in strip_tagsClaude Paroz
Thanks Pablo Recio for the report. Refs #19237.
2013-02-06Fixed #19743 - Documented some limitations of contrib.auth.Tim Graham
Thanks Aymeric for the suggestion.
2013-02-06Fixed #9800 -- Allow "isPermaLink" attribute in <guid> element of an RSS item.Simon Charette
Thanks @rtnpro for the patch!
2013-02-06Fixed #19745 -- Forced resolution of verbose names in createsupersuserClaude Paroz
Thanks Baptiste Mispelon for the report and Preston Holmes for the review.
2013-02-06Fixed a documentation warning introduced by 3f1c7b7Simon Charette
2013-02-05Fixed #17683 -- Make sure `BaseModelFormSet` respects defined widgets.Simon Charette
2013-02-05Fixed #19689 -- Renamed `Model._meta.module_name` to `model_name`.Simon Charette
2013-02-04Fixed #19729 -- Removed leftover refactoring helper variables.Ramiro Morales
Thanks chrismedrela for the report. Refs #6262, 44b9076 and 4d94c0c.
2013-02-04Fixed #19734 -- Missing values in `DATETIME_INPUT_FORMATS` doc.Simon Charette
Also changed formating of `DATE_INPUT_FORMATS` and `TIME_INPUT_FORMATS` for readability. Thanks minddust for the report!