DEV Community

Discussion on: Laughing Blog Tutorial Part 2 - Handling Django Forms

solycalma profile image

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(

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!