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
Matthieu Rigal
d36708933c
author and changelog
2015-05-07 12:48:25 +02:00
rma4ok
43a5df8780
[dist] Adding rma4ok to contributors
2015-05-06 09:40:09 -04:00
Stefan Wojcik
9bdc320cf8
dont send a "cls" option to ensureIndex (related to https://jira.mongodb.org/browse/SERVER-769 )
2015-05-06 11:25:45 +02:00
Catstyle
175659628d
fix mark_as_changed: handle higher/lower level changed fields correctly to avoid conflict update error
2015-04-10 11:31:31 +08:00
Eremeev Danil
f77f45b70c
_get_changed_fields fix for embedded documents with id field.
...
removed commented out piece of code
added author and record to changelog
2015-04-09 12:36:48 +05:00
Michael Chase
a6a7cba121
Current class fields when unpickling. Fixes #888
...
Optimize dereferencing map by using sets.
2015-04-08 19:40:43 -07:00
David Bordeynik
d135522087
Adding #714 to changelog and AUTHORS
2015-03-23 15:46:12 +02:00
Jimmy Shen
ce9d0d7e82
Fix #864 : ComplexDateTimeField should fall back to None when null=True
2015-02-19 09:47:38 +02:00
Matthew Ellison
213a0a18a5
Updated Unit Tests for Field Choices of Documents
...
- Added Unit Test with Invalid EmbeddedDocument Choice.
- Updated Broken Link in Author's File
2015-01-12 10:11:42 -05:00
Matthew Ellison
bc53dd6830
Generate Unique Indices for Lists of EmbeddedDocs
...
- Unique indices are now created in the database for EmbeddedDocument
fields when the EmbeddedDocument is in a ListField
- Closes Issue #358
2014-11-19 22:37:27 -05:00
Diego Berrocal
285da0542e
Update AUTHORS with @cestdiego
2014-11-19 09:39:51 -05:00