-
Vikashs-MacBook-Air:tumblelog vikashruhil$ python manage.py runserver
Traceback (most recent call last):
File "manage.py", line 6, in
from tumblelog import app
File "/Users/vikashruhil/Downlo…
-
class DocumentSerializer(serializers.ModelSerializer):
File "/home/test/.virtualenvs/perm_test_django_mongo/lib/python3.6/site-packages/rest_framework_mongoengine/serializers.py", line 117, in Docu…
-
I have next model:
``` python
class ImportProductGroup(Document):
_id = ObjectIdField()
id = IntField()
name = StringField(max_length=100, required=True)
parent_group = ReferenceField…
-
I am using Django 2.1.1 with mongoengine and django-rest-framework-mongoengine but I am getting error
"File "/python3.6/site-packages/django/contrib/admin/sites.py", line 102, in register
for model…
-
I am trying to test this functionality in mongoengine:
http://docs.mongoengine.org/guide/text-indexes.html#ordering-by-text-score
When I run this function during a test I get:
```
File "/home/…
-
A document with the following structure will crash MongoEngine 0.24.0
```python
class MyDoc(Document):
fld = GenericReferenceField()
meta = {
"indexes": [{"fields": ["fld._r…
-
I'm trying to create a query in mongoengine like this mongo query:
``` javascript
db.person.find( {
{ mother: { $ref: "person" , $id: ObjectId('4de504a5cd755c5ac9000000') } },
$or: [
…
-
This is one is really weird. It looks like if you declare a field to be a primary key, other ListFields which are empty don't get saved. When I run the test case appended below, I get:
```
[]
[]
{u…
-
If you'd like to report a bug in Flask-Appbuilder, fill out the template below. Provide
any extra information that may be useful
Responsible disclosure:
We want to keep Flask-AppBuilder safe for …
yuyou updated
2 years ago
-
This happens on python version 3.7.4 and 3.6.8 using
mongoengine version from 0.15.3 up to 0.18.2
Code works correctly on python version 3.6.8 with mongoversion 0.15
Starting from a clean pyth…