Home > OS >  Django runserver not worked after login
Django runserver not worked after login

Time:05-27

I used this command: python manage.py runserver 0:8080

After I logined the system I can reach rest API pages, but can't reach other pages.

Although I send a request, the command output does not log.

Quit the server with CONTROL-C.

CodePudding user response:

I think the command is

python manage.py runserver 0.0.0.0:8080

CodePudding user response:

please check your urls.py. your route to the DRF page, so I think your root URL is just blank, but check your URL for browsing other routes.

CodePudding user response:

The subject was completely different. I was collecting log somewhere and using it in base.html. But it timed out while printing the page because a lot of logs accumulated.

  • Related