summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2013-09-10Fixed #20919 -- Extended assertRedirects to be able to avoid fetching ↵Juan Catalano
redirect's response. Thanks mjtamlyn for the suggestion.
2013-09-10Fixed test that fails when pytz is installed.Aymeric Augustin
pytz' localize() method is the bane of my life.
2013-09-10Fixed #20841 -- Added messages to NotImplementedErrorsGregor MacGregor
Thanks joseph at vertstudios.com for the suggestion.
2013-09-10Made MigrationWriter look for a "deconstruct" attribute on functions.Loic Bistuer
Refs #20978.
2013-09-10Fixed #16534 -- Improved ability to customize DiscoverRunnerTim Graham
Added DiscoverRunner.test_suite and .test_runner attributes. Thanks tomchristie for the suggestion and jcd for the patch.
2013-09-10Fixed #4574 -- Added CSS classes to the admin calendar widget for better ↵Roberto Aguilar
control over styling.
2013-09-10Fixed #18403 -- Initialized bad_cookies in SimpleCookiee0ne
Thanks Stefano Crosta for the report.
2013-09-10Fixed #21033 -- Fixed uploaded filenames not always being truncated to 255 ↵homm
characters
2013-09-09Removed unneeded imports in tests's __init__.py and unified them.Florian Apolloner
2013-09-09Refactored code and tests that relied on django.utils.tzinfo.Aymeric Augustin
Refs #17262.
2013-09-09Fixed #17262 -- Refactored tzinfo implementations.Aymeric Augustin
This commit deprecates django.utils.tzinfo in favor of the more recent django.utils.timezone which was introduced when Django gained support for time zones.
2013-09-09Fixed #19885 -- cleaned up the django.test namespaceKevin Christopher Henry
* override_settings may now be imported from django.test * removed Approximate from django.test * updated documentation for things importable from django.test Thanks akaariai for the suggestion.
2013-09-09Fixed #21078 -- Handled additional bad Accept-Language headerJosh Mize
2013-09-09Fixed #21063 -- AdminSite app_index should be fail early if the user has no ↵Keryn Knight
permissions.
2013-09-09Fixed syntax error on Python 3.2; refs #20889.Tim Graham
2013-09-09Simplify FilterExpression.args_checkCurtis Maloney
2013-09-09Fixed #20889 -- Prevented email.Header from inserting newlinesDaniel Boeve
Passed large maxlinelen to email.Header to prevent newlines from being inserted into value returned by _convert_to_charset Thanks mjl at laubach.at for the report.
2013-09-09Added a test to show that the user.is_staff check in admin base.html is ↵Tim Graham
necessary. refs #21067
2013-09-08Fix #20745: Don't silence TypeError raised inside templates.Baptiste Mispelon
Thanks to robin for the report and claudep for the review.
2013-09-08Removed some more unused local varsAlex Gaynor
2013-09-08Further hardening. Refs #18766.Aymeric Augustin
2013-09-08Hardened the test introduced in ded11aa6. Refs #18766.Aymeric Augustin
Inputs acceptable to time.mktime are platform-dependent.
2013-09-08Removed a ton of unused local varsAlex Gaynor
2013-09-08Fixed #18766 -- Pointed to pytz when LocalTimezone fails.Aymeric Augustin
Thanks void for the report.
2013-09-07Fixed #16869 -- BaseGenericInlineFormSet.save_new should use form's save() ↵Pablo Mouzo
method Thanks mattaustin for the report and Pablo Recio (pyriku) for the patch.
2013-09-07Fixed some flake8 warningsAlex Gaynor
2013-09-07Fixed #21013 -- Ensure that ModelAdmin.get_queryset is considered for the ↵Juan Catalano
admin history view.
2013-09-07Fixed a test failure introduced in 55a11683f7b094ae4fd0b9fa030d18a12657ba98.Julien Phalip
2013-09-07Fixed #20836 -- Ensure that the ForeignKey's to_field attribute is properly ↵Julien Phalip
considered by the admin's interface when creating related objects. Many thanks to Collin Anderson for the report and patch and to Peter Sheats for the test.
2013-09-07Fixed #20530 -- Properly decoded non-ASCII query strings on Python 3.Aymeric Augustin
Thanks mitsuhiko for the report. This commit just adds a test since the problem was fixed in 8aaca651.
2013-09-07RunSQL migration operation and alpha SeparateDatabaseAndState op'n.Andrew Godwin
2013-09-07Fixed tests introduced in previous commit on Python 2. Refs #20557.Aymeric Augustin
2013-09-07Fixed #20557 -- Properly decoded non-ASCII cookies on Python 3.Aymeric Augustin
Thanks mitsuhiko for the report. Non-ASCII values are supported. Non-ASCII keys still aren't, because the current parser mangles them. That's another bug.
2013-09-06Fixed this syntax error on py32Alex Gaynor
2013-09-06Fixed #21032 -- pip 1.4 can't install pytz.Aymeric Augustin
2013-09-06Fixed #20007 -- Configured psycopg2 to return UnicodeArraysEric Boersma
Thanks hogbait for the report.
2013-09-06Merge pull request #1566 from adamsc64/ticket_11857Russell Keith-Magee
Fixed #11857 -- Added missing 'closed' property on TemporaryFile class.
2013-09-06Fixed deprecation warning on Python 3Tim Graham
2013-09-06Fixed #21037 -- Made MigrationWriter raise a ValueError when serializing ↵Loic Bistuer
lambda functions.
2013-09-06Fixed test failure introduced in efd1e6096ee87fe332cf989ba5479e9461d0fb3a ↵Tim Graham
(sqlmigrate)
2013-09-06Merge pull request #1582 from ↵Russell Keith-Magee
rca/12756-missing-yaml-module-serializer-error-message Fixed #12756: Improved error message when yaml module is missing.
2013-09-06Cleanup commit after peer review.Roberto Aguilar
2013-09-06Merge pull request #1580 from ianawilson/ticket_16502Russell Keith-Magee
Fixed #16502 -- Fixed a TemplateDoesNotExist error that should be an ImproperlyConfigured. Assistance on the patch from #jambronrose.
2013-09-06Fixed existing tests to handle BadSerializer.Roberto Aguilar
When a BadSerializer instance is stubbed in for the yaml serializer, make sure tests do not fail.
2013-09-06Updated NoYamlSerializerTestCase to run with yaml.Roberto Aguilar
In order to verify the behavior of using the yaml serializer when yaml is on the system, fake the ImportError when the serializer is being registered.
2013-09-06fixed test name from an old, overly specific iteration of the testIan Wilson
2013-09-06Fixed #11811 -- Data-loss bug in queryset.update.Aymeric Augustin
It's now forbidden to call queryset.update(field=instance) when instance hasn't been saved to the database ie. instance.pk is None.
2013-09-06Merge pull request #1579 from ianawilson/ticket_21058Russell Keith-Magee
Fixed #21058 -- Fixed debug view blowing up when no template is provided to the template rendering functions. Assistance on this commit from @jambonrose.
2013-09-06Removed unnecessary, leftover importsIan Wilson
2013-09-06Moved a settings usage up the stack in utils/formats.py #unsettingsAdrian Holovaty