Wednesday, July 29, 2015

Re: Tasty Pie in django

yes i did , still i got no clues why save function in model related to the resource gets called three times.

On Tuesday, July 28, 2015 at 11:51:03 AM UTC+5:30, Anubhav Kaushik wrote:
I am looking on code that someone else wrote , i am new to tasty pie , so what i have understood that when ever someone gives a "POST" request then resource's save method gets called.
what is happening with my code is whenever some gives "POST request" , save method gets called thrice and for some other resource it gets called twice?

Can someone explain me the flow for tastypie and if possible ,the reason of wicked behaviour of code.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/893946e2-4714-4838-92ee-abad908f1b57%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment