On May 8, 11:14 pm, meppum <[EMAIL PROTECTED]> wrote: > Hey guys, I need some help. I realized today that one of my source > files is corrupt. When I open it in NotePad++ all I get is "null" > characters. I've tried everything. Even software recovery programs to > see if I have a non-corrupt deleted version. The odd thing is though > the models still validate even though the file is unreadable. > I > deleted the .pyc file to make sure, and everything still runs well. > This leads me to believe that a copy of my source is being stored > somewhere in a temp file. > > Any idea where django might put this sort of thing. It's a lot of work > and it seems I didn't notice this file has been corrupt for quite a > while. I'm out of ideas. What happens if you rename this file and restart your Django app? If your application still finds the models defined in this file, you may have placed a copy of this file/Django app somewhere else in your PYTHONPATH that python is still able to locate. So, check the directories listed in your PYTHONPATH including the implicit "site- packages" sub-directory in /python_install_location/lib/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---