It is easy and you can use pymongo to do that. Hope it helps.
I usually dont use ORM for NoSQL because mongo has some amazing feature
that will be lost if using conventional ORM.
On Monday, April 27, 2020 at 4:57:09 AM UTC+8, Lawrence Thanakumar wrote:
>
> Hello All,
>
> I am building a movie rev
When my permission class is AllowAny, the "HTTP_AUTHORIZATION" key doesnt
exist in the request.META dictionary when the request is using basic auth.
Is this expected behavior? Interestingly, I am able to get this key if the
request permission is setup as IsAutheticated.
Does DRF remove this heade
It looks like you are, for some reason, returning a dump of the objects on
the model, not the data. Something is messed up in your code. You might
want to post the sterilizer *create* and *update* methods you created.
On Wed, Apr 29, 2020 at 11:50 AM Nazish Akhtar
wrote:
> While saving serialize
While saving serializer I am getting *DoesNotExist* ,
*MultipleObjectsReturned* . However objects are being saved in DB but
signals such as post_save does not work. Custom Signal also does not work.
Here is detailed error:
1
['DoesNotExist', 'MultipleObjectsReturned', '__class__', '__delattr__'