summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2014-03-20Fixed a small collection of flake8 violations that had snuck inAlex Gaynor
2014-03-19Fixed #22275: unique_together broken if ForeignKey split into new file.Andrew Godwin
Thanks to bak1an for the patch.
2014-03-19Merge pull request #2221 from bmispelon/LazyObject-refactorAndrew Godwin
Fixed #21840 -- Moved dunder methods from SimpleLazyObject to LazyObject...
2014-03-15Fixed #22184 -- Allowed template_tests.tests to be run isolatedAnubhav Joshi
2014-03-14Fixed #22001 -- Ensure db_type is respected.Marc Tamlyn
db_parameters should respect an already existing db_type method and return that as its type string. In particular, this was causing some fields from gis to not be generated. Thanks to @bigsassy and @blueyed for their work on the patch. Also fixed #22260
2014-03-14Fixed #22272 -- Fixed regression in DecimalField when using decimal_places=0.Baptiste Mispelon
Thanks to trac user merb for the report.
2014-03-14Merged model_forms_regress with model_forms testsClaude Paroz
2014-03-14Fixed #6103 -- Splitted tests in model_forms testsClaude Paroz
2014-03-13Fixed #22245 -- Avoided widget overwrite in forms.IntegerField subclassesClaude Paroz
Thanks Jeroen Pulles for the report and Simon Charette for the review.
2014-03-13Fixed #21840 -- Moved dunder methods from SimpleLazyObject to LazyObject.Baptiste Mispelon
This commit also added tests for LazyObject and refactored the testsuite of SimpleLazyObject so that it can share test cases with LazyObject.
2014-03-13Skip test for saving microseconds on backends which do not support it.Shai Berger
2014-03-12Fixed #20292: Pass datetime objects (not formatted dates) as params to OracleShai Berger
This seems worthwhile in its own right, but also works around an Oracle bug (in versions 10 -- 11.1) where the use of Unicode would reset the date/time formats, causing ORA-01843 errors. Thanks Trac users CarstenF for the report, jtiai for the initial patch, and everyone who contributed to the discussion on the ticket.
2014-03-12Flake8 correctionsShai Berger
2014-03-12Fixed test failure on Oracle: model_fields.tests.test_float_validates_objectShai Berger
Failing test introduced in fix for refs #22210.
2014-03-11Fixed #22217 - ManyToManyField.through_fields fixes.Akis Kesoglou
- Docs description of arguments mix up. - Keep it from erroneously masking E332 check. - Add checks E338 and E339, tweak message of E337.
2014-03-11Remove failing test while we fix the underlying bugAndrew Godwin
2014-03-11Fixed test failures on Windows.Tim Graham
refs #21092 and 8d7e048a8b428bebe82be735a84570f9250441e6
2014-03-11Fix AlterField migrations that are related to a RenameModel migrationChris Beaven
2014-03-11Fix autodetector creation of RenameModel migration to capitalize model namesChris Beaven
2014-03-10Fixed #22210 -- Saving model instances to non-related fields.Daniel Pyrathon
Previously, saving a model instance to a non-related field (in particular a FloatField) would silently convert the model to an Integer (the pk) and save it. This is undesirable behaviour, and likely to cause confusion so the validatio has been hardened. Thanks to @PirosB3 for the patch and @jarshwah for the review.
2014-03-10Fixed #22239 -- Add auto detection of renamed modelsChris Beaven
2014-03-09Fixed #22237 -- Removed some warnings in the test suiteClaude Paroz
Thanks Aymeric Augustin for the report.
2014-03-09Removed obsolete hack to run template tests.Aymeric Augustin
2014-03-09Avoided leaking warning filters.Aymeric Augustin
2014-03-09Corrected a few missed references to old test settingsShai Berger
2014-03-084 flake8 warning fixesAlex Gaynor
2014-03-08Fixed #21843: Remove explicit ID column setting in testAndrew Godwin
2014-03-08Fixed #22183: Through M2Ms now correctly handledAndrew Godwin
2014-03-08Merge pull request #2315 from bendavis78/issues/22073Andrew Godwin
Fixed #22073 - Ensure CreateTable operation handles backwards migration correctly when M2M fields are present
2014-03-08Fixed #22199: Bad max_length deconstruction for FileFieldAndrew Godwin
2014-03-08Improved compatibility in admin_scripts testsClaude Paroz
Environment keys/values need to use native strings on some plateforms. Thanks anubhav joshi for detecting the issue and helping shaping the patch.
2014-03-08Fixed #21092 -- Ensured admin_scripts tests are run with warnings offClaude Paroz
2014-03-08Avoided modifying current environment in admin_scripts testsClaude Paroz
2014-03-08Added test about error filterwarningsClaude Paroz
Refs #20083.
2014-03-08Avoided changing raw DeprecationWarning filter behaviorClaude Paroz
Refs #21188. Now pure Python DeprecationWarning visibility should be back to Python defaults.
2014-03-08Fixed #21188 -- Introduced subclasses for to-be-removed-in-django-XX warningsClaude Paroz
Thanks Anssi Kääriäinen for the idea and Simon Charette for the review.
2014-03-08Fixed #22034 -- Added a specific set of relation checks for ↵Russell Keith-Magee
GenericInlineModelAdmin. Thanks to jwa for the report.
2014-03-07Fixed #21863 -- supplemented get_lookup() with get_transform()Anssi Kääriäinen
Also fixed #22124 -- Expanded explanation of exactly what is going on in as_sql() methods.
2014-03-06Fixed #22204: Bad circular-dep-breaking if more than one per runAndrew Godwin
2014-03-06Fixed #22185 -- Added settings.CSRF_COOKIE_AGERoger Hu
Thanks Paul McMillan for the review.
2014-03-05Fixed #22207 -- Added support for GenericRelation reverse lookupsGabe Jackson
GenericRelation now supports an optional related_query_name argument. Setting related_query_name adds a relation from the related object back to the content type for filtering, ordering and other query operations. Thanks to Loic Bistuer for spotting a couple of important issues in his review.
2014-03-05Fixed #14549 - Removed restriction of single FKs on intermediary tablesAkis Kesoglou
Thanks to Loic Bistuer for review. Minor changes to error messages done by committer.
2014-03-05Fixed #22206 -- Passed models.TextField.max_length to forms.CharField.maxlengthChris Wilson
2014-03-05Really hidden warnings in javascript_quote testsClaude Paroz
Refs #21725.
2014-03-05Fixed incorrect docstring in cache tests (take two)Baptiste Mispelon
3e25c8ac69ae336102d91f1d2591ab03f3a91e33 was an incomplete merge of the pull request. Thanks to @ramast for catching this.
2014-03-05Fixed #7571 -- Fixed parameter matching in include()'d urlpatternAthena
Fixed URL resolving in the case where an outer regex includes an inner regex and both regexes use positional parameters instead of named groups, causing the outer regex's parameters to override the inner regex's. Modified the regex url resolver so that it will concatenates and then normalizes, instead of normalizing and then concatenating.
2014-03-04Fixed three small flake8 violations.Alex Gaynor
2014-03-04Fixed incorrect docstring in cache testsramast
2014-03-04Merge pull request #2396 from loic/ticket21893Andrew Godwin
Fixed #21893 -- ModelState didn't account for MTI parents inherited from abstract models.
2014-03-05Fixed #21893 -- ModelState didn't account for MTI parents inherited from ↵Loic Bistuer
abstract models.