Ross Lawley
76fddd0db0
Merge branch 'master' into 0.8
...
Conflicts:
AUTHORS
mongoengine/base.py
tests/test_dereference.py
2013-04-18 13:30:00 +00:00
Ross Lawley
c277be8b6b
Merge remote-tracking branch 'origin/pr/278'
2013-04-18 13:17:08 +00:00
Ross Lawley
6e083fa6a1
Merge pull request #280 from Multiposting/ncortot/auth_datetime_fix
...
Fix datetime call in UserManager
2013-04-18 06:11:10 -07:00
Nicolas Cortot
073091a06e
Do not fail on delete() when blinker is not available
2013-04-17 21:45:54 +02:00
Ross Lawley
03bfd01862
Updated field iteration for py2.5
2013-04-17 15:54:32 +00:00
Ross Lawley
dcf3c86dce
Using "id" in data not "_id" as its a mapping of fieldnames ( #255 )
2013-04-17 15:07:57 +00:00
Nicolas Cortot
ec639cd6e9
Fix datetime call in UserManager
2013-04-17 16:34:09 +02:00
Ross Lawley
420376d036
Merge fixes
2013-04-17 14:27:33 +00:00
Ross Lawley
51e50bf0a9
Merge branch 'master' into 0.8M
...
Conflicts:
AUTHORS
docs/django.rst
mongoengine/base.py
mongoengine/queryset.py
tests/fields/fields.py
tests/queryset/queryset.py
tests/test_dereference.py
tests/test_document.py
2013-04-17 11:57:53 +00:00
Ross Lawley
4401a309ee
Merge remote-tracking branch 'origin/pr/268'
2013-04-16 20:49:33 +00:00
Ross Lawley
b562e209d1
Updated EmailField length to support long domains ( #243 )
2013-04-16 20:46:02 +00:00
Ross Lawley
e45397c975
Merge remote-tracking branch 'origin/pr/251'
2013-04-16 20:34:32 +00:00
Ross Lawley
f8ee470e70
Merge remote-tracking branch 'origin/pr/224'
2013-04-16 20:28:24 +00:00
Ross Lawley
4db339c5f4
Merge remote-tracking branch 'origin/pr/240'
2013-04-16 20:19:23 +00:00
Ross Lawley
f970d5878a
Merge remote-tracking branch 'origin/pr/242'
...
Conflicts:
tests/test_document.py
2013-04-16 20:07:03 +00:00
Daniil Sharou
cc0a2cbc6f
fix UnicodeEncodeError for dbref
...
Fix "UnicodeEncodeError: 'ascii' codec can't encode character ..." error in case dbref contains non-ascii characters
2013-04-16 22:34:33 +04:00
Daniil Sharou
add0b463f5
fix UnicodeEncodeError for dbref
...
Fix "UnicodeEncodeError: 'ascii' codec can't encode character ..." error in case dbref contains non-ascii characters
2013-04-16 21:12:57 +04:00
Ross Lawley
b451cc567d
Return '_id' as the key for document.id in _data dictionary
...
* Re #146
Conflicts:
mongoengine/base.py
2013-04-15 08:00:14 +00:00
Ross Lawley
8f05896bc9
Merge remote-tracking branch 'origin/pr/258'
...
Conflicts:
AUTHORS
2013-04-15 07:51:26 +00:00
Ross Lawley
da7a8939df
Also check if a TopLevelMetaclass instance ( #261 )
2013-04-15 07:41:04 +00:00
Ross Lawley
eafbc7f20d
Merge remote-tracking branch 'origin/pr/261'
2013-04-15 07:31:02 +00:00
Ross Lawley
c9a5710554
Fixed order_by chaining issue ( #265 )
2013-04-12 15:56:40 +00:00
Ross Lawley
d134e11c6d
Merge remote-tracking branch 'origin/pr/250'
2013-04-12 14:24:18 +00:00
Ross Lawley
63edd16a92
Resolve field name to db field name when using distinct( #260 , #264 , #269 )
2013-04-12 14:20:44 +00:00
Ross Lawley
37740dc010
Added kwargs to doc.save to help interop with django ( #223 , #270 )
2013-04-12 14:05:08 +00:00
Ross Lawley
04b85ddbf2
Merge branch 'master' into 0.8
...
Conflicts:
.travis.yml
AUTHORS
docs/changelog.rst
mongoengine/base.py
mongoengine/queryset.py
tests/queryset/queryset.py
2013-04-12 13:36:29 +00:00
Ross Lawley
49a7542b14
Fixing cloning in python 3
2013-04-12 12:55:03 +00:00
Ross Lawley
a84ffce5a0
Merge remote-tracking branch 'origin/pr/272'
2013-04-12 10:55:09 +00:00
Kristinn Örn Sigurðsson
7e980a16d0
Don't run unset on IntField if the value is 0 (zero).
...
The IntField in unset if the IntField value doesn't validate to "truthify" (therefore, is
set as 0) and the default value of the IntField in question is 0.
This is not a logical functionality in my opinion. Take this example.
You have an IntField that is a counter which can be incremented and
decremented. This counter has the default value of 0 and is a required
field. Every time the counter reaches 0, the field is unset.
2013-04-05 11:01:46 +02:00
Kristinn Örn Sigurðsson
47df8deb58
Fix the implementation.
2013-04-04 17:30:21 +02:00
Kristinn Örn Sigurðsson
dd006a502e
Don't run unset on IntField if the value is 0 (zero).
2013-04-04 17:09:05 +02:00
Alice Bevan-McGregor
fc1ce6d39b
Allow construction of document instances using positional arguments.
2013-04-03 15:00:51 -04:00
Alice Bevan-McGregor
32d5c0c946
Store ordered list of field names, and return the ordered list when iterating a document instance.
2013-04-03 15:00:34 -04:00
Paul Swartz
20cb0285f0
explicitly check for Document instances when dereferencing
...
In particular, `collections.namedtuple` instances also have a `_fields`
attribute which confuses the dereferencing.
2013-03-27 14:53:47 -04:00
Paul Swartz
faf840f924
only mark a field as changed if the value has changed
...
Prevents spurious changes from being recorded.
2013-03-25 11:00:20 -04:00
Jaepil Jeong
a762a10dec
Revert "Fixed potential overflow error."
...
This reverts commit 67182713d96233d3d2feb0f67d39ddaf1789c692.
2013-03-18 19:30:04 +09:00
Aleksandr Sorokoumov
a192029901
ReferenceField query chaining bug fixed.
2013-03-16 16:54:26 +01:00
Jaepil Jeong
67182713d9
Fixed potential overflow error.
2013-03-15 00:12:48 +09:00
Jaepil Jeong
2d6ae16912
Added LongField to support 64-bit integer type.
2013-03-14 23:25:22 +09:00
Russ Weeks
41a698b442
Changed dereference.py to keep tuples as tuples
2013-03-12 10:28:29 -07:00
zmolodchenko
d36f6e7f24
fix error reporting, where choices is list of flat values
2013-03-09 21:08:10 +02:00
benoitlouy
0d2e84b16b
Fix for issue #237 : clearing changed fields recursively in EmbeddedDocuments after saving a Document
2013-02-28 00:37:34 -05:00
Loic Raucy
d0245bb5ba
Fixed #238 : dictfields handle numerical strings indexes.
2013-02-26 11:26:51 +01:00
hellysmile
2e18199eb2
Django sessions TTL support
2013-02-01 04:17:16 +02:00
Ross Lawley
025e17701b
Fixed inner queryset looping ( #204 )
2013-01-29 10:33:13 +00:00
Ross Lawley
156ca44a13
Doc fix thanks to @jabapyth ( #206 )
2013-01-28 16:49:34 +00:00
Ross Lawley
4177fc6df2
Can call del Doc.attr to delete field value
2013-01-28 15:57:33 +00:00
Ross Lawley
d90890c08e
Merge branch 'single-work-op' of https://github.com/njoyce/mongoengine into 211
...
Conflicts:
mongoengine/document.py
tests/test_document.py
2013-01-28 15:05:12 +00:00
Ross Lawley
8eda52e8e0
Merge branch 'master' of https://github.com/malderete/mongoengine into 214
...
Conflicts:
AUTHORS
mongoengine/base.py
tests/fields/fields.py
2013-01-28 14:27:17 +00:00
Ross Lawley
5b161b7445
ReadPreference that overrides slave_okay ( #218 )
2013-01-28 14:17:54 +00:00