Home > Net >  Database content doesn show on production
Database content doesn show on production

Time:06-27

I am struggling to understand what is missing on my application, sorry it seems a little silly question, I am sure is something quite simple that I am not actually looking to.

I have created an API, using REST-FRAMEWORK on my machine and upload it to production, but the content of my database didn't come through.

If you see in the picture the product list appers as empty

enter image description here

But on my machine it actually has some information

enter image description here

CodePudding user response:

It would be redundant to have the same database to both - local and production environment. By default, that is why they have separate database files/services and have to be filled independently.

  • Related