help creating foreign Key relationship in DRF

22 views
Skip to first unread message

ola neat

unread,
Jul 27, 2021, 8:04:59 AM7/27/21
to django...@googlegroups.com
halo i'm working on creating a foreignKey kinda relationship between multiple table but im getting an err
can anyone help
below is my code & err screenshot
image.png
image.png
image.png
image.png


oba stephen

unread,
Jul 27, 2021, 2:49:35 PM7/27/21
to django...@googlegroups.com
Take the create method out of the meta class 

Let's start with that first. 

Best regards

Stephen Oba

--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHLKn717ia96CZ%2BnSnXKjz3ubj6JyUUrGrZEbAS9qC2NGMJpAw%40mail.gmail.com.

ola neat

unread,
Jul 28, 2021, 1:08:29 AM7/28/21
to django...@googlegroups.com
I've done that, it still doesn't work, it still return they same error message

Reply all
Reply to author
Forward
0 new messages