How to change Django data uploaded to python anywhere. A memorandum of how to change intuitively without using the command line.
What I wanted to do ・ I wanted to update the link and image of the app on my portfolio site, which I had left for a while.
Image before change
Step 1 Open the console screen of python anywhere and go to the folder where the sqllite3 file is located. Download the sqlite3 file.
Step 2 Use DB Browser (sqlite) to open the downloaded db.sqlite3 file.
Step 3 Change the link destination and the new image name. After making changes, press Apply.
Step 4 Upload a new image. From the console screen of python anywhere, move to the folder where the photo is placed (static is set). Upload a new image. (Make sure that it matches the image name changed in step 3.)
Step 5
Once again, go to the folder that contains the sqlite3.db file and upload and replace the locally rewritten sqlite3.db.
This completes the correction.
Recommended Posts