summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
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-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-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 #9800 -- Allow "isPermaLink" attribute in <guid> element of an RSS item.Simon Charette
Thanks @rtnpro for the patch!
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 error message test assertions under Python 3.3Claude Paroz
Thanks Florian Apolloner for testing.
2013-02-04Fixed #17061 -- Factored out importing object from a dotted pathClaude Paroz
Thanks Carl Meyer for the report.
2013-02-03Fixed #19730 -- Don't validate importability of settings by using i18n in ↵Ramiro Morales
management commands. They are handled independently now and the latter can be influenced by the new BaseCommand.leave_locale_alone internal option. Thanks chrischambers for the report, Claude, lpiatek, neaf and gabooo for their work on a patch, originally on refs. #17379.
2013-02-03Fixed #19645 -- Added tests for TransactionMiddlewareAnssi Kääriäinen
2013-02-02Fixed Python 3.2 compatibility for a test.Julien Phalip
2013-02-02Fixed #17797 -- Enabled support for PATCH requests in the dummy test client. ↵Julien Phalip
Thanks to pfarmer for the suggestion and initial patch.
2013-02-02Fixed #14305 -- Switched inspectdb to create unmanaged models.Ramiro Morales
Thanks Ian Kelly for the report and initial patch.
2013-02-02Fixed #19445 -- Skip admin fieldsets validation when the ↵Nick Sandford
ModelAdmin.get_form() method is overridden.
2013-02-02Made ungettext_lazy usable for messages that do not contain the count.Aymeric Augustin
Fixed #19160 (again). Thanks Alexey Boriskin.
2013-02-02Fixed the test introduced in 2ca37af6 under Python 3.Aymeric Augustin
2013-02-01Added test to demonstrate issue 11387 isn't there anymore.Ramiro Morales
Thanks adurdin for the report and patch. Fixes #11387.
2013-02-01Added test to demonstrate issue 11263 isn't there anymore.Ramiro Morales
Thanks veena for the report and jaklaassen for the patch. Fixes #11263.
2013-02-01Fixed #19663 -- Allowed None in colorize() text parameterClaude Paroz
Thanks Jonathan Liuti for the report and the initial patch, and Simon Charette for the review.
2013-02-01Fixed #19715 -- Simplified findstatic output when verbosity set to 0Matt Robenolt
2013-02-01Renamed inspectdb field names for claritySimon Charette
2013-01-31Fixed #19341 -- Detected NullBooleanField when introspecting modelsClaude Paroz
Thanks Tim Bowden for the report.
2013-01-31Fixed #19709 -- Fixed TimeField introspection on MySQLClaude Paroz
Thanks Eugene Grachev for the report.
2013-01-31Added introspection tests for most of Django model fieldsClaude Paroz
2013-01-31Deprecated undocumented warnings manipulation testing tools.Ramiro Morales
2013-01-31Fixed #19708 -- Exception in timezone.override(None).Aymeric Augustin
Thanks rafales.
2013-01-31Fixed #19692 -- Completed deprecation of mimetype in favor of content_type.Aymeric Augustin
Thanks Tim for the report and initial patch.
2013-01-30Added file forgotten in 23e319d7.Aymeric Augustin
2013-01-30Fixed #19076 -- Added content_type attribute to TemplateView.Aymeric Augustin
Thanks Gavin Wahl.
2013-01-30Fixed #19160 -- Made lazy plural translations usable.Aymeric Augustin
Many thanks to Alexey Boriskin, Claude Paroz and Julien Phalip.
2013-01-29Fixed #19552 -- Enhanced makemessages handling of ``{# #}``-style template ↵Ramiro Morales
comments. They are simply ignored now. This allows for a more correct behavior when they are placed before translatable constructs on the same line. Previously, the latter were wrongly ignored because the former were preserved when converting template code to the internal Python-syntax form later fed to xgettext but Python has no ``/* ... */``-style comments. Also, special comments directed to translators are now only taken in account when they are located at the end of a line. e.g.:: {# Translators: ignored #}{% trans "Literal A" %}{# Translators: valid, associated with "Literal B" below #} {% trans "Literal B" %} Behavior of ``{% comment %}...{% endcomment %}``tags remains unchanged. Thanks juneih at redpill-linpro dot com for the report and Claude for his work on the issue.
2013-01-29Fixed typos in docs and commentsTim Graham
2013-01-28Added HTML5 url input typeClaude Paroz
Refs #16630.
2013-01-28Added HTML5 email input typeClaude Paroz
Refs #16630.
2013-01-28Fixed #19676 -- Supported 'self' foreign keys in inspectdb.Aymeric Augustin
Thanks Georgy Kutsurua for the report and Simon Charette for the patch.
2013-01-28Fixed #19677 -- Introspection of recursive foreign keys under SQLite.Aymeric Augustin
Thanks Simon Charette.
2013-01-26Fixed #16123 -- Ensured strptime receive proper string typeClaude Paroz
strptime generates an UnicodeEncodeError when using a non-ascii unicode string on Python 2.
2013-01-26Fixed #17158 -- Used a non-ambiguous representation of SQL queriesAymeric Augustin
when a correct representation cannot be obtained.
2013-01-26Fixed #19589 -- assertRegexpMatches is deprecated in Python 3.3.Aymeric Augustin
2013-01-26Fixed validation of email addresses when the local part contains an @.Aymeric Augustin
See also BaseUserManager.normalize_email -- it uses rsplit. Refs #4833.
2013-01-25Moved has_changed logic from widget to form fieldClaude Paroz
Refs #16612. Thanks Aymeric Augustin for the suggestion.
2013-01-25Revert "Patch by Claude for #16084."Ramiro Morales
This reverts commit 2babab0bb351ff7a13fd23795f5e926a9bf95d22.
2013-01-25Patch by Claude for #16084.Ramiro Morales
2013-01-25Fixed #19665 -- Ensured proper stderr output for Command.run_from_argvClaude Paroz
Thanks Stefan Koegl for the report and Simon Charette for the review.
2013-01-24More i18n makemessages tests tweaks.Ramiro Morales