djangopostgresqlweb-deploymentdigital-oceandroplet

error while deploying my django to the digital ocean server with postgres


i cloned my github repository to the remote machine and i done the following changes to the files

but when i run server i throws the following error

Exception Type: ProgrammingError
Exception Value: relation "blog_short_intro" does not exist
LINE 1: ...."profile_pic", "blog_short_intro"."content" FROM "blog_shor...

when i open the admin panel i can able to view the database tables but when i try to enter any of the tables that gives me error

pictures

error in homepage Error in homepage admin panel admin panel admin panel error when entered into any table admin panel error when entered into any table


Solution

  • we have to use the database name same as our project name then this error will be resolved