idoshr
85b0c1c945
Update AUTHORS
2021-09-20 22:36:13 +03:00
Bastien Gerard
0af96b1323
Add test for DecimalField(precision=0) and raise exception if negative/invalid values are provided
2021-08-07 22:38:27 +02:00
Timothé Perez
88642eb021
Fix deepcopy on EmbeddedDocument
2021-08-01 10:09:24 +02:00
Jan Stein
8fd969aba9
Test case and proposed solution for #2484
2021-03-03 14:58:03 +01:00
Felix Schultheiß
e5f6e4584a
Merge commit master into bugfix-save-sharding
2020-11-03 10:05:31 +01:00
Felix Schultheiß
79f9f223d0
added to authors
2020-11-03 10:00:15 +01:00
Mateusz Stankiewicz
c9d53ca5d5
Add EnumField
2020-10-30 13:06:37 +01:00
Bastien Gérard
78c9e9745d
fix linting + update changelog & contributors
2020-04-26 22:51:56 +02:00
Leonardo Domingues
81f9b351b3
Add return info in the save function docstring
2020-02-21 19:14:34 -03:00
Bastien Gérard
b5485b16e6
Merge branch 'allow-periods-in-dict' of https://github.com/mcsimps2/mongoengine into mcsimps2-allow-periods-in-dict
2019-12-26 20:47:46 +01:00
Eric Timmons
0d4e61d489
Add daewok to AUTHORS per contributing guidelines
2019-12-15 20:21:18 -05:00
Matt Simpson
b205314424
Add ability for dict keys to have . or $ in MongoDB >= 3.6
...
Starting in MongoDB >= 3.6, it is valid for dictionary keys to have $ or . in them as long as they don't start with $. Additional tests added.
2019-12-10 11:09:29 -05:00
Filip Kucharczyk
091238a2cf
Update Authors
2019-12-03 00:54:46 +01:00
Yurii Andrieiev
b5213097e8
Fail fast when db name is invalid
...
Without this commit save operation on first document would fail instead of immediate failure upon connection attempt. Such later failure is much less obvious.
2019-04-07 23:21:12 +03:00
Gaurav Dadhania
fdcaca42ae
Do not keep calling _dereference on values if it has already been dereferenced.
2019-03-25 09:43:42 +05:30
Paulo Amaral
ba6a37f315
Generate Unique Indices for SortedListField and EmbeddedDocumentListFields
2019-03-18 11:32:53 +00:00
Tom Floyer
c88ea40b57
Updated AUTHORS
2018-12-08 22:32:46 +03:00
Trevor Hall
352b23331b
Fix bug #1965 of $position and $push operators do not work with list in an EmbeddedDocument. Set key value to joined parts excluding the index at the end. Added test case
2018-12-05 20:18:48 -06:00
Bastien Gérard
a7658c7573
fix BaseList.__iter__ operator ( #1305 ) + minor improvements
2018-08-25 16:33:43 +02:00
Andy Yankovsky
2f4e2bde6b
Update AUTHORS
2017-09-14 21:02:53 +03:00
erdenezul
7311895894
Merge branch 'master' into support_position_in_push
2017-07-13 20:08:57 +08:00
Davidrjx
a7cab51369
Use a set literal in _clean_settings ( #1585 )
2017-07-13 12:07:36 +02:00
Erdenezul Batmunkh
f3ee4a5dac
add tests for push operator #1565
2017-06-19 02:59:17 +00:00
Дмитрий Янцен
7ce8768c19
Added rounding for unicode return value of to_mongo in DecimalField. Closes #1103
2016-12-06 10:42:10 +05:00
Stanivlav Kaledin
23d06b79a6
Add info in CHANGELOG
2016-11-17 19:05:46 +03:00
iici-gli
e5b6a12977
Merge pull request #1 from MongoEngine/master
...
pull new changes from original
2016-09-04 23:43:04 -04:00
Victor
327e164869
Fix for #1176 -- similar to https://github.com/MongoEngine/mongoengine/pull/982 but for update
.
2016-09-04 08:12:17 +03:00
xiaost
be0aee95f2
Update changelog for #1304
2016-06-03 01:27:39 +08:00
Shu Shen
3f30808104
Fix AttributeError when creating EmbeddedDocument
...
When an EmbeddedDocument is initialized with positional arguments, the
document attempts to read _auto_id_field attribute which may not exist
and would throw an AttributeError exception and fail the initialization.
This change and the test is based on the discussion in issue #681 and
PR #777 with a number of community members.
2016-04-07 15:18:33 -07:00
Neurostack
00430491ca
Fixed bug accessing ListField (BaseList) with negative indices
...
If you __setitem__ in BaseList with a negative index and then try to save this, you will get an error like: OperationError: Could not save document (cannot use the part (shape of signal.shape.-1) to traverse the element ({shape: [ 0 ]})). To fix this I rectify negative list indices in BaseList _mark_as_changed as the appropriate positive index. This fixes the above error.
2016-03-31 08:04:19 -06:00
Gilbert Gilb's
7cc1a4eba0
Fix long fields stored as int32 in Python 3. issue #1253
2016-03-18 19:45:34 +01:00
Bryan Bennett
8f8217e928
Add Bryan Bennett to AUTHORS
2016-01-26 08:34:52 -05:00
RussellLuo
a81d6d124b
Update AUTHORS and add changelog entry for #1151
2015-12-06 11:11:46 +08:00
Omer Katz
b42b760393
Merge branch 'fix-reloading-strict' of https://github.com/paularmand/mongoengine into fix-reloading-strict and bumped version.
...
# Conflicts:
# AUTHORS
2015-11-30 12:13:47 +02:00
Paul-Armand Verhaegen
6133f04841
Manual merge conflicts in AUTHORS
2015-11-27 23:55:55 +01:00
srossiter
b7b28390df
Added upsert_one method on BaseQuerySet and modified test_upsert_one
2015-11-24 12:46:38 +00:00
Ashley Whetter
aa9d596930
Updated documentation for abstract reference changes
2015-11-23 13:21:30 +00:00
George Macon
899e56e5b8
Add gmacon to AUTHORS
2015-11-19 17:15:43 -05:00
Paul-Armand Verhaegen
ed8174fe36
Added Paul-Armand Verhaegen to contributor list
2015-11-15 15:32:26 +01:00
Gang Li
8e7c5af16c
Merge remote-tracking branch 'remotes/upstream/master'
...
Conflicts:
AUTHORS
docs/changelog.rst
2015-10-18 01:28:50 -04:00
Gang Li
c1645ab7a7
restored
2015-10-18 01:14:27 -04:00
Gang Li
2ae2bfdde9
updated changelog.rst for #1119
2015-10-18 00:31:40 -04:00
Lars Butler
b52cae6575
AUTHORS: Add Lars Butler (that's me!)
2015-10-12 10:13:11 +02:00
amitlicht
6f16d35a92
Adding a changelog line & adding myself to AUTHORS.
2015-06-30 15:08:20 +03:00
emilecaron
4525eb457b
update changelog
2015-06-26 14:23:42 +02:00
mrigal
e438491938
typos
2015-06-23 23:16:08 +02:00
Vicky Donchenko
6bd9529a66
Allow to add custom metadata to fields
2015-06-23 16:25:56 +03:00
Breeze.kay
dfc7f35ef1
add testcase and changelog for pull:#1020 'improve _created status when switch collection and db'
2015-06-19 15:40:05 +08:00
Emmanuel Leblond
cca0222e1d
Update AUTHORS
2015-06-11 14:29:42 +02:00
Charanpal Dhanjal
73893f2a33
Added charanpald
2015-06-02 10:20:37 +01:00