Open bigbuckalex opened 1 year ago
There was an error in the installation guide that may have led to the above error.
Make sure you run poetry install
from the repository root directory before changing the guide into the project/
subdirectory.
The migrations worked for me when I attempted them just now.
I've tried deleting and re-cloning the repo and I still get the same error. Here is a video of the process, am I doing anything wrong?
Can you upload a video where it creates the initial Poetry virtual environment?
Is this what you mean? I deleted the poetry environment so poetry install
would create a new virtual environment.
@gorkemarslan are you able to spot anything that might be causing this bug?
@bigbuckalex, what operating system are you using?
As far as I understand, the Django framework cannot connect your local database because it cannot validate the database configs.
Can you try to replace the database configs in your settings.py file
with the default one:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
}
}
@gorkemarslan I am using Pop!_OS 22.04
Replacing the database configs allowed me to run the migrations. Thank you!
Description
I am following the contributing guide and I am getting this error message on the "Run migrations" step:
What should have happened?
No response
What browser(s) are you seeing the problem on?
Not applicable
Further details
Full error message: