Friday, August 26, 2022

ChoiceField Appearing Instead of CharField while using Foreignkey

Hi, 

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

My Model:
cropped.png
There is no serializer to this model 

Problem/Bug:
File.png

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.

No comments:

Post a Comment