Skip to content
This repository has been archived by the owner on Aug 9, 2022. It is now read-only.

Set the value of foreign key from some different object , bigInteger #143

Open
shafihuzaib opened this issue Jun 26, 2016 · 0 comments
Open

Comments

@shafihuzaib
Copy link

shafihuzaib commented Jun 26, 2016

  1. 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.

  1. Furthermore, the said field is bigInteger. Please let me know how to specify that.
@shafihuzaib 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 free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant