help with my signup API

13 views
Skip to first unread message

ola neat

unread,
Apr 8, 2020, 4:39:39 AM4/8/20
to django...@googlegroups.com
Good day guys
i'm working on an app, i created an api for user signup to be consumed by an angular app, but now the issues i'm having is that when they user signup after filling the form i'm getting an  err, see attached my err and codes


Screenshot from 2020-04-08 09-28-48.png
Screenshot from 2020-04-08 09-37-51.png
Screenshot from 2020-04-08 09-37-37.png

John McClain

unread,
Apr 8, 2020, 9:24:32 AM4/8/20
to django...@googlegroups.com
did you make migrations, it seems like it is not finding the account/register

On Wed, 8 Apr 2020 at 09:38, ola neat <tosina...@gmail.com> wrote:
Good day guys
i'm working on an app, i created an api for user signup to be consumed by an angular app, but now the issues i'm having is that when they user signup after filling the form i'm getting an  err, see attached my err and codes


--
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/CAHLKn71N-V%3Dhg8WpsOdxc-9eMJjEX2BoRdHTo8q1N0H8o84r5w%40mail.gmail.com.


--
John McClain

Cell: 085-1977-823
Skype: jmcclain0129

ola neat

unread,
Apr 8, 2020, 9:37:15 AM4/8/20
to django...@googlegroups.com
yes i did, i tested it with post man and i'm getting same erro

Motaz Hejaze

unread,
Apr 8, 2020, 10:22:11 AM4/8/20
to Django users
Please check that the request body sent from Angular is correct ..

For better debugging ...


In registration view , try to print() the serializer object and the serializer.data dictionary ..

Reply all
Reply to author
Forward
0 new messages