I am fairly new to the web hosting world. I recently purchased a plan at a2hosting. It's a shared hosting plan. After some problems with FastCGI, I was told to use passenger to host django. I couldn't find much on this topic and somehow managed to get the website working. However, soon I realized that the post forms weren't working. More importantly, the admin site wasn't working properly. I get to the admin site login but once I try to login, I get a page not found error.
Page not found (404)
Request Method: POST
Request URL: https://www.website.com/admin/login/?next=/admin/
Raised by: django.contrib.admin.sites.login
Using the URLconf defined in readerspoint.urls, Django tried these URL patterns, in this order:
1) admin/
The empty path didn't match any of these.
You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page.
This is what the error looks like.
Request Method: | POST |
---|