You are filtering by admin ID but you are passing the username not the user
ID

On Wed, 22 Jul 2020 at 19:37, Shishir Jha <[email protected]> wrote:

> Did you solve it?
>
> On Wed, 22 Jul 2020, 5:10 pm mishra39076, <[email protected]> wrote:
>
>> I wan to fetch logged-in username using request but i am not getting it
>> in departmentAndDesignationManagement/views.py
>> If anyone can help me then please suggest me.
>> I attached screenshots of companyRegistrationAndLoginApplication/views.py
>> departmentAndDesignationManagement/views.py and their serializers.
>>
>>
>> --
>> 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 [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/0d242052-b5c5-4ec1-80d5-e19fdbe1beb4n%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/0d242052-b5c5-4ec1-80d5-e19fdbe1beb4n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CA%2BC7wFQ9ujX%2BricN_1vJFdZ1GOK7ZZgwMwBbK1brSZBMR0hMBQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CA%2BC7wFQ9ujX%2BricN_1vJFdZ1GOK7ZZgwMwBbK1brSZBMR0hMBQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAE0AZGLr4e%3DjYj-SPLEEif81%3Dec70Z8ESHfTd8LEeLrepEY7sA%40mail.gmail.com.

Reply via email to