Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
-1 votes
0 answers
9 views

ReactJS useParams for Django equivalent?

Django Example # urls.py url = [ path('password_reset/<uidb64>/<token>/', views.password_reset_confirm, name='password_reset_confirm'), ] # views.py def password_reset_confirm(request, ...
David L.E's user avatar
  • 103
0 votes
0 answers
33 views

How to debug HTTP 400 Bad Request errors in django?

I have an app with React frontend and Django backend. I'm trying to make a POST request from my react client but I get "Bad Request" error. I checked my request url and it matches with my ...
brknarsy's user avatar
  • 129
0 votes
0 answers
9 views

Error while using "pyttsx3" with "react-speech-recognition"

Error in text-to-speech: run loop already started Backend Code from django.shortcuts import render from rest_framework.views import APIView from rest_framework.response import Response from ...
Chandima Maduwantha's user avatar
1 vote
1 answer
43 views

Chrome is ignoring my attempts to unset cookies (Django)

I'm trying to unset my cookie on an https site. The cookie was set by the server after successful login but chrome is not unsetting the cookie when logout is called even though the Set-Cookie header ...
Warwick's user avatar
  • 441
0 votes
0 answers
18 views

Google API, self project

I am trying to create a website using the Google, Place API, and Geocoding API. My get requests work, however, I receive a 404 error saying pro access only. I have a pro account for the API, and on ...
Jacob Lausier's user avatar
0 votes
0 answers
73 views

AWS: How to let a S3 frontend (React, Axios) communicate with an EC2 backend (python3/Django, DjangoREST, corsheaders)

I followed a tutorial for creating a basic To-Do app (so CRUD) with a React+Axios frontend (ServiceWorker, bootstrap) and Django backend (DjangoREST, corsheaders), and would like to put it on AWS's ...
Gamekeeper's user avatar
0 votes
0 answers
30 views

Getting CORS Error for only DELETE Request (Have no issues with PUT, POST and GET) DRF and React project

I have been facing this following error whenever I make the request from my react.js frontend. I am using django DRF on backend and nginx as reverse proxy. Both are deployed in gcp cloud run as ...
Thiru's user avatar
  • 39
0 votes
1 answer
42 views

Getting 401 Unauthorized Error on Login in React Web App

Whenever I click the login button of my web page built with vite-react(frontend:5173), express(server 5000, to handle cookies httpOnly) and Django(backend:8080). the console logs an error of (GET http:...
winterchillz's user avatar
1 vote
0 answers
16 views

Authenticating user on React frontend, against Django backend user groups using JWT

Having issues authenticating a user from React frontend, to Django backend using JWT Tokens. I have a Django instance with check_auth view in views.py: @csrf_exempt @login_required def check_auth(...
George's user avatar
  • 35
0 votes
1 answer
37 views

changes made to my JavaScript files in a React project are not reflected in the UI when compiling using 'npm start'. Reflecting only when rebuilt

Initial issue faced: "Invalid options object. Dev Server has been initialized using an options object that does not match the API schema" TO resolve this issue added setupProxy.js inside src ...
Nivedha's user avatar
-1 votes
1 answer
102 views

React Native Expo Barcode Scanner Navigation

I'm new to react native and expo and I followed a tutorial online for a barcode scanning app using expo, but it didn't cover how to navigate away from the expo camera app to another screen and I can't ...
Justin Boucher's user avatar
0 votes
2 answers
29 views

Sucessful compilation but browser can't access site

I am doing my first project with Django and React. Whenever i run npm run dev the project compiles succesfully. But once I go to the browser, it says that the site can't be reached and that localhost ...
Vanessa Sánchez Morales's user avatar
0 votes
1 answer
36 views

Learning Django without DTL [closed]

I just finished my second React course and become more confident with it by creating a several web application. Now my plan is to go fullstack, I decided to start learning Django because am kinda good ...
Mohammad Yazbeck's user avatar
1 vote
1 answer
37 views

MultiValueDictKeyError at /api/products/

I'm encountering a MultiValueDictKeyError in my Django project when trying to access the API at http://127.0.0.1:8000/api/products/. The error occurs on this line: category = self.request.GET['...
Shital's user avatar
  • 19
1 vote
1 answer
31 views

React + Django webapp doesnt show user messages, despite showing server messages which are managed by the same logic both frontend and backend

What the title says, I'm trying to make battleships with websockets, yesterday everything was going more or less smooth, aside from having multiple ws opening so after changing stuff around for a ...
Sostanco's user avatar

15 30 50 per page
1
2 3 4 5
171