summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2014-10-15Added unicode_literals to the jslexer.Florian Apolloner
This ensure that ''.join(c) in jslex.py always returns text.
2014-10-15Fixed #23651 -- Isolated non-existent fixture testsClaude Paroz
Previous versions of the tests were buggy, as initial_data.json did exist and the test wasn't failing. It was finally failing on Python 3.4.2. Thanks Raphaël Hertzog for the report (and Debian bug #765117 contributors).
2014-10-14Adapted invalid cookie test to all Python versionsClaude Paroz
Refs #23638. Older Python versions are less strict when parsing invalid cookie content. The test just has to ensure Django doesn't crash.
2014-10-13Fixed #23638 -- Prevented crash while parsing invalid cookie contentClaude Paroz
Thanks Philip Gatt for the report and Tim Graham for the review.
2014-10-12Fixed #23063 -- Convert \n and \r to \r\n when using the SMTP backend as per ↵Florian Apolloner
RFC.
2014-10-10Fixed #23616 - Fixed generic relations in ModelAdmin.list_filter.Konrad Świat
Thanks ranjur for reporting bug, timgraham for review, and collinanderson for contributing tips.
2014-10-10Fixed #23613 -- Deprecated django.utils.checksumsJaap Roes
2014-10-09Avoided requiring sqlparse for a test.Collin Anderson
Refs #23426. Thanks Markus Holtermann for the suggestion.
2014-10-09Fixed #23612 -- Normalized fixuture paths to allow referencing relative ↵Brandon Taylor
paths on Windows.
2014-10-09Fixed #23627 -- Allowed register_lookup to work as a decorator.Marc Tamlyn
2014-10-09Skip another test if sqlparse is not availableCollin Anderson
Refs #23426
2014-10-09Fixed #23609 -- Fixed IntegrityError that prevented altering a NULL column ↵Markus Holtermann
into a NOT NULL one due to existing rows Thanks to Simon Charette, Loic Bistuer and Tim Graham for the review.
2014-10-08Fixed flake8 warning.Tim Graham
2014-10-08Fixed #23600 -- Made default_storage aware of more settings changes.Duncan Parkes
Added MEDIA_URL, FILE_UPLOAD_PERMISSIONS, and FILE_UPLOAD_DIRECTORY_PERMISSIONS to the list of settings.
2014-10-08Fixed #23555 -- Avoided suppressing IndexError in QuerySet.first() and .last()Artem Rizhov
2014-10-08Fixed misplaced test case.Loic Bistuer
2014-10-08Fixed #23611 -- update_or_create failing from a related managerLoic Bistuer
Added update_or_create to RelatedManager, ManyRelatedManager and GenericRelatedObjectManager. Added missing get_or_create to GenericRelatedObjectManager.
2014-10-07Fixed #23522 -- Changed reverse() to return a Unicode string; not bytesJon Dufresne
2014-10-07Refactored model lookup tests; refs #18586.Browniebroke
2014-10-06Fixed #23593 -- Fixed crash in AdminEmailHandler with non-ASCII characters ↵Tim Graham
in request. Thanks edevil for the report and Simon Charette for review.
2014-10-06Merge pull request #3308 from aericson/ticket_22064Carl Meyer
Fixed #22064 -- Add check for related_name
2014-10-07Fixed #23594 -- Fixed deepcopy on ErrorList.Loic Bistuer
Thanks Troy Grosfield for the report and Tim Graham for the tests.
2014-10-06Fixed #23601 -- Ensured view exists in URLconf before importing it in admindocs.Markus Holtermann
2014-10-06Fixed #23604 -- Allowed related m2m fields to be references in the admin.Emmanuelle Delescolle
Thanks Simon Charette for review.
2014-10-04Fixed #22064 -- Add check for related_nameAndré Ericson
Validates that related_name is a valid Python id or ends with a '+' and it's not a keyword. Without a check it passed silently leading to unpredictable problems. Thanks Konrad Świat for the initial work.
2014-10-02Fixed #23482 -- Added SingleObjectMixin.query_pk_and_slugJon Dufresne
Enabling the attribute causes get_object() to perform its lookup using both the primary key and the slug.
2014-10-02Fixed #23426 -- Allowed parameters in migrations.RunSQLMarkus Holtermann
Thanks tchaumeny and Loic for reviews.
2014-09-30Fixed #23569 -- Allowed using configs besides dictConfig in LOGGING_CONFIG.Seth Hill
2014-09-30Fixed flake8 warnings.Tim Graham
2014-09-30Fixed #7361 -- Added cancel link to admin delete views.Nick Sandford
2014-09-29Fixed #23365 -- Added support for timezone-aware datetimes to migrations.Rudy Mutter
2014-09-29Fixed #23567 -- Made assertQuerysetEqual check Counter equality when ↵Thomas Chaumeny
ordered=False
2014-09-29Fixed flake8 warnings.Tim Graham
2014-09-29Replaced set([foo, ...]) by {foo, ...} literals. Refs PR 3282.Thomas Chaumeny
Thanks Collin Anderson for the review.
2014-09-27Fixed #22738 -- made finer distinctions for when Boolean is not detected on ↵Shai Berger
Oracle Thanks Claude Paroz for partial fix and Simon Charrette for review
2014-09-26Fixed #22738 -- Abstracted boolean field type introspectionClaude Paroz
Thanks maxi for the report, Shai Berger for his help with the patch and Tim Graham for the review.
2014-09-27Fixed #23560 -- Fixed MigrationWrite to handle builtin types without imports.Loic Bistuer
Thanks Tim Graham for the review.
2014-09-26Fixed #23460 -- Added literal `%s` support to extra() QuerySets.Matt Robenolt
2014-09-26Fixed #8408 -- Added ModelAdmin.show_full_result_count to avoid COUNT() query.Thomas Chaumeny
Thanks lidaobing for the suggestion.
2014-09-25Fixed #23455 -- Forced related_name to be a unicode string during ↵Markus Holtermann
deconstruction.
2014-09-26Refactored m2m_through tests. Refs #18586Davide Ceretti
Refactored old tests that were rewritten 1:1 from doctests.
2014-09-25Fixed #23415 -- Added fields for unmanaged and proxy model migrations.Markus Holtermann
Thanks sky-chen for the report.
2014-09-25Fixed #23551 -- Fixed bash autocompletion crash on Python 3.Marco Buttu
2014-09-24Revert "Fixed #23474 -- Prevented migrating backwards from unapplying the ↵Tim Graham
wrong migrations." This reverts commit abcf28a07695a45cb5fb15b81bffc97bea5e0be3.
2014-09-24Fixed #23421 -- Corrected TEST SERIALIZE setting.Tim Graham
Thanks gkoller for the report.
2014-09-24Fixed #23426 -- Don't require double percent sign in RunSQL without parametersMarkus Holtermann
2014-09-24Fixed flake8 warnings.Tim Graham
2014-09-24Fixed #23539 -- Added get_extra(), get_max_num(), and get_min_num() hooks to ↵Justin Caratzas
GenericInlineModelAdmin.
2014-09-24Removed numbering from the models.py header of some test packages.Loic Bistuer
This is a reliqua from the early days of the modeltests/regressiontests era.
2014-09-24Changed Oracle test-user creation to grant privileges instead of rolesShai Berger
because the roles (specifically RESOURCE) are deprecated. Also added optional support for creating views in tests, and made an introspection test fail (rather than skip) if a view cannot be created due to lacking privileges. Refs #18782 Thanks Tim Graham for review, and Josh Smeaton