summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2014-05-19Fixed #22655 -- Fixed GeoQuerySet doc about strictly_belowMoayad Mardini
The paragraph was a copy of strictly_above.
2014-05-19Updated translation catalogsClaude Paroz
2014-05-19Re-added JS catalog in manage_translations scriptClaude Paroz
2014-05-19Fixed #22652 -- Replaced UserModel.objects with UserModel._default_manager.Tim Graham
Thanks alexdlaird for the report.
2014-05-19Revert "Fixed #20477: Allowed settings.FORMAT_MODULE_PATH to be a list of ↵Tim Graham
modules." This reverts commit 950b6de16ac2f8135612f2ed5984c090dd8e4dcf.
2014-05-19Removed locale dirs for single-message appsClaude Paroz
Considering that these apps only translate their app name, it's not worth having a whole bunch of po files just for that. The translatable app name for those apps will be integrated in Django core catalog.
2014-05-19Fixed #20477: Allowed settings.FORMAT_MODULE_PATH to be a list of modules.Martin Brochhaus
Previously the FORMAT_MODULE_PATH setting only accepted one string (dotted module path). 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-19Fixed #22368 -- clarified connecting to Oracle DB using service nameMoayad Mardini
Used the official terminology listed in http://docs.oracle.com/cd/B19306_01/network.102/b14212/glossary.htm#i997309 Thanks michael.cherkasov for the report.
2014-05-19Updated Django makemessages processClaude Paroz
makemessages should now automatically distribute translatable strings in the proper locale files, for Django too (see 50a8ab7cd1e6).
2014-05-19Merge pull request #2682 from alimony/welcome_page_local_02Claude Paroz
Fixed #22635 -- Make "It worked!" page localizable
2014-05-19Fixed #22635 -- Made "It worked!" page localizable.Markus Amalthea Magnuson
2014-05-18Removed some unnecessary exception naming; thanks claudep.Tim Graham
2014-05-18Fixed #21799 - Modified loaddata --ignorenonexistent to ignore models.Esau Rodriguez
2014-05-18Fixed regression from a2dd618e3b4a7472fab852da450ca5eef92a922f.Florian Apolloner
2014-05-18Refs #21230 -- removed direct settings manipulation from staticfile testsHuu Nguyen
2014-05-18Added "/" divider for DATE(TIME)_INPUT_FORMATS for Dutch locale.SaeX
Dutch ('nl-NL' and 'nl-BE') has several valid input formats; see http://nl.wikipedia.org/wiki/Datum_(dagtekening). Thanks Erik Romijn for review.
2014-05-18Failing testcases for #22649.Loic Bistuer
2014-05-18Fixed #22424 -- Fixed handling of default values for TextField/BinaryField ↵Loic Bistuer
on MySQL. Thanks syphar for the review and suggestions.
2014-05-17Fixed #22421 -- Regression in fixtures loading.Ramiro Morales
Loading fixtures were failing since the refactoring in 244e2b71f5 for inheritance setups where the chain contains abstract models and the root ancestor contains a M2M relation. Thanks Stanislas Guerra for the report. Refs #20946.
2014-05-17Moved wordwrap test to their own functionMarkus Amalthea Magnuson
The `wordwrap` tests were in the `test_wordcount()` method for some reason. This moves them to their own method, and make consistent use of double quotes where needed.