Re: Error during template rendering

194 views
Skip to first unread message
Message has been deleted

Antonis Christofides

unread,
Apr 10, 2022, 4:54:09 AM4/10/22
to django...@googlegroups.com

Hi!

The error message 'relation "curriculum_standard" does not exist' has been produced by PostgreSQL, and Django merely repeats it. In other words, Django is telling you that while it was doing what it was doing, an error occurred in the RDBMS, and it is showing you the error message that the RDBMS returned.

People who, unlike me, have studied relational calculus often use the word "relation" for what I call a "table". I don't know why. I once picked up a relational calculus book to take a look, but it was too heavy for my taste :-) (If someone can explain in simple terms I'm eager to read.) So the system is telling you that table "curriculum_standard" does not exist.

This probably means that you need to run "python manage.py migrate".

Regards,

Antonis



On 09/04/2022 21.41, emmanuel odor wrote:

Hello group,

I hosted this app on Heroku and i am getting this error. find the attached below. It is working well on my local host...
ProgrammingError at /relation "curriculum_standard" does not exist LINE 1: ...."slug", "curriculum_standard"."description" FROM "curriculu... ^
Request Method:
GET
Request URL:
https://insightskillz8.herokuapp.com/
Django Version:
3.2
Exception Type:
ProgrammingError
Exception Value:
relation "curriculum_standard" does not exist LINE 1: ...."slug", "curriculum_standard"."description" FROM "curriculu... ^
Exception Location:
/app/.heroku/python/lib/python3.9/site-packages/django/db/backends/utils.py, line 84, in _execute
Python Executable:
/app/.heroku/python/bin/python
Python Version:
3.9.11
Python Path:
['/app/.heroku/python/bin', '/app', '/app/.heroku/python/lib/python39.zip', '/app/.heroku/python/lib/python3.9', '/app/.heroku/python/lib/python3.9/lib-dynload', '/app/.heroku/python/lib/python3.9/site-packages']
Server time:
Sat, 09 Apr 2022 18:32:20 +0000
Error during template rendering

In template /app/templates/base.html, error at line 42

relation "curriculum_standard" does not exist LINE 1: ...."slug", "curriculum_standard"."description" FROM "curriculu... ^
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/0143d604-a9e7-4fd8-9586-f9c8e8785c8en%40googlegroups.com.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages