summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2013-09-06adds fix for SingleObjectTemplateResponseMixin raising a ↵Ian Wilson
TemplateDoesNotExist when it should have raised an ImproperlyConfigured. fixes 16502. by @ianawilson, @jambonrose
2013-09-06Merge pull request #1578 from rmutter/ticket_20821Julien Phalip
Fixed #20821 -- Added tooltips to Admin SelectBox widget
2013-09-06adds fix and test for when a template is not specified at all to render(). ↵Ian Wilson
fixes #21058. by jambonrose and ianawilson
2013-09-06Fixed #20821 -- Added tooltips to Admin SelectBox widgetRudy Mutter
The Admin widget, which can be used to filter multiple selects can sometimes be too narrow and hide information such as user permissions. This commit adds tooltips to the select options so that a user can hover over and see the hidden text.
2013-09-06Adding 'sqlmigrate' command and quote_parameter to support it.Andrew Godwin
2013-09-06Added tests for missing pyyaml.Roberto Aguilar
This test makes sure an YAML import errors are communicated to the caller rather than stating the serializer does not exist.
2013-09-06Fixed #21043 -- Made resolve() handle reverse_lazy objects.Dan Johnson
Thanks Keryn Knight for the report.
2013-09-06Merge branch 't20812'Florian Apolloner
2013-09-06Fixed #4287 -- Fixed NaN and +/- Infinity handling in FloatFieldDaniel Langer
NaN, +Inf, and -Inf are no longer valid values for FloatFields.
2013-09-06Fixed #11857 -- Added missing 'closed' property on TemporaryFile class.Christopher Adams
- TemporaryFile now minimally mocks the API of the Python standard library class tempfile.NamedTemporaryFile to avoid AttributeError exceptions. - The symbol django.core.files.NamedTemporaryFile is actually assigned as a different class on different operating systems. - The bug only occurred if Django is running on Windows, hence why it was hard to diagnose.
2013-09-06Migration autodetector now corerctly deals with proxy modelsAndrew Godwin
2013-09-06Fixed #20812 -- Error out if __unicode__/__str__ doesn't return a text type.Florian Apolloner
2013-09-06Also test failure case of ProjectState dependency resolutionAndrew Godwin
2013-09-06Project/ModelState now correctly serialize multi-model inheritanceAndrew Godwin
2013-09-06Fixed #21029: Test for previously-commited SchemaEditor.__exit__ bug.Andrew Godwin
2013-09-06Fixed #10164 -- Made AutoField increase monotonically on SQLiteChris Wilson
Thanks malte for the report.
2013-09-06Fixed #18719 -- Made force_bytes more consistent with force_text.Aymeric Augustin
2013-09-06Fixed #20977 -- Fixed writing migrations to disk on Python 3Markus Holtermann
2013-09-06Fixed #16096 -- Added origin attribute to template instances.Preston Timmons
Thanks jdunck for the suggestion.
2013-09-06Fixed #21015 -- Fixed MigrationLoader when importlib.import_module returns a ↵Loic Bistuer
file module or an empty directory.
2013-09-06Fixed #21014 -- Fixed gobbled ImportError in MigrationLoader.Loic Bistuer
2013-09-05Fixed #21035 -- Changed docs to treat the acronym SQL phonetically.Eric Boersma
The documentation and comments now all use 'an' to refer to the word SQL and not 'a'.
2013-09-05Took advantage of django.utils.six.moves.urllib.*.Aymeric Augustin
2013-09-05Fixed #21041 -- Removed a duplicate form in tests.Tim Graham
Thanks tuxcanfly.
2013-09-04Fixed #21010 -- Changed ModelState to only copy _meta.local_fields.Loic Bistuer
2013-09-03Fixed "indentation is not a multiple of four" pep8 issues.Tim Graham
2013-09-03Fixed a couple unclosed file warnings in testsTim Graham
2013-09-03Updated syncdb -> migrate in tests.Tim Graham
2013-09-03Silenced deprecation warning regarding old SQL location; refs #14300Tim Graham
2013-09-03Removed references to django.utils.unittest which is PendingDeprecationTim Graham
2013-09-03Silenced deprecation warnings in SortedDict tests; refs [07876cf02b]Tim Graham
2013-09-02Replaced "not PY3" by "PY2", new in six 1.4.0.Aymeric Augustin
2013-09-01Converted tests for admin first form widget auto-focus to Selenium.Ramiro Morales
Refs #1707 and 1c0c879be3.
2013-09-01Change test added in 3e34005b1b to be more stable.Ramiro Morales
It could fail when actual serialization JSON field ordering was different from the hard-coded one. Refs #13182.
2013-08-31Fixed #21008 -- Made MigrationWriter handle Promise objects.Loic Bistuer
2013-08-31Made django.test.testcases not depend on staticfiles contrib app.Ramiro Morales
Do this by introducing a django.contrib.staticfiles.testing.StaticLiveServerCase unittest TestCase subclass. Fixes #20739.
2013-08-31Properly skipped yaml tests when not installedClaude Paroz
2013-08-31Fixed #13182 -- Prevented trailing spaces in indented json outputClaude Paroz
Thanks Stéphane Raimbault for the report and the initial patch.
2013-08-30Fixed #20999 - Allow overriding formfield class with choices, without ↵Carl Meyer
subclass restrictions. Refs #18162. Thanks claudep and mjtamlyn for review.
2013-08-30Fixed #21005 -- Made schema tests language-independentClaude Paroz
Thanks Simon Charette for the review.
2013-08-30Fixed #20989 -- Removed useless explicit list comprehensions.Simon Charette
2013-08-30Improved {% include %} implementationCurtis Maloney
Merged BaseIncludeNode, ConstantIncludeNode and Include node. This avoids raising TemplateDoesNotExist at parsing time, allows recursion when passing a literal template name, and should make TEMPLATE_DEBUG behavior consistant. Thanks loic84 for help with the tests. Fixed #3544, fixed #12064, fixed #16147
2013-08-30Fixed #20988 -- Added model meta option select_on_saveAnssi Kääriäinen
The option can be used to force pre 1.6 style SELECT on save behaviour. This is needed in case the database returns zero updated rows even if there is a matching row in the DB. One such case is PostgreSQL update trigger that returns NULL. Reviewed by Tim Graham. Refs #16649
2013-08-29Altered test introduced in f19a3669b8 for the sake of readability. refs #14786Simon Charette
2013-08-29Fixed #14786 -- Fixed get_db_prep_lookup calling get_prep_value twice if ↵Tim Graham
prepared is False. Thanks homm for the report and Aramgutang and lrekucki for work on the patch.
2013-08-29Fixed #16433 -- Fixed a help_text/read only field interaction that caused an ↵Tim Graham
admin crash. Thanks chris at cogdon.org for the report and admackin for the patch.
2013-08-29Fixed #20881 -- Removed contrib.auth.models.AbstractUser.get_absolute_url()Tim Graham
The definition is arbitrary and creates a broken "view on site" link in the admin if a project doesn't define such a URL.
2013-08-29Fixed #7116 -- Optimize RequestContext constructionCurtis Maloney
2013-08-29Fixed #17356 -- Allowed {% include %} to render compiled templatesCurtis Maloney
Reviewed by Loic Bistuer and Tim Graham.
2013-08-28Fixed #20986 -- Enabled SelectDateWidget to use custom monthsLoic Bistuer
Reviewed by Trac alias MarkusH.