Adding extra registration fields to my user registration

27 views
Skip to first unread message

Ebenezer Otchere

unread,
Mar 29, 2023, 11:08:09 PM3/29/23
to Django users
I want to collect user information in my registration forms like first name last name and country 
but it give me errors that unexpected keyword arguments with firstname lastname and country
Any help how i will add extra fields to be store in the database thank You and advance

Ryan Nowakowski

unread,
Apr 1, 2023, 12:25:09 PM4/1/23
to django...@googlegroups.com

Marcelo Robin

unread,
Apr 1, 2023, 12:31:02 PM4/1/23
to django...@googlegroups.com
you can create an application called profile where in its models you can place all the fields you need to add about the user. This video explains how you can do it. https://youtu.be/R8EHCohLvbw

--
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/97319e37-1d3d-4000-8f65-4c161140d878n%40googlegroups.com.

Clement Idemudo

unread,
Apr 2, 2023, 10:27:08 AM4/2/23
to Django users
there're two possible reasons for this:
* you don't have those filled in your forms.py module or
* your forms filled is not of the same case (upper or lower) with your request.Post[ ] query.

but next time, try and add screenshot while asking question, its gives whoever that is responding more insight to the question you are asking
Reply all
Reply to author
Forward
0 new messages