Issue with db.sqlite3 file in Python Django

Every time the db.sqlite3 file is created or updated, it contains NUL, DLE, EOT symbols, etc. I’ve checked the file and project directory permissions and recreated the database using Django migrations, but nothing seems to work. I’m attaching a photo. Any ideas on what to do next?

Welcome @Tatyana322 !

Nothing. This isn’t a file you’re supposed to edit directly. It’s your database file. Do not open it with an editor.

When I open this same file on Windows (and not in a virtual machine), it looks different, and this confuses me. :frowning:

You’ve got some tool or something installed that is showing you the structured data in this case - something you don’t have installed in the other environment.

1 Like