Ethra8 / english-grows

Project 5 : E-commerce
0 stars 1 forks source link

Can't import json file with services to sqlite3 db #9

Closed Ethra8 closed 1 month ago

Ethra8 commented 1 month ago

When trying to upload the json file as fixture to django db, terminal states error executign order 'loaddata' because there is a "Deserialization".

Ethra8 commented 1 month ago

COrrected error: I had changed from default json file the "pk" key of each object to "id" because it made more sense to me at that moment, but as I've searched the web for an answer on "deserialization" error on console, this issueon Stackoverflow cleared iy all: https://stackoverflow.com/questions/54617353/django-deserialization-error-problem-installing-fixture image