Saturday, July 30, 2011

upgrade Django 1.2.3 to 1.3

After upgraging I entered python manage.py runserver and got error
messages:
File "manage.py", line 11, in <module>
execute_manager(settings)
File "c:\python26\lib\site-packages\django\core\management
\__init__.py", line 438, in execute_manager
utility.execute()
File c:\python26\lib\site-packages\django\core\management
\__init__.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "c:\python26\lib\site-packages\django\core\management
\__init__.py", line 261, in fetch_command
klass=load_command_class
module=import_module('%s.management.command.%s' % (app_name, name))
File "c:\python26\lib\site-packages\django\utils\importlib.py, line
35, in import_module
__import__(name)
File "c:\python26\lib\site-packages\django\core\management\command
\runserver.py",line 8, in <module>
from django.core.handlers.wsgi import WSGIHandler
File "c:\python26\lib\site-packages\django\core\handlers\wsgi.py",
line 11, in <module>
from django.dispatch import Signal
File "c:\python26\lib\site-packages\django\dispatch\__init__.py", line
9, in <module>
from django.dispatch.dispatcher import Signal, receiver
ImportError: cannot import name receiver

Could you point to my mistake? Many thanks!

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment