I understand. Thanks Xavier This works for me :)
On Monday, November 14, 2016 at 5:14:55 AM UTC-5, Xavier Ordoquy wrote:
>
> Hi,
>
> You declared your view as "fields" in the routers, so you should use
> "fields-detail" as the view name for the hyperlink.
>
> Regards,
> Xavier,
> Linovia.
>
--
Hi,
You declared your view as "fields" in the routers, so you should use
"fields-detail" as the view name for the hyperlink.
Regards,
Xavier,
Linovia.
--
You received this message because you are subscribed to the Google Groups
"Django REST framework" group.
To unsubscribe from this group and
I know that this inconvenient is very presented, may be that I need learn
more about of serializer relationships
I have the following model:
class Field(models.Model):
FIELD_TYPE_NATURE = 'Grama natural'
FIELD_TYPE_ARTIFICIAL = 'Grama sintetica'
FIELD_TYPE_CHOICES = (
(