Questions tagged [django-react]
50 questions
0
votes
1 answer
Issues while serving django admin and react application together
I have hosted React app to be served as default application on "/" and it works fine. But when I am trying to access admin panel, I am getting following error.
Page not found (404)
Request Method: GET
Request URL: …

Vikram Patil
- 628
- 6
- 20
0
votes
2 answers
Authentication credentials were not provided when sending request from React JS axios
I'm building a simple API, but right now I'm having some issues with the back-end. I always used the Django-rest-framework serializers, but now I'm trying to code a function-based view. My back-end server uses knox token authentication as a default,…

DzITC
- 869
- 1
- 9
- 23
-1
votes
2 answers
importlib.metadata.PackageNotFoundError: No package metadata was found for djoser pyinstaller
Context
I made a Django react app. Now I want to make it a desktop application so that the user does not have type python manage.py runserver and also activate the environment every time. I used pyinstaller. I did all the steps mentioned for…

Hasnain Sikander
- 341
- 3
- 13
-1
votes
1 answer
JSX not showing in browser
Hi there I recently started following a crash course of Django Rest Framework + React but I came across a problem with my React code. The jsx I write in my App.js doesn't show in the browser. Here is the code:
import React, { Component } from…

Shend Tytynxhiu
- 127
- 1
- 9
-1
votes
1 answer
How to use Django db.sqlite3 as a database for React to store data?
I want to use Django as backed with react and I have already integrated Django with react app. And my react app(blog in my case) is up and running with Django. I have made following changes to do so.
Dir for templates inside settings.py:
Dir for…

shivansh shrivastava
- 125
- 3
- 9