Re: NoneType object has no attribute in POST/PUT a resource with nested resources (django, tastypie)

2012-05-14 Thread Alberto Díaz
Thanks and sorry Karen El jueves, 10 de mayo de 2012 14:04:10 UTC+2, Karen Tracey escribió: > > Please ask questions about using Django on django-users, not here. The > topic of this list is the development of Django itself. (Also when you post > to django-users for this problem it would help pe

NoneType object has no attribute in POST/PUT a resource with nested resources (django, tastypie)

2012-05-10 Thread Alberto Díaz
Hi all, I've been digging in this problem and haven't found how to solve it. I've got two secure resources, ComplementoResource and ProductoResource defined as follow: class ComplementoResource(CommonModelResource): restaurante = fields.ForeignKey(RestauranteResource, 'restaurante') restaur