Tuesday, September 2, 2014

Re: runserver error

I added password_reset import to /home/swathi/env/local/lib/python2.7/site-packages/django/utils/importlib.py
 then I got this
 python manage.py runserver
Traceback (most recent call last):
  File "manage.py", line 9, in <module>
    from django.core.management import execute_from_command_line
  File "/home/swathi/env/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 10, in <module>
    from django.utils.importlib import import_module
  File "/home/swathi/env/local/lib/python2.7/site-packages/django/utils/importlib.py", line 5, in <module>
    from django.contrib.auth.views import password_reset, password_reset_confirm
  File "/home/swathi/env/local/lib/python2.7/site-packages/django/contrib/auth/__init__.py", line 3, in <module>
    from django.conf import settings
  File "/home/swathi/env/local/lib/python2.7/site-packages/django/conf/__init__.py", line 18, in <module>
    from django.utils import importlib
ImportError: cannot import name importlib
 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/d213c076-9893-43f3-86fc-17415988bd6b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment