[Python] Route error Python?! no forwarding to 127.0.0.1:6438/team_management error 404

Discussão em 'Python' iniciado por Stack, Fevereiro 19, 2025.

  1. Stack

    Stack Membro Participativo

    I'm still relatively new to programming, I've been working on a new project with a friend for a few days and we're currently having problems with our database for admin accounts creation and management for admins with the access role "admin" so that only admins with the role "admin" can access the page 127.0.0.1:6438/team_management.

    I have attached my current code for you. I assume that there is a problem with the file admin_dashboard.py, in a route (in my opinion at the level of code lines 89-101

    According to the terminal, the following route is not loaded: 127.0.0.1 - - [19/Feb/2025 10:30:08] "GET /team_management HTTP/1.1" 200 -

    So it should be displayed to me after opening the terminal. 127.0.0.1:6438/team_management

    Terminal shows the following error after trying to open: 127.0.0.1 - - [19/Feb/2025 11:10:33] "GET /team_management HTTP/1.1" 404 -

    Unfortunately, when I restart Flask and open the domain mentioned for team_management, I still get a 404, which is why I assume that Flask doesn't open/save the http correctly or it's just faulty.

    would be cool if someone could help me with this

    debugging with similar routes, changing HTTP and admin_dashbord.py on code lines 89 to 101, error analysis using ChatGPT o3 Mini high unfortunately doesn't produce any results either. Now I'm here

    github link: https://github.com/Leonesnm/EUCrypt

    Continue reading...

Compartilhe esta Página