Florian Schlachter
48facec524
Fixes tiny documentation error. Adds possibility to add custom validation methods to fields, e. g.:
...
class Customer(Document):
country = StringField(validation=lambda value: value in ['DE', 'AT', 'CH'])
Replaced some str() with unicode() for i18n reasons.
2010-04-16 16:59:34 +02:00
Florian Schlachter
0a074e52e0
Merge remote branch 'hmarr/master'
...
Conflicts:
mongoengine/fields.py
2010-04-15 23:10:34 +02:00
Florian Schlachter
2304dac8e3
added GeoLocationField with auto index-creation for GEO2D
2010-03-30 00:04:39 +02:00
Florian Schlachter
38b2919c0d
added emailfield
2010-03-29 22:02:33 +02:00
Florian Schlachter
a93509c9b3
Merge remote branch 'hmarr/master'
2010-02-12 10:19:47 +01:00
Florian Schlachter
1114572b47
Merge remote branch 'hmarr/master'
2010-02-10 14:25:33 +01:00
Florian Schlachter
e2414d8fea
Merge remote branch 'hmarr/master'
2010-02-05 00:36:26 +01:00
Florian Schlachter
24db0d1499
return db-object to allow low-level access from outside via connect()
2010-02-05 00:35:49 +01:00
Florian Schlachter
df5b1f3806
Merge remote branch 'hmarr/master'
2010-02-03 02:26:26 +01:00
Florian Schlachter
59f8c9f38e
make mongoengine more international :) using unicode-strings; str(err) raises errors if it contains non-ascii chars/umlauts
2010-02-02 21:48:47 +01:00
Florian Schlachter
69e9b5d55e
fixed unicode-bug; replaced str(err) with err.message
2010-02-02 21:44:11 +01:00
Florian Schlachter
a2d8b0ffbe
Merge remote branch 'hmarr/master'
2010-02-02 18:49:52 +01:00