Re: Django update field in many to many relationship

2019-02-14 Thread sum abiut
Thanks, The Leave_current_balance is from Leave_Balance model which why i haven't included it. I am not sure how to fix that. Sum On Fri, Feb 15, 2019 at 12:42 PM Simon Charette wrote: > Your DirectorForm model form doesn't include 'Leave_current_balance' in > it's Meta.fields > hence no form fie

Re: Django update field in many to many relationship

2019-02-14 Thread Simon Charette
Your DirectorForm model form doesn't include 'Leave_current_balance' in it's Meta.fields hence no form field is generated for it. Cheers, Simon Le jeudi 14 février 2019 17:50:21 UTC-5, suabiut a écrit : > > Hi, > > I have two models many to many relationships, I am trying to update the > field

Re: Django update field in many to many relationship

2019-02-14 Thread sum abiut
TraceBack: Request Method: POST Request URL: http://127.0.0.1:8000/unitDirectorForm/25/ Django Version: 1.11.18 Python Version: 2.7.15 Installed Applications: ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages',