Hi Cindy, I know this post is quite old but I have used your tutorial for my website and it works well locally but when I deploy it in HEROKU and I make a subscription it gives me and error that says:
prosen is the app name
relation "prosen_newsusers" does not exist
LINE 1: SELECT (1) AS "a" FROM "prosen_newsusers" WHERE "prosen_news...
and the line with problems is:
if NewsUsers.objects.filter(email=instance.email).exists():
It seems like it doesn't recognize the connection with newsusers and I don't understand why this is not an issue locally but it is when deploye??
Any help will be welcome, thank you!
^
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi Cindy, I know this post is quite old but I have used your tutorial for my website and it works well locally but when I deploy it in HEROKU and I make a subscription it gives me and error that says:
prosen is the app name
relation "prosen_newsusers" does not exist
LINE 1: SELECT (1) AS "a" FROM "prosen_newsusers" WHERE "prosen_news...
and the line with problems is:
if NewsUsers.objects.filter(email=instance.email).exists():
It seems like it doesn't recognize the connection with newsusers and I don't understand why this is not an issue locally but it is when deploye??
Any help will be welcome, thank you!
^