# get file name from request.files

**URL:** <https://forum.djangoproject.com/t/get-file-name-from-request-files/12690>\
**Category:** Forms & APIs\
**Created:** [March 19, 2022, 9:49am UTC](https://forum.djangoproject.com/t/get-file-name-from-request-files/12690 "2022-03-19T09:49:56Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![M2021SA](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/m2021sa/32/7847_2.png) [@M2021SA](https://forum.djangoproject.com/u/M2021SA)\
**Post date:** [March 20, 2022, 11:58am UTC](https://forum.djangoproject.com/t/get-file-name-from-request-files/12690/18 "2022-03-20T11:58:49Z")

</div>

I added it  
here

> [@django User matching query does not exist](https://forum.djangoproject.com/t/django-user-matching-query-does-not-exist/12705):
>
> when I try to login in from the form that i created in react.js and connected it with django i face error (User matching query does not exist.) I think the problem here in views.py but i couldn’t solve it for days from django.http import JsonResponse, HttpResponse from django.views.decorators.csrf import csrf\_exempt from rest\_framework.views import APIView from rest\_framework import generics from rest\_framework.permissions import IsAuthenticated from rest\_framework.response import Response fro…

---

_[View the full topic](https://forum.djangoproject.com/t/get-file-name-from-request-files/12690)._
