2👍
✅
It seems pretty clear that Django is unable to find your database at specified location, reasons can be,
-
You have created django project using “sudo” or with any other other linux user than your current user, thats why your current user might not have permissions to access that database. You can check permissions of files by typing in your project’s root directory,
ls -la
-
You have configured wrong path for database file in your settings.py
- [Answered ]-Process_request() takes exactly 2 arguments (1 given) – Django Basic HTTP Auth Decorator
0👍
I believe the solution you are looking for is the following:
sudo python manage.py runserver
I was struggling with the same issue and this has finally done the trick for me.
superuser do to the rescue!
edit: If you are on windows and want to test this solution out then this link has some options:
How to run 'sudo' command in windows
- [Answered ]-How to add headers and footers with django-wkhtmltopdf in my class based views with PDFTemplateResponse
- [Answered ]-Django not showing updated data from database
Source:stackexchange.com