hmarr/mongoengine — pull request #527 by wpjunior (2012-06-25 18:54:27+00:00)
Title: Fixes for __ne operator in IntField and FloatField

for this test case:

```python
from mongoengine import *
from mongoengine import register_connection

register_connection('default', name='test')

class TestDocument(Document):
val = IntField()

TestDocument.drop_collection()

TestDocument(val=None).save()
TestDocument(val=1).save()

doc = TestDocument.objects(val__ne=None).first()
print doc