Commit Graph
83 Commits
Author SHA1 Message Date
Bastien GérardandGitHub ee664f0c90 Merge pull request #2406 from bagerard/improve_enumfield_doc
improve EnumField Doc and add quick test
2020-11-01 23:08:30 +01:00
Bastien GérardandGitHub 2f4464ead5 Merge pull request #2404 from mas15/add-enum-field
Add EnumField
2020-11-01 13:41:20 +01:00
Bastien GérardandGitHub 89b93461ac Merge pull request #2405 from bagerard/remove_encoding_declarations
remove utf8 encoding declaration in test files
2020-11-01 13:16:57 +01:00
Bastien GérardandGitHub 65f50fd713 Merge pull request #2387 from bagerard/fix_change_fields_inconsistencies
fix inconsistencies in ._changed_fields computation
2020-10-29 21:15:31 +01:00
Bastien GérardandGitHub 9f82a02ddf Merge pull request #2106 from bagerard/add_validation_to_doc
Add a documentation page for validation
2020-10-20 00:27:05 +02:00
Bastien GérardandGitHub 38047ca992 Merge pull request #2396 from bagerard/fix_readthedocs_failed_build
Fix readthedocs build that failed
2020-10-18 22:04:01 +02:00
Bastien GérardandGitHub 0bbc05995a Merge pull request #2393 from bagerard/fix_listfield_change_0
Fix listfield change detection of index 0
2020-10-11 10:15:18 +02:00
Bastien GérardandGitHub 4665658145 Merge pull request #2390 from bagerard/bump_latest_lib_ci
Upgrade pymongo and mongodb versions used in CI
2020-10-07 21:41:12 +02:00
Bastien GérardandGitHub ff40f66291 Merge pull request #2243 from bagerard/fix_count_documents_deprecation
Fix count documents deprecation
2020-08-12 22:18:02 +02:00
Bastien GérardandGitHub 9e7ca43cad Merge pull request #2365 from hiimdoublej/fix/queryTransform
Fix query transformation regarding special operators
2020-08-11 22:18:33 +02:00
Bastien GérardandGitHub 604e9974b6 Merge pull request #2363 from bagerard/AttributeError_message_attr
fix py3 incompatible code
2020-08-03 21:37:36 +02:00
Bastien GérardandGitHub 4f188655d0 Merge pull request #2335 from bagerard/fix_limit0_bug
Fix bug with Doc.objects.limit(0) which should return all docs
2020-05-27 09:43:35 +02:00
Bastien GérardandGitHub 107a1c34c8 Merge pull request #2331 from abarto/fix/clone-retain-read-preference-read-concern
Add read_concern to cloned properties. Add read_concern to aggregate().
2020-05-23 23:22:56 +02:00
Bastien GérardandGitHub 4275c2d7b7 Merge pull request #2330 from terencehonles/fix-empty-deprecation-warning-in-q-node
fix self inflicted deprecation warnings in QNode
2020-05-19 22:02:12 +02:00
Bastien GérardandGitHub 3db9d58dac Merge pull request #2319 from bagerard/prepare_0_20_0
Bump version to 0.20.0 and update CHANGELOG accordingly
2020-05-01 13:24:01 +02:00
Bastien GérardandGitHub 130e9c519c Merge pull request #2314 from bagerard/abarto-feature/allow-setting-read-concern-queryset
Abarto feature/allow setting read concern queryset
2020-04-26 22:57:57 +02:00
Bastien GérardandGitHub 38ebb5abf4 Merge branch 'master' into feature/allow-setting-read-concern-queryset 2020-04-26 22:36:47 +02:00
Bastien GérardandGitHub 9b73be26ab Merge pull request #2313 from bagerard/DonQueso89-master
Improve docstring EmbeddedDocumentList (clone)
2020-04-26 22:33:39 +02:00
Bastien GérardandGitHub f5f8b730b5 Merge pull request #2254 from bagerard/fix_complex_datetime_field_invalid_string_set
fix complex datetime field invalid string set
2020-04-25 22:17:20 +02:00
Bastien GérardandGitHub 49b0d73654 Merge pull request #2310 from bagerard/Pacu2-add-dev-tools
Pacu2 add dev tools
2020-04-25 21:53:50 +02:00
Bastien GérardandGitHub ece63ad071 Merge pull request #2279 from bagerard/drop_py2_support
Drop python 2 support
2020-04-25 14:22:23 +02:00
Bastien GérardandGitHub a9550b8243 Merge pull request #2232 from bagerard/bump_development_status_classifier
Bump development status classifier
2020-04-25 14:17:46 +02:00
Bastien GérardandGitHub 0a0e6114f5 Merge branch 'master' into drop_py2_support 2020-04-19 23:13:36 +02:00
Bastien GérardandGitHub 41d36fa3bf Merge pull request #2304 from bagerard/fix_py2_configparser
fix subdependencies that dropped Py2 support
2020-04-09 09:20:39 +02:00
Bastien GérardandGitHub 463e7c66af Merge pull request #2287 from bagerard/fix_queryset_get_error_message_multiple_match
Improve MultipleObjectsReturned message from queryset.get
2020-04-08 21:28:56 +02:00
Bastien GérardandGitHub f49baf5d90 Merge pull request #2285 from bagerard/remove_drop_dups
Remove drop_dups that was deprecated with Mongo3
2020-03-18 21:02:03 +01:00
Bastien GérardandGitHub 6cc6229066 Merge pull request #2245 from bagerard/remove_old_deprecated_method
[>= 0.19.0] Remove old deprecated method
2020-03-17 23:51:42 +01:00
Bastien GérardandGitHub 68be9fe979 Merge pull request #2284 from bagerard/remove_field_name_attribute_deprecated
Remove name param in Field constructor (replaced by db_field)
2020-03-17 21:46:38 +01:00
Bastien GérardandGitHub beaa9744b7 Merge pull request #2283 from bagerard/remove_slave_okay_deprecated
remove qs.slave_okay() that is deprecated since pymongo3
2020-03-17 21:27:50 +01:00
Bastien GérardandGitHub 00ae6298d4 Merge pull request #2242 from bagerard/fix_dictfield_validation
Fix bug introduced in 0.19 related to DictField validation
2020-03-17 20:26:54 +01:00
Bastien GérardandGitHub 7c533394fd Merge pull request #2267 from abarto/support-elemmatch-projection
Add support for the elemMatch projection operator
2020-03-15 22:25:08 +01:00
Bastien GérardandGitHub c937af3919 Merge pull request #2281 from bagerard/fix_py38_deprecation_warn
Fix invalid escape seq in codebase
2020-03-15 21:16:54 +01:00
Bastien GérardandGitHub a4d11eef46 Merge pull request #2264 from Pacu2/2263/combining-raw-and-regular-queries
Fix for combining raw and regular filters
2020-03-03 23:48:31 +01:00
Bastien GérardandGitHub b453a96211 Merge pull request #2272 from leodmgs/add-return-docstr-to-save-function
Add return info in the save function docstring
2020-03-02 21:27:39 +01:00
Bastien GérardandGitHub 235b1a3679 Merge pull request #2265 from bagerard/fix_ci_lib_drop_python2_support
fix indirect library version (zipp) that dropped python2 support recently
2020-02-08 13:45:13 +01:00
Bastien GérardandGitHub b2c3acd025 Merge pull request #2244 from bagerard/mongodb_40
Mongodb 40
2020-01-13 23:26:11 +01:00
Bastien GérardandGitHub 9490ad2bf7 Merge pull request #2238 from bagerard/test_latest_pymongo
include latest pymongo version in travis
2020-01-07 09:35:49 +01:00
Bastien GérardandGitHub 1cc20c9770 Merge pull request #2237 from timgates42/bugfix/typo_thoroughly
Fix simple typo: thorougly -> thoroughly
2020-01-05 11:17:49 +01:00
Bastien GérardandGitHub dcf3edb03e Merge pull request #2094 from divomen/negative_indexes_in_list
Supported updates of an array by negative index
2019-12-20 23:48:00 +01:00
Bastien GérardandGitHub 8d31f165c0 Merge pull request #2182 from daewok/fix-embedded-document-equality-with-lazy-refs
Fix EmbeddedDocument equality with LazyReferenceFields
2019-12-16 23:57:50 +01:00
Bastien GérardandGitHub 4d6ddb070e Merge pull request #2210 from Pacu2/fix/implement-bool-on-q-and-qcombination
Add __bool__ to Q and QCombination
2019-12-13 20:53:33 +01:00
Bastien GérardandGitHub 7e30f00178 Merge pull request #2195 from EloiZalczer/master
Added alias parameter in query_counter
2019-12-04 21:50:41 +01:00
Bastien GérardandGitHub 35310dbc73 Merge pull request #2204 from Pacu2/2203/ability-to-compare-q-objects
Add __eq__ to Q and Q operations
2019-12-04 20:58:04 +01:00
Bastien GérardandGitHub 138e759161 Merge pull request #2187 from bagerard/improve_error_message_InvalidDocumentError
Improve error message from InvalidDocumentError
2019-11-08 21:27:17 +01:00
Bastien GérardandGitHub f1d6ce7d12 Merge pull request #2189 from jangop/patch-1
Specify version of requirement
2019-11-08 21:25:41 +01:00
Bastien GérardandGitHub bff78ca8dd Merge pull request #2188 from bagerard/convert_assertions
Convert assertions
2019-11-05 20:06:59 +01:00
Bastien GérardandGitHub aa6ff8c84a Merge pull request #2157 from bagerard/switch_pytest
Switch to pytest as runner
2019-10-31 22:50:39 +01:00
Bastien GérardandGitHub ecefa05e03 Merge pull request #2174 from bagerard/upgrade_latest_pymongo_travis
add latest pymongo 3.9 as part of the CI
2019-10-28 21:22:00 +01:00
Bastien GérardandGitHub 178851589d Merge pull request #2175 from bagerard/document_no_async_driver_support
Document no async driver support
2019-10-16 20:34:26 +02:00
Bastien GérardandGitHub 933cb1d5c7 Merge pull request #2144 from 0a69911a/master
Implement collation for queryset
2019-09-11 23:27:25 +02:00
Bastien GérardandGitHub 6203e30152 Merge pull request #2160 from vainu-arto/fix-trust-default-cursor-timeout
Only set no_cursor_timeout when requested
2019-09-11 22:09:56 +02:00
Bastien GérardandGitHub 4c4b7cbeae Merge pull request #2156 from bagerard/rename_test_files_for_pytest_migration
rename all test files so that they are prefixed by test
2019-08-28 16:17:38 +03:00
Bastien GérardandGitHub 0d01365751 Merge pull request #2131 from NMFR/master
Set default database when using mongomock.
2019-07-22 11:56:56 +02:00
Bastien GérardandGitHub 2d28c258fd Merge pull request #2115 from bagerard/use_globals_in_travis_yml
Use global constants for mongo/pymongo in travis.yml
2019-07-03 11:47:35 +02:00
Bastien GérardandGitHub bc14f2cdaa Merge pull request #2083 from bagerard/improve_travis_yml2
add pypy3 back to travis and improve python 3.7 integration
2019-06-30 21:11:00 +02:00
Bastien GérardandGitHub b1002dd4f9 Merge pull request #2097 from bagerard/remove_deprecated_pymongo_methods
remove pymongo deprecated methods: find_and_modify & remove
2019-06-24 22:03:58 +02:00
Bastien GérardandGitHub e8dbd12f22 Merge pull request #2091 from bagerard/release_0_18_1
Bump version number and update changelog for 0.18.1
2019-06-18 22:56:57 +02:00
Bastien GérardandGitHub 7fac0ef961 Merge pull request #2082 from divomen/v0.18.0_fix
Fix a big issue when determine if there is a new document
2019-06-17 22:30:18 +02:00
Bastien GérardandGitHub 0ac59c67ea Merge pull request #2068 from bagerard/fix_connection_auth_same_host
Fix connection issue when using different authentication in different dbs
2019-06-07 21:08:26 +02:00
Bastien GérardandGitHub 24ba35d76f Merge pull request #2062 from george-pearson/deprecation_warning_pymongo
Use update_one instead of deprecated update #1899
2019-05-26 21:20:56 +02:00
Bastien GérardandGitHub 7531f533e0 Merge pull request #2054 from abarto/add-nin-support-transform
Add support for '$nin' when transforming a 'pull' update query.
2019-05-18 11:14:32 +02:00
Bastien GérardandGitHub c439150431 Merge pull request #2031 from yandrieiev/fail_fast_when_invalid_db_name
Fail fast when db name is invalid
2019-04-10 22:50:29 +02:00
Bastien GérardandGitHub 4caa58b9ec Merge pull request #2029 from nsuthar0914/patch-1
Fix limit usage in aggregate
2019-04-07 22:32:31 +02:00
Bastien GérardandGitHub 827de76345 Merge pull request #2007 from GVRV/feature/fix_multiple_dereference_calls
Fix Multiple Redundant Dereference Calls
2019-03-30 20:39:31 +01:00
Bastien GérardandGitHub 73b12cc32f Merge pull request #2021 from pauloAmaral/fix_indices_sortedlist_embedded_document_list
Generate Unique Indices for SortedListField and EmbeddedDocumentListField
2019-03-18 18:23:28 +01:00
Bastien GérardandGitHub 3d762fed10 Merge pull request #2016 from lalala223/master
Update querying.rst
2019-03-16 20:27:48 +01:00
Bastien GérardandGitHub 88c4aa2d87 Merge pull request #2014 from MongoEngine/draft_v017
Bump version 0.17.0
2019-03-11 22:02:41 +01:00
Bastien GérardandGitHub 6cfe6652a3 Merge pull request #2001 from bagerard/separate_date_fields_tests_into_submodules
Separate fields tests into separate modules (date/datetime/complexdt)
2019-02-19 20:57:15 +01:00
Bastien GérardandGitHub a657f29439 Merge pull request #1996 from hrmon/patch-1
Fix indentation in LazyReferenceField ref doc
2019-02-16 20:31:19 +01:00
Bastien GérardandGitHub 6aacb0c898 Merge pull request #1982 from gbroques/add-long-field-to-docs
Add missing LongField to Fields list in Documentation
2018-12-29 23:28:02 +01:00
Bastien GérardandGitHub fce994ea7f Merge pull request #1975 from bagerard/dictfield-key-with-dollar-char__clone
PR CLONE - Dictfield key with dollar char  clone
2018-12-27 23:02:00 +01:00
Bastien GérardandGitHub 2c6a744848 Merge pull request #1853 from bagerard/fix_baselist_marked_changed_bug
Fix BaseList/Dict bug with marked_as_changed getting called when operation fails
2018-12-19 20:16:57 +01:00
Bastien GérardandGitHub bdd6041a5c Merge pull request #1960 from bagerard/bump_version_0_16_2
bump version to 0.16.2
2018-11-21 13:45:13 +01:00
Bastien GérardandGitHub b92c4844eb Merge pull request #1949 from bagerard/fix_delta_bug
Fix bug in _delta method - setting ListField to empty in DynamicDocument is faulty
2018-11-13 21:44:02 +01:00
Bastien GérardandGitHub 364dc9ddfb Merge pull request #1937 from bagerard/changelog
Bump version to 0.16.0 + update changelog
2018-11-05 09:38:58 +01:00
Bastien GérardandGitHub 26e2fc8fd4 Merge pull request #1887 from bagerard/fix_changed_fields_issue_same_id_in_nested_doc2
Fix bug where an EmbeddedDocument with the same id as its parent would not be tracked for changes
2018-11-01 22:49:07 +01:00
Bastien GérardandGitHub 354cfe0f9c Merge pull request #1935 from bagerard/generic_ref_field_changed
Fix bug when doing modifications to generic-referenced document
2018-10-31 15:53:13 +01:00
Bastien GérardandGitHub 8e1c4dec87 Merge pull request #1846 from bagerard/fix_validator_of_binary_field
fix validator of BinaryField
2018-10-26 22:14:08 +02:00
Bastien GérardandBastien Gérard d6e39b362b Updating inheritance doc
Fixes #429
2018-09-09 14:52:08 +02:00
Bastien GérardandBastien Gérard 461b789515 relates to (#710)
- Update gridfs.rst to make it clearer that you should save the Document hosting the GridFSProxy after calling .delete() or .replace() on the GridFSProxy
- updated GridFSProxy.__str__ so that it would always print both the filename and the grid_id. This should improve debugging
2018-08-19 23:45:08 +02:00
Bastien GérardandBastien Gérard 1a2b1f283b Update signals doc - clarification on EmbeddedDocument
Since there is a .save() method on EmbeddedDocument, you could be tempted to attach a pre_save event to an EmbeddedDocument (#1720). This update is an attempt to make this clearer.
2018-08-13 22:16:32 +02:00
bagerardandStefan Wójcik b27c7ce11b allow to use sets in field choices (#1482) 2017-02-15 08:51:47 -05:00
Bastien feb5eed8a5 fixed minor typo in docstring 2016-01-21 16:59:37 +01:00