vendredi 2 janvier 2015

Django: cannot import name resolve_url


Vote count:

0




I was doing 2nd part of django tutorial when i got this error after going to http://ift.tt/1jhruO8:



ImportError at /admin/

cannot import name resolve_url

Request Method: GET
Request URL: http://ift.tt/1jhruO8
Django Version: 1.7.1
Exception Type: ImportError
Exception Value:

cannot import name resolve_url

Exception Location: /usr/local/lib/python2.7/dist-packages/django/contrib/auth/views.py in <module>, line 8
Python Executable: /usr/bin/python
Python Version: 2.7.6
Python Path:

['/home/xxx/Projects/mysite',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-x86_64-linux-gnu',
'/usr/lib/python2.7/lib-tk',
'/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages/PILcompat',
'/usr/lib/python2.7/dist-packages/gtk-2.0',
'/usr/lib/python2.7/dist-packages/ubuntu-sso-client']

Server time: Fri, 2 Jan 2015 22:44:47 +0000


I work on:



Ubuntu 14.04.1 LTS 64-bit
Python 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2] on linux2


Any idea how it fix?



asked 1 min ago







Django: cannot import name resolve_url

Aucun commentaire:

Enregistrer un commentaire