summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-05-25Removed executeable bit from a few files.Florian Apolloner
2014-05-25Fixed a few warnings in the testsuite.Florian Apolloner
2014-05-26Fixed a ResourceWarning that wasn't properly fixed by the previous commit.Loic Bistuer
Also removed unused import in runtests.py.
2014-05-26Fixed a few ResourceWarning in the test suite. Refs #22680.Loic Bistuer
2014-05-25Removed code deprecated from Django 1.2Claude Paroz
2014-05-24Removed comment forgotten in 3caf957ed5Claude Paroz
2014-05-24Removed GeoWhereNode, obsoleted by GISLookupClaude Paroz
2014-05-24Fixed #22688 -- Documented ready() may be called more than onceClaude Paroz
2014-05-24Fixed #22676 -- makemigrations --dry-run should not ask for defaultsMoayad Mardini
Made the fix in InteractiveMigrationQuestioner class code, rather than MigrationAutodetector, because --dry-run shouldn't affect whether MigrationAutodetector will detect non-nullable fields, but the questioner should skip the question and returns a None for default (since that won't be used anyway) if --dry-run is used.
2014-05-24Fixed #22510 -- Harden field removal to only None.Marc Tamlyn
Refs #8620. If we allow any value to remove form fields then we get name clashes with method names, media classes etc. There was a backwards incompatibility introduced meaning ModelForm subclasses with declared fields called media or clean would lose those fields. Field removal is now only permitted by using the sentinel value None. The docs have been slightly reworded to refer to removal of fields rather than shadowing. Thanks to gcbirzan for the report and initial patch, and several of the core team for opinions.
2014-05-24Moved some imports in runtests.pyClaude Paroz
2014-05-24Applied unicode_literals to makemessages commandClaude Paroz
This also fixes #22686 as some sort of side-effect.
2014-05-24Made runtests.py use 'set_installed_apps' APIClaude Paroz
This will also trigger the ready method of any tested application, which was not run before.
2014-05-23Fixed tuple serialization test.Baptiste Mispelon
Thanks to rockallite for the report.
2014-05-23Fixed #22602 -- Improved code coverage of makemigrations command tests.Huu Nguyen
2014-05-22Fixed #21357 -- Fixed test client session initialization.Preston Timmons
The test client will now create a session when it is first accessed if no session already exists.
2014-05-22Fixed #21598 -- cleaned up template loader overrides in testsUnai Zalakain
- Template loader overriding is managed with contexts. - The test loader is a class (function based loaders entered deprecation timeline in 1.4). - Template loader overrider that overrides with test loader added.
2014-05-22Fixed #20816 -- Added hints about Django middleware orderingClaude Paroz
Thanks gthb Trac user for the report, kolypto StackOverflow user for the initial list and Tim Graham for the review.
2014-05-22Fixed #22667 -- Replaced leader/follower terminology with primary/replicaFlavio Curella
2014-05-22Fixed #22679 -- Fixed empty tuple serialization in MigrationWriter.Moayad Mardini
Thanks rockallite.wulf for the report.
2014-05-22Fix a test dependent on json ordering.Marc Tamlyn
2014-05-22Added omitted documentation for ArrayField__len.Marc Tamlyn
2014-05-22Merge pull request #2699 from graingert/patch-3Marc Tamlyn
the SECRET_KEY is not a hash
2014-05-22Made nested deconstruction support both forms of deconstruct()Marc Tamlyn
Nested deconstruction should (silently) handle Field.deconstruct() as well as other arbitrary deconstructable objects. This allows having a field in the deconstruction of another field.
2014-05-22the SECRET_KEY is not a hashThomas Grainger
2014-05-22Added array field support for PostgreSQL.Marc Tamlyn
The first part of django.contrib.postgres, including model and two form fields for arrays of other data types. This commit is formed of the following work: Add shell of postgres app and test handling. First draft of array fields. Use recursive deconstruction. Stop creating classes at lookup time. Add validation and size parameter. Add contained_by lookup. Add SimpleArrayField for forms. Add SplitArrayField (mainly for admin). Fix prepare_value for SimpleArrayField. Stop using MultiValueField and MultiWidget. They don't play nice with flexible sizes. Add basics of admin integration. Missing: - Tests - Fully working js Add reference document for django.contrib.postgres.fields.ArrayField. Various performance and style tweaks. Fix internal docs link, formalise code snippets. Remove the admin code for now. It needs a better way of handing JS widgets in the admin as a whole before it is easy to write. In particular there are serious issues involving DateTimePicker when used in an array. Add a test for nested array fields with different delimiters. This will be a documented pattern so having a test for it is useful. Add docs for SimpleArrayField. Add docs for SplitArrayField. Remove admin related code for now. definition -> description Fix typo. Py3 errors. Avoid using regexes where they're not needed. Allow passing tuples by the programmer. Add some more tests for multidimensional arrays. Also fix slicing as much as it can be fixed. Simplify SplitArrayWidget's data loading. If we aren't including the variable size one, we don't need to search like this.
2014-05-22Used link label in models FAQ to ease translationClaude Paroz
2014-05-21Merge pull request #2498 from ramiro/move-serverhandlerRamiro Morales
Moved ServerHandler helper class to tests.
2014-05-21Merge pull request #2679 from ramiro/t22421Ramiro Morales
Fixed #22421 -- Regression in fixtures loading.
2014-05-21Fixed #22639 -- Added missing imports in docsNiclas Åhdén
Added ModelForm and NON_FIELD_ERRORS imports.
2014-05-21Fixed #20477: Allowed list of modules for FORMAT_MODULE_PATHMartin Brochhaus
Previously the FORMAT_MODULE_PATH setting only accepted one string (dotted module path). A feature has been added to also allow a list of strings. This is useful when using several reusable third party apps that define new formats. We can now use them all and we can even override some of the formats by providing a project-wide format module.
2014-05-21Skipped a migrations test that's not supported on MySQL + Python 3.Tim Graham
2014-05-21Fixed unused import.Loic Bistuer
2014-05-21Fixed the ordering of prefetch lookups so that latter lookups can refer to ↵Loic Bistuer
former lookups. Thanks Anssi Kääriäinen and Tim Graham for the reviews. Refs #17001 and #22650.
2014-05-21Fixed #22650 -- Fixed regression on prefetch_related.Loic Bistuer
Regression from f51c1f59 when using select_related then prefetch_related on the reverse side of an O2O: Author.objects.select_related('bio').prefetch_related('bio__books') Thanks Aymeric Augustin for the report and tests. Refs #17001.
2014-05-20Merge pull request #2692 from fcurella/patch-5Alex Gaynor
#22667 replaced occurrences of master/slave terminology with leader/follower
2014-05-20replaced occurrences of master/slave terminology with leader/followerFlavio Curella
2014-05-20Fixed #22557 -- ManifestStaticFilesStorage did not cleanup deleted files.Denis Cornehl
When using ManifestStaticFilesStorage, deleted static files would be correctly cleaned up by "collectstatic --clear", but the manifest file would still contain the stale entries. Thanks to tedtieken for the report
2014-05-20Revert "Fixed #22645: Allow apps with no models module to still have migrations"Andrew Godwin
This reverts commit a4737bf6ae36a5f1cb29f2232f6deeff084fabff.
2014-05-20Fixed #22432: SQLite M2M repointing now works. Thanks to xelnor.Andrew Godwin
2014-05-20Fixed #22649: Beefed up quote_valueAndrew Godwin
2014-05-20Merge pull request #2634 from loic/ticket22424Andrew Godwin
Fixed #22424 -- MySQL doesn't accept migrations' one-off default values ...
2014-05-20Add feature for implied null (needed for Firebird backend)Andrew Godwin
2014-05-20Fixed #22645: Allow apps with no models module to still have migrationsAndrew Godwin
2014-05-20Removed unused translations in auth testsClaude Paroz
2014-05-20Merge pull request #2688 from whoshuu/22661Claude Paroz
Fixed #22661 -- Move makemigrations tests to the proper class
2014-05-19Fixed #22661 -- Move makemigrations tests to the proper classHuu Nguyen
2014-05-19Fixed #22638 -- Changed CookieWizardView to ignore invalid cookiesErik Romijn
2014-05-19Fix a2dd618 for mysql.Marc Tamlyn
2014-05-19Revert "Fixed regression from a2dd618e3b4a7472fab852da450ca5eef92a922f."Marc Tamlyn
This reverts commit 5a2556afb9b1b3ef6e0622552970c67ac84ecd28.