I think this best way is to check which kind of id your are store, because the primary id by default is integer which is going to be added automatically, so in your code i can see that you specify company_id upon creation new company which i do not think you have such field in your JobDetail model.py,. so django will throw an error saying I do not have any place to store the id.
if that is the case, you do not need to specify id bro. On Tuesday, September 20, 2022 at 8:11:01 AM UTC+1 shivas...@gmail.com wrote: > hello Dear Kasper Laudrup > I am beginner > sorry for this but my problem is not solve yet that's why I have sent > my code for better solution of error > I am not familiar about this file witch you are send me > > > On Tuesday, September 20, 2022 at 12:22:12 PM UTC+5:30 Kasper Laudrup > wrote: > >> On 20/09/2022 08.21, shiva singh wrote: >> > hello everyone please help how can solve this problem? >> > >> >> I suggest you ignore all the replies you've already gotten and then post >> the exact same question a third time. >> >> Kind regards, >> Kasper Laudrup >> > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/12cbb283-a8d3-4eaa-b27b-4b95d7f0539en%40googlegroups.com.