summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2013-08-19PEP 8 cleanupAnssi Kääriäinen
2013-08-19Fixed #12567 -- Incorrect SQL in model inheritance caseAnssi Kääriäinen
An isnull lookup produced incorrect SQL. This was already fixed earlier, so only tests added.
2013-08-19Fixed #20777 -- Admin proxy model deletion regressionAnssi Kääriäinen
Added proxy_models tests by Harm Geerts <github@geertswei.nl>.
2013-08-19Made Model.__eq__ consider proxy models equivalentAnssi Kääriäinen
Fixed #11892, fixed #16458, fixed #14492.
2013-08-18Merge pull request #1479 from nickbruun/ticket_20924Alex Gaynor
Proxy __len__ and __contains__ for LazyObject
2013-08-16Combine consecutive with statementsClaude Paroz
Python 2.7 allows to combine several 'with' instructions.
2013-08-15Fixed #20895 -- Made check management command warn if a BooleanField does ↵Alasdair Nicol
not have a default value Thanks to Collin Anderson for the suggestion and Tim Graham for reviewing the patch.
2013-08-15Regression test and patch for ticket #20924.Nick Bruun
2013-08-14Fixed #20709 -- Allowed {% widthratio %} to accept an "as" parameter.Jonathan Slenders
Thanks clay.evil@ for the suggestion.
2013-08-13Removed unneeded conditional_escapes from the testsuite.Florian Apolloner
2013-08-13Oracle schema backend, passes most tests and is pretty complete.Andrew Godwin
2013-08-13Fixed #20555 -- Make subwidget id attribute availableMatt Johnson
In `BoundField.__iter__`, the widget's id attribute is now passed to each subwidget. A new id_for_label property was added to ChoiceInput.
2013-08-13Apply autoescaping to AdminURLFieldWidget.Jacob Kaplan-Moss
This is a security fix; disclosure to follow shortly.
2013-08-13Fixed test failure on MySQLAnssi Kääriäinen
The fix for #20874 caused a MySQL specific failure.
2013-08-13Fixed #20883 -- Made model inheritance find parent links in abstract parentsLoic Bistuer
2013-08-13Fixed #20874 -- bump_prefix() in nested subqueriesAnssi Kääriäinen
Also made some cleanup to build_filter() code by introducing submethods solve_lookup_type() and prepare_lookup_value().
2013-08-12Unlocalize line numbers and ids in debug 500 view.Ramiro Morales
While using USE_L10N, line numbers and IDs were printed as comma (or locale equivalent) separated values. Thanks Kronuz for the report and intial patch. Fixes #20861.
2013-08-12Fixed #17778 -- Prevented class attributes on context from resolving as ↵Tim Graham
template variables. Thanks KyleMac for the report, regebro for the patch, and Aymeric for the test.
2013-08-12Fixed #13518 -- Added FILE_UPLOAD_DIRECTORY_PERMISSIONS settingMel Collins
This setting does for new directories what FILE_UPLOAD_PERMISSIONS does for new files. Thanks jacob@ for the suggestion.
2013-08-11Fix weird planning issues when already fully migrated.Andrew Godwin
2013-08-11Support index_together during model creationAndrew Godwin
2013-08-10Expand testing of Test LiveServerTestCase static files serving.Ramiro Morales
2013-08-10Test that django.views.static.serve() generates 404 status codes.Ramiro Morales
Also, change tests to be based on SimpleTestCase.
2013-08-09Fixed #18356 -- Gave the test client signals.template_rendered call a unique ↵Bojan Mihelac
dispatch_uid This prevents the test client context from being lost when the client is used in a nested fashion.
2013-08-09Merge remote-tracking branch 'core/master' into schema-alterationAndrew Godwin
Conflicts: django/db/models/options.py
2013-08-09Merge remote-tracking branch 'core/master' into schema-alterationAndrew Godwin
Conflicts: django/core/management/commands/flush.py django/core/management/commands/syncdb.py django/db/models/loading.py docs/internals/deprecation.txt docs/ref/django-admin.txt docs/releases/1.7.txt
2013-08-09Fixed test failures on Python 3 - refs #12288Tim Graham
2013-08-09Fixed test failures introduced by #12288Tim Graham
2013-08-09Fixed #12288 -- Added unique validation for INSTALLED_APPSSusanTan
2013-08-08Revert change to the default Form.clean()Marc Tamlyn
This means it doesn't break for people who are doing `cleaned_data = super(FooForm, self).clean()`.
2013-08-08Form.clean() does not need to return cleaned_data.Marc Tamlyn
If it does, that will be used as the cleaned_data. The default implementation has been changed to match this change.
2013-08-07Fixed #17424 -- annotate() + exclude() bugAnssi Kääriäinen
The bug was already fixed by 01b9c3d5193fe61b82ae8b26242a13fdec22f211, so only tests added. At the same time promote_joins()'s uncoditional flag is gone, it isn't needed for anything any more.
2013-08-06Fixed #20865 -- Fixed raw_id_fields to work with callable limit_choices_to.Collin Anderson
2013-08-06Fixed #19918 -- Modified select_for_update to run on the write database.Alex Cucu
2013-08-06Fixed #15511 -- Allow optional fields on ``MultiValueField` subclasses.Tai Lee
The `MultiValueField` class gets a new ``require_all_fields`` argument that defaults to ``True``. If set to ``False``, individual fields can be made optional, and a new ``incomplete`` validation error will be raised if any required fields have empty values. The ``incomplete`` error message can be defined on a `MultiValueField` subclass or on each individual field. Skip duplicate errors.
2013-08-06Merge pull request #1441 from loic/ticket16986Marc Tamlyn
Fixed #16986 -- Model.clean() can report errors on individual fields.
2013-08-06Fixed ordering related test failureAnssi Kääriäinen
Also PEP8 + python_2_unicode_compatible cleanup done.
2013-08-06Fixed #16986 -- Model.clean() can report errors on individual fields.Loic Bistuer
This commit provides the tests for this issue but the actual problem was solved by the ValidationError refactor in f34cfec and ee77d4b. Refs #20199.
2013-08-05Fixed #17667 -- Prevented app loading from skipping nonexistent apps after ↵Tim Graham
the first try Thanks ea2100@ for the report and akaariai for the patch.
2013-08-05Fixed #20850 -- Added MultiWidget.needs_multipart_formTim Heap
2013-08-04Fixed some intermittent Selenium test failures.Julien Phalip
2013-08-04Added some Selenium tests for the admin raw id widget.Julien Phalip
2013-08-04Introduced ModelAdmin.get_fields() and refactored get_fieldsets() to use it.Loic Bistuer
Refs #18681. This also starts the deprecation of ModelAdmin.declared_fieldsets
2013-08-04Deprecated SortedDict (replaced with collections.OrderedDict)Curtis Maloney
Thanks Loic Bistuer for the review.
2013-08-04Fixed #20822 -- Set content type of default error pages to 'text/html'.Aymeric Augustin
Thanks Jimmy Song for the patch.
2013-08-03Added ModelAdmin.get_search_fields.Loic Bistuer
2013-08-02Fixed LogEntry.get_admin_url() for non-existent models.Petr Dlouhý
Regression introduced by [369b6fa]; refs #18169.
2013-08-02Fixed #18681 -- GenericInlineModelAdmin.get_formset() no longer bypasses ↵Loic Bistuer
get_fieldsets(). Refs 23e1b59 which already fixed this issue for ModelAdmin and InlineModelAdmin.
2013-08-02Fixed #18777 -- Localized form fields with as_text/as_hiddenAleksandra Sendecka
Thanks croldan for the report.
2013-08-02Fixed #17519 -- Fixed missing SQL constraints to proxy models.Tim Graham
Thanks thibaultj for the report, jenh for the patch, and charettes for the tests.