double underscore needed before the lte by the looks of it
On Wed, 18 Dec 2019 at 04:27, Ahmad Ebrahim wrote:
> Show me your model and view
>
> On Tue, 17 Dec 2019, 20:11 MEGA NATHAN, wrote:
>
>> Hi all.
>>
>> field error in live how to reslove
>> below i have to attach the screensh please find
In your view you can do:
user = request.user
Then you can get Employee with:
employee = Employee.objects.get(user=user)
Then just get the attributes from the models that you need:
eg:
employee.division
On Thu, 21 Nov 2019 at 19:57, Pema Galey wrote:
> Hi All,
> I am Employee model directly
2 matches
Mail list logo