Re: Web redirection

2024-01-23 Thread Akorede Habeebullah
Close both terminals, then restart the Django server first before starting React. On Wed, Jan 24, 2024, 2:35 AM Muhammad Juwaini Abdul Rahman < juwa...@gmail.com> wrote: > Can you show the screenshot of your terminal? > > On Tue, 23 Jan 2024 at 23:34, Raymond Nsubuga > wrote: > >> Am working on

Re: Web redirection

2024-01-23 Thread Muhammad Juwaini Abdul Rahman
Can you show the screenshot of your terminal? On Tue, 23 Jan 2024 at 23:34, Raymond Nsubuga wrote: > Am working on a django react project but everytime i run my django server > at port 8000, it instead redirects to port 3000 belonging to react > automatically, what is the issue that can be

Re: Web redirection

2024-01-23 Thread Light Ofor
You know that Django is for the backend right, so what I do I have two terminals open, one for Django and one for react, if I want my Django page I simply copy the URL from the terminal and paste on my web browser and I get my Django page. On Tue, Jan 23, 2024, 7:58 PM Obodoma Uzondu Vincent

Re: Admin access

2024-01-23 Thread Boaz Sottie
Check if you have {% csrf_token %} in your form On Tue, Jan 23, 2024, 16:17 Raymond Nsubuga wrote: > I am unable to access my admin site after creating a docker image and > hosting my website. It says an issue about the csrf, anyone who has > encountered the issue can help. > > -- > You

Re: Web redirection

2024-01-23 Thread Obodoma Uzondu Vincent
Are you using cors? On Tue, Jan 23, 2024 at 4:34 PM Raymond Nsubuga wrote: > Am working on a django react project but everytime i run my django server > at port 8000, it instead redirects to port 3000 belonging to react > automatically, what is the issue that can be causing this ?. And how am i

Admin access

2024-01-23 Thread Raymond Nsubuga
I am unable to access my admin site after creating a docker image and hosting my website. It says an issue about the csrf, anyone who has encountered the issue can help. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Web redirection

2024-01-23 Thread Raymond Nsubuga
Am working on a django react project but everytime i run my django server at port 8000, it instead redirects to port 3000 belonging to react automatically, what is the issue that can be causing this ?. And how am i able to solve it ? -- You received this message because you are subscribed to the