Ross Lawley
344dc64df8
Updated authors and changelog #163
2013-01-22 14:05:06 +00:00
Ross Lawley
473425a36a
Merge branch 'getlasterror' of https://github.com/helduel/mongoengine into 163
2013-01-22 13:55:06 +00:00
Ross Lawley
2c7b12c022
Added support for $maxDistance ( #179 )
2013-01-22 13:31:53 +00:00
lcya86
17eeeb7536
Update mongoengine/django/sessions.py
...
added the "get_decoded" method to the MongoSession class
2013-01-17 15:31:27 +08:00
Martin Alderete
de5fbfde2c
Merge branch 'validation-message'
2013-01-15 02:45:47 -03:00
Martin Alderete
f5d02e1b10
Fixed issue with choices validation when they are simple list/tuple,
...
after model.validate() did not get any error message.
Added test to ensure that model.validate() set the correct error
messages.
2013-01-15 02:40:15 -03:00
Ross Lawley
87c965edd3
Fixing PY3.3 test cases
2013-01-10 11:08:07 +00:00
Ross Lawley
72dd9daa23
Fixing py3.3 tests
2013-01-09 16:16:48 +00:00
Nick Joyce
7bb9c7d47f
Ensure that the update actions are grouped rather than serial.
...
This is a performance update. When multiple properties of the same
entity have been deleted and modified, 2 calls to update the entity are
made, one {"$set": … } and another {"$unset": … }. This is 2 network
interface calls which is a performance killer (even at lan speeds).
Fixes : #210
2013-01-07 15:03:29 +00:00
Ross Lawley
e6ac8cab53
Fixing python 2.5 support
2013-01-04 14:28:42 +00:00
Ross Lawley
9bbd8dbe62
Querysets now return clones and are no longer edit in place
...
Fixes #56
2013-01-04 09:41:08 +00:00
Ross Lawley
b9e0f52526
FileFields now copyable ( #198 )
2012-12-21 17:09:10 +00:00
Ross Lawley
1cdf71b647
Simplified Q objects
...
Removed QueryTreeTransformerVisitor (#98 ) (#171 )
2012-12-21 16:35:09 +00:00
Ross Lawley
bf74d7537c
Fix Django timezone support - update field for callable #151
2012-12-21 16:20:01 +00:00
Ross Lawley
b9c9d127a2
Merge branch 'fix_use_django_tz' of https://github.com/lexqt/mongoengine into 0.8
...
Conflicts:
mongoengine/django/sessions.py
Closes #151
2012-12-21 12:10:54 +00:00
Ross Lawley
c5b047d0cd
Fixed GridFSProxy __getattr__ behaviour ( #196 )
2012-12-21 11:55:05 +00:00
Ross Lawley
f335591045
Fix index build_spec #177
2012-12-19 16:55:14 +00:00
Ross Lawley
1c10f3020b
Added support for multiple slices
...
Also made slicing chainable. (#170 ) (#190 ) (#191 )
2012-12-19 14:56:15 +00:00
Ross Lawley
420c3e0073
Fixing for python2.5
...
closes #188
2012-12-19 12:51:42 +00:00
Ross Lawley
9cc02d4dbe
Dynamic fields are now validated on save
...
(MongoEngine/mongoengine#153 ) (MongoEngine/mongoengine#154 )
2012-12-19 12:32:06 +00:00
Ross Lawley
c528ac09d6
Fix merge for QNode checks
2012-12-19 12:29:46 +00:00
Ross Lawley
accdd82970
Merge branch 'feature-saferfilter' of https://github.com/elasticsales/mongoengine into 0.8
2012-12-19 11:47:46 +00:00
Ross Lawley
3e8f02c64b
Merge sequence field changes
2012-12-19 11:39:19 +00:00
Ross Lawley
3425264077
Merge branch 'master' into 0.8
...
Conflicts:
AUTHORS
docs/changelog.rst
mongoengine/__init__.py
mongoengine/base.py
mongoengine/fields.py
python-mongoengine.spec
tests/test_document.py
tests/test_fields.py
tests/test_queryset.py
2012-12-19 11:35:49 +00:00
Stefan Wojcik
148f8b8a3a
Only allow QNode instances to be passed as query objects
2012-12-17 21:13:45 -08:00
Ross Lawley
3b3738b36b
0.7.9
2012-12-10 15:16:31 +00:00
Ross Lawley
1bc2d2ec37
Version Bump
2012-12-10 09:54:20 +00:00
Ross Lawley
d7fd6a4628
Merge branch 'ref_field_to_mongo_bug' of https://github.com/yakxxx/mongoengine
...
Conflicts:
AUTHORS
2012-12-10 09:20:20 +00:00
Ross Lawley
9236f365fa
Fix sequence fields in embedded documents ( MongoEngine/mongoengine#166 )
2012-12-10 09:11:31 +00:00
Ross Lawley
c9f6e6b62a
Merge branch 'order-by-chaining' of https://github.com/pteichman/mongoengine
2012-12-10 08:49:19 +00:00
Ross Lawley
22d1ce6319
Merge branch 'master' of https://github.com/AdrianScott/mongoengine
2012-12-10 08:25:37 +00:00
Ross Lawley
6997e02476
Fixed EmailField so can add extra validation
...
(MongoEngine/mongoengine#173 , MongoEngine/mongoengine#174 , MongoEngine/mongoengine#187 )
2012-12-10 08:23:41 +00:00
Ross Lawley
155d79ff4d
Merge branch 'master' of https://github.com/shaunduncan/mongoengine
2012-12-10 08:22:25 +00:00
Jorge Bastida
d5ec3c6a31
Add as_pymongo to __getitem__ and in_bulk
2012-12-07 15:59:09 +00:00
Jorge Bastida
ad983dc279
Implement _get_as_pymongo
2012-12-07 15:42:10 +00:00
Jorge Bastida
94adc207ad
First as_pymongo implementation
2012-12-07 11:20:27 +00:00
Shaun Duncan
376d1c97ab
EmailField should honor StringField validation as well
2012-12-04 13:08:49 -05:00
Adrian Scott
4fe87b40da
added comments
2012-11-29 21:49:54 -05:00
Adrian Scott
b10d76cf4b
split line to meet 79 char max line limit
2012-11-29 21:28:03 -05:00
Adrian Scott
3bdc9a2f09
session collection parameter; encoding optional
...
Added a parameter for the name of the session collection; Added the
option to not encode session_data, which is useful for expiring sessions
of users when a password is changed, etc.; these upgrades provided by
SocialVilla Inc.
2012-11-29 20:53:09 -05:00
Peter Teichman
9d52e18659
Don't freeze the current query state when calling .order_by()
...
This changes order_by() to eliminate its reference to
self._cursor. This meant that any parameters built by QuerySet
that followed an order_by() clause were ignored.
2012-11-27 10:55:55 -05:00
Ross Lawley
3598fe0fb4
Adding _collection to _cls
2012-11-27 14:02:50 +00:00
Ross Lawley
f9dd051ec9
Merged get_document fix
2012-11-27 14:02:50 +00:00
Ross Lawley
027b3d36de
Fixed deprecation warning
2012-11-27 14:01:58 +00:00
Ross Lawley
653c4259ee
Fixed handling for old style types
2012-11-27 11:59:34 +00:00
Ross Lawley
003454573c
Making django user sparse ( MongoEngine/mongoengine#128 )
2012-11-21 17:14:53 +00:00
Ross Lawley
28ef54986d
Deprecated get_or_create
( MongoEngine/mongoengine#35 )
2012-11-21 16:54:27 +00:00
yak
787fc1cd8b
bug fix for RefferenceField.to_mongo when dbref=False
2012-11-13 13:02:07 +01:00
Ross Lawley
f265915aa2
Updated inheritable objects created by upsert now contain _cls ( MongoEngine/mongoengine#118 )
2012-11-08 16:35:20 +00:00
helduel
1a93b9b226
More precise "created" keyword argument signals
...
If a document has a user given id value, the post_save signal always got the
"created" keyword argument with False value (unless force_insert is True).
This patch uses the result of getlasterror to check whether the save was an
update or not.
2012-11-08 16:30:29 +01:00