Hi Govind,
On 29/12/2020 21.57, Govind Kumar Yadav wrote:
Like if I am trying to deploy a new project from beginning I am able to
do that without any error but when I try to deploy my already existing
project which works fine on my local windows machine with postgresdb it
fails to migrate the data and pops error that relation "posts_post does
not exist".
Are you using postgres on Windows or which database are you using? It's
not really clear from what you're writing, but if you're using sqlite,
then this might help:
https://dev.to/coderasha/how-to-migrate-data-from-sqlite-to-postgresql-in-django-182h
It seems like this has nothing to do with the operating system but is
more of a database migration issue?
Please let me know that if it's possible to deploy a full fledged django
webapp with al the data prepared on local host using postgresdb on Linux.
It is. You just need to make it clearer what you have done to "prepare
all the data on localhost".
Kind regards,
Kasper Laudrup
--
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/d722e69c-a82b-0886-ad67-d1a3165242dc%40stacktrace.dk.