Friday, August 26, 2022

Re: ChoiceField Appearing Instead of CharField while using Foreignkey

You add one country first then you can select from those countries you have added to create a Name object

On Fri, 26 Aug 2022 at 16:41, Renfer Richards <personalrenfer.richards@gmail.com> wrote:
Hi, 

I am stuck in a problem while using foreignkey to combine two model  choiceField is appearing instead of charField

My Model:

There is no serializer to this model 

Problem/Bug:


ChoiceField is appearing instead of CharField in Origin Variable

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/32e92f09-3612-4fb3-8a1b-2dd01cb86b29n%40googlegroups.com.
--
Mugoya Dihfahsih
Software Developer
Kampala, Uganda
Profile: dihfahsih1.github.io/profile

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAP%3DJD9zCJ5YmhOtF3k6pLR%3DyYY%3De%3DXKgodF0EBYQzGjkswAqjw%40mail.gmail.com.

No comments:

Post a Comment