Doesnt Apply for existing files

I want to create a Website with django but for some reason when i want to apply something to an existing File, Cursor just creates a new file and aplies it there. Any Ideas on how to fix it??