You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 9, 2022. It is now read-only.
My model has a field 'department_id', which is set value as per the current authenticated user's department, hence cannot be allowed to set from views. So how to do that? I mean;
It is not available in view (as the department is implicit in such a context)
But the value for the said field is set automatically.
Please let me know if I should override some methods to get this done, in case it is not available yet.
Furthermore, the said field is bigInteger. Please let me know how to specify that.
The text was updated successfully, but these errors were encountered:
shafihuzaib
changed the title
Set the value of foreign key from some different object
Set the value of foreign key from some different object , bigInteger
Jun 26, 2016
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Please let me know if I should override some methods to get this done, in case it is not available yet.
The text was updated successfully, but these errors were encountered: