Steve Challis
39e27735cc
Merge branch 'v0.4' of git://github.com/hmarr/mongoengine into v0.4
...
Conflicts:
docs/changelog.rst
mongoengine/base.py
mongoengine/queryset.py
2010-10-17 23:48:20 +01:00
Harry Marr
0902b95764
Added support for recursive embedded documents
2010-10-18 00:27:40 +01:00
Harry Marr
3591593ac7
Fixed GenericReferenceField query issue
2010-10-17 13:55:48 +01:00
Harry Marr
d3c2dfbaee
Merge branch 'master' of http://github.com/ixc/mongoengine into v0.4
...
Conflicts:
mongoengine/fields.py
mongoengine/queryset.py
2010-10-17 13:54:16 +01:00
Harry Marr
f666141981
Added test for list of referencefields
2010-10-17 13:23:11 +01:00
Harry Marr
159923fae2
Made lists of recursive reference fields possible
2010-10-03 01:48:42 +01:00
Steve Challis
b5eb3ea1cd
Added a Django storage backend.
...
- New GridFSStorage storage backend
- New FileDocument document for storing files in GridFS
- Whitespace cleaned up in various files
2010-09-29 23:36:58 +01:00
Steve Challis
bd1bf9ba24
Merge branch 'v0.4' of git://github.com/hmarr/mongoengine into v0.4
...
Conflicts:
mongoengine/fields.py
tests/fields.py
2010-08-31 00:25:10 +01:00
Harry Marr
32e66b29f4
Fixed FileField problem caused by shared objects
2010-08-30 22:12:05 +01:00
flosch
2f991ac6f1
Added all() method to get all document instances from a document. Extended the FileField's tests with testing on empty filefield.
2010-07-25 19:02:15 +02:00
flosch
386c48b116
Typo.
2010-07-25 18:43:11 +02:00
flosch
9d82911f63
Added tests for #46 .
2010-07-25 18:38:24 +02:00
Florian Schlachter
ec519f20fa
Makes the tests compatible to pymongo 1.7+. Not backwards compatible!
2010-07-19 01:32:28 +02:00
Florian Schlachter
323c86308a
Merge remote branch 'hmarr/v0.4'
...
Conflicts:
mongoengine/fields.py
tests/fields.py
2010-07-19 01:11:28 +02:00
Steve Challis
47bfeec115
Tidied code, added replace() method to FileField
2010-07-19 06:53:21 +08:00
Steve Challis
0512dd4c25
Added new FileField with GridFS support
...
The API is similar to that of PyMongo and most of the same operations are
possible.
The FileField can be written too with put(), write() or by using the assignment
operator. All three cases are demonstrated in the tests. Metadata can be added
to a FileField by assigning keyword arguments when using put() or new_file().
2010-07-19 06:52:11 +08:00
Harry Marr
c2163ecee5
Added test for Geo indexes
2010-07-07 15:12:14 +01:00
Steve Challis
39b749432a
Tidied code, added replace() method to FileField
2010-06-03 08:27:21 +01:00
Steve Challis
0ad343484f
Added new FileField with GridFS support
...
The API is similar to that of PyMongo and most of the same operations are
possible.
The FileField can be written too with put(), write() or by using the assignment
operator. All three cases are demonstrated in the tests. Metadata can be added
to a FileField by assigning keyword arguments when using put() or new_file().
2010-06-02 20:53:39 +01:00
Don Spaulding
ee0c75a26d
Add choices keyword argument to BaseField.__init__()
2010-04-15 17:59:35 -05:00
Josh Ourisman
c8e466a160
Moved SortedListField stuff into its own branch
2010-04-12 12:31:52 -04:00
Harry Marr
90200dbe9c
Fixed DecimalField bug
2010-04-12 15:59:20 +01:00
Rached Ben Mustapha
0b3af2052f
implement binary field size validation
2010-03-08 17:06:52 +01:00
Rached Ben Mustapha
bb19ba3eb6
Drop collection at the end of the test
2010-03-08 16:43:43 +01:00
Rached Ben Mustapha
879bf08d18
Simple implementation of BinaryField
2010-03-08 16:42:23 +01:00
Harry Marr
58f877de1a
Added recursive / document name references
2010-02-28 23:16:51 +00:00
Harry Marr
95a7b33fb4
Changed how GenericReferenceFields are stored / queried
2010-02-28 23:15:21 +00:00
Harry Marr
81dd5adccf
GenericReferenceField docs
2010-02-28 21:30:54 +00:00
Harry Marr
94e86a0be1
Merge branch 'gfk' of git://github.com/blackbrrr/mongoengine
2010-02-28 21:08:32 +00:00
Harry Marr
5b2dbfe007
Added tests for URLField and DecimalField
2010-02-28 18:25:40 +00:00
blackbrrr
018b206177
added support for GenericReferenceField to ListField. could be cleaner, perhaps.
2010-02-26 17:38:38 -06:00
blackbrrr
03d31b1890
added global model registry and GenericReferenceField, a ReferenceField not bound to a particular model
2010-02-26 16:59:12 -06:00
blackbrrr
348f7b5dfc
merged master, fixed 1 merge conflict
2010-02-14 17:23:38 -06:00
blackbrrr
d0ceb74a2e
removed unused fields and tests
2010-02-12 09:57:09 -06:00
Harry Marr
210e9e23af
Dereferencing of referenced documents within lists
2010-02-12 02:31:41 +00:00
blackbrrr
c4513f0286
merged master
2010-02-11 15:43:37 -06:00
Harry Marr
89f505bb13
Removed pool_size from connect, minor tidyup
2010-02-04 01:44:52 +00:00
Harry Marr
755deb3ffe
Added DictField
2010-02-03 01:22:25 +00:00
Harry Marr
0bbf3a3d76
Fixed EmbeddedDocument validation bug
2010-02-02 17:37:09 +00:00
Harry Marr
5cac52720c
Fixed querying on ReferenceFields using primary key
2010-01-27 15:57:11 +00:00
blackbrrr
5f84d6f8f8
added URLField, DecimalField, tests.
2010-01-14 11:32:28 -06:00
Harry Marr
4d695a3544
Added single and multifield uniqueness constraints
2010-01-08 12:04:11 +00:00
Harry Marr
af1d7ef664
Added BooleanField
2010-01-05 18:17:44 +00:00
Harry Marr
b01596c942
Made field validation lazier
2010-01-03 22:37:55 +00:00
Harry Marr
f687bad202
Accessing a missing field now returns None rather than raising an AttributeError
2009-12-24 17:10:36 +00:00
Harry Marr
0a64f42d5f
Renamed Document._id to id (still _id in DB)
...
Although MongoDB uses _id, underscore prefixed attributes imply
private access in Python and are sometimes may not be accessed
(e.g. in the Django template language), but id should be public.
2009-12-18 16:31:32 +00:00
Harry Marr
d46191159e
Added DateTimeField and FloatField
2009-11-23 18:03:10 +00:00
Harry Marr
70ee0f57ea
Added Document.drop_collection, cleaned up tests
2009-11-21 20:32:29 +00:00
Harry Marr
3017dc78ed
Renamed project to mongoengine
2009-11-21 18:41:10 +00:00
Harry Marr
5fa01d89a5
Fixed ListField bug, added ReferenceField + tests
2009-11-21 18:15:47 +00:00