Re: Invalid source attribute does not throw an error

2018-11-15 Thread Xavier Ordoquy
Hi, There are no errors because the value gets map to the instance’s « abc ». It could be a property with setters / getters that process the value and fill some of the model’s field (or the other way around). For example, you could have a write only property « password » that takes a password,

Re: Sorry to be "that noob" but help with Create/Post using TemplateHTMLRenderer and a nested serializer?

2018-11-15 Thread Toni Marie
This is finally working. If anyone has a similar issue with TemplateHTMLRenderer creates, see the above StackOverflow thread. There's a small glitch that was solved in our discussion, which is to make sure that the POST response is to redirect to a new url. Which I did in my application.

Re: Sorry to be "that noob" but help with Create/Post using TemplateHTMLRenderer and a nested serializer?

2018-11-15 Thread Toni Marie
I really appreciate you taking the time to help. My issue is not with the APIView, it works fine in the API itself. My issue is a frontend HTML form. The docs on TemplateHTMLRenderer are very clear on how to create an update form,