So, fortunately I have my project in github so I could clone it.
this was my project
so I made some modifications, but didn’t made a commit to my repository, because I would do it another day. So today I was going to see my project, and it happened:
I can’t understand. I not even have settings.py anymore, it’s settings.cpython-312.pyc now
I would like to give more infos but I don’t even know what happened. My Recycle bin don’t have any file that has to do with this project so I didn’t delete it
Some know if there’s a reasonable answer for it?
This isn’t a Django issue.
Qute honestly, it’s highly unlikely that you’re ever going to know exactly what happened.
Is this VS Code?
Are you working on a local system, or on a “remote” environment? (WSL, ssh, docker, etc)
No, this is a pretty simple project in VS Code and in local system. I just opened VS code and the files I was working on were all red (deleted) and the few project files with other extensions
if it’s not a django issue I’m going to make a malware check up on my PC.
Hi taborda17
Could you finally solve your problem? Because I’ve the same.
Thanks a lot
Hello jravera
I discovered it’s actually a git problem, related to git pushs
I didn’t exactly solve the problem but the solution is to reset commits or try to clone the last commit you have in your github repository
I hope its helps.
Hi taborda17
It is a relief to know that it is a git problem. I will clone the whole repository and try again. If the problem persists I will surely return to backups on an external hard drive.
Thank you very much for your reply