Re: Bad request Django rest framework

2021-07-26 Thread manohisoa guy aimar
Thank you for your answer but I already resovled, now I have other question, how can do for detect if model has changed for example post or put? How to do that django rest, thank you again Le lun. 26 juil. 2021 20:20, Mustefa Kamil a écrit : > At model.py change this > avatar =

Re: Bad request Django rest framework

2021-07-26 Thread Mustefa Kamil
At model.py change this avatar = models.ImageField(upload_to='avatar', blank=True, null=True) On Saturday, July 24, 2021 at 2:39:31 PM UTC+3 manohiso...@gmail.com wrote: > > Hello everyone > A few days ago I made a school project which consists in doing chat or > almost mini social network, I

Bad request Django rest framework

2021-07-24 Thread manohisoa guy aimar
Hello everyone A few days ago I made a school project which consists in doing chat or almost mini social network, I use as backend django rest framework because it is easy and fast for development, and I use as front-end Kivy client. But I encountered a problem that I can't solve it,