Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Alexandre
    @alexandre
    Someone online?
    Matthew Harmon
    @mattdharmon
    I am, but at work atm.
    Alexandre
    @alexandre
    can u share with me a approach to work with concurrence + mongoengine?
    Matthew Harmon
    @mattdharmon
    I cannot I’m afraid. I’m no longer doing python. :(
    Eli Boyarski
    @eli-b
    Hi, I asked a MongoEngine question on SO. Does anybody have an idea on how I should implement such a solution?
    Serge Matveenko
    @lig
    @eli-b nice case. I believe it is impossible to do what you need without a hack similar to the one you mentioned on SO
    Eli Boyarski
    @eli-b
    Thanks @lig! If my hack is written well enough, would you guys be interested in such a solution?
    Eli Boyarski
    @eli-b
    Apparently I needed to add allow_inheritance to the meta. This is already supported by MongoEngine :)
    Serge Matveenko
    @lig
    :)
    Omer Katz
    @thedrow
    @/all We want to conduct a roadmap discussion for 1.0 soon
    Who is available tomorrow or the day after?
    I want at least 5 people available including @rozza to ensure we cover everything.
    Omer Katz
    @thedrow
    @/all What about this week?
    Ross Lawley
    @rozza
    I’m around most of this week :+1:
    Khairul Imam
    @khrlimam
    hello everyone..
    Khairul Imam
    @khrlimam
    is it possible to use autoincrement field on mongoengine.
    MohamedShawky
    @MohamedShawky
    how i can make api for this model
    hth
    @hontrang
    Hi, i using below code to practice $lookup aggregate but got error, could you guys plz help me?
    @detail_route(methods=['GET'])
        def aggregate(self, request, *args, **kwargs):
            """
            demo method using aggregate to query model user reference to product
            """
            pipeline = [{"$unwind": "$cartList"},{
                "$lookup": {
                    "from": "products",
                    "localField": "cartList",
                    "foreignField": "_id",
                    "as":"product_from_cartList"
                }
            }]
            snippets = Users.objects.aggregate(pipeline)
            return Response(snippets, status=status.HTTP_200_OK)
    Error:
    Request Method:    GET
    Request URL:    http://localhost:8000/webapp/api/users/59746ba996279a2b10bbc701/aggregate/
    Django Version:    1.11.3
    Exception Type:    OperationFailure
    Exception Value:    
    Each element of the 'pipeline' array must be an object
    Exception Location:    D:\IoT\angular\django\env\lib\site-packages\pymongo\helpers.py in _check_command_response, line 210
    Python Executable:    D:\IoT\angular\django\env\Scripts\python.exe
    Python Version:    3.6.1
    Python Path:    
    ['D:\\IoT\\angular\\django\\backend',
     'D:\\IoT\\angular\\django\\env\\Scripts\\python36.zip',
     'D:\\IoT\\angular\\django\\env\\DLLs',
     'D:\\IoT\\angular\\django\\env\\lib',
     'D:\\IoT\\angular\\django\\env\\Scripts',
     'c:\\users\\abc\\appdata\\local\\programs\\python\\python36-32\\Lib',
     'c:\\users\\abc\\appdata\\local\\programs\\python\\python36-32\\DLLs',
     'D:\\IoT\\angular\\django\\env',
     'D:\\IoT\\angular\\django\\env\\lib\\site-packages']
    Server time:    Sun, 23 Jul 2017 10:31:37 +0000
    John Nolette
    @neetjn
    Hello everyone
    Is anyone available?
    Alexey
    @alex2304
    Hi guys! Why there are still not so many people here?)
    John Nolette
    @neetjn
    The mongo slack python channel is very helpful
    Alexey
    @alex2304
    @neetjn Could you give a link?
    John Nolette
    @neetjn
    had to dig for it
    keep thinking its mongodb.slack.com
    Monkee
    @cunjif
    how to batch insert?