-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Template error: #458
Comments
|
Hi @JVKeller, Thank you for reporting the issue you're encountering. It seems that the error is due to the database schema not being updated after pulling the latest changes. This often happens when migrations have not been applied. Could you please try running the following commands in your project's root directory? python manage.py makemigrations
python manage.py migrate These commands will generate and apply any new database migrations, which should resolve the Let me know if this works for you or if you need further assistance! Best regards, |
Hi @horilla-opensource , I received the same error as @JVKeller when i did a fresh installation and was trying to use the demo database. I ran python manage.py makemigrations and python manage.py migrate but the later command got this error. (venv) PS C:\horilla> python manage.py migrate The above exception was the direct cause of the following exception: Traceback (most recent call last): |
Hi @miscdevmanager , Please remove the test database from project directory and run the command again. (You'll have the option to load demo data from the login page also). With Regards, |
@horilla-opensource That also means I have a few extra fields in the database which I added manually, but that was never an issue before, and not showing in the error message. Just this notification sound that seems to be a new addition? (I just did a completely fresh pull, same results. Removing the test database from the root dir also does not help) |
Temp work around: delete all of the old migration files and cache
|
I have been having a heck of a time trying to get this running. It was fine for a while while I was working on something but now I keep hitting walls.
This is the current error I'm getting:
Let me know if you need more info...
The text was updated successfully, but these errors were encountered: