Very basic django app that gives me the following when I try to do anything (runserver, syncdb). Thoughts?
If it is a problem with one of my files, could you help guide me as to what the issue may be?
File "/Library/Python/2.7/site-packages/django/dispatch/__init__.py", line 9, in <module>
from django.dispatch.dispatcher import Signal, receiver
ImportError: cannot import name receiver
receiver should be imported from the dispatch module:
Note that the receiver decorator was added in only in Django 1.3. You can check your django version by:
edit:
The wrong import statement is part of the
__init__module of the dispatch package itself, which can have gotten there by a version re-write. Delete the whole django package directory (..C:\Python27\Lib\site-packages\django) and re-install. It is a crude, but probably the best solution.