Why are some of my files being replicated?
Sounds like a temp file created by your editor to support restoring if you crash/forget to save/etc.  I'm sure if I googled a bit I'd even be able to figure out which editor(s) use that format for their temp files.
Has nothing to do with django.
I'm running a django framework and notice that when I'm editing a file I will get another file in the form "filename.extension~". What exactly is that "~" doing there and why am I generating another file?
If it's a temp file, when does it go away?