Re: Use fields meta to create forms for Javascript client applications!!!!

2018-05-15 Thread Wanderley S
Thanks, I'll take a look. I believe that "OPTIONS" is what I'm looking for. Thanks. 2018-05-14 15:18 GMT-03:00 Oliver Zhou : > Unclear to me exactly what you're asking for - but it seems like you > probably just want a ModelSerializer/ViewSet, and then perhaps doing an > "OPTIONS" API call to t

Re: Most idiomatic method to convert an object URL to Object

2018-05-15 Thread Wanderley S
I'm not quite sure if I got it right, but I believe that the correct is to "create" the object first. Doesn't make to much sense handle an object that is not yet persisted into the database. If you want the data, you could get it with: data_to_be_saved = self.request.data or, even better: data_t