Have a problem with a first Django App due to the Web Tutoral

63 views
Skip to first unread message

Happy Data Scientist

unread,
Jul 10, 2015, 2:05:28 PM7/10/15
to django...@googlegroups.com
Dear Friends !

I have an error when I tried to develop my first Django App due to the Web Tutoral: 

The error is  "ImportError at /admin/" -- cannot import name 'resolve_url'" for the address "http://127.0.0.1:8000/admin/"
The Django version is 1.8.3

Could you help me to resolve this issue ?

Thanks ahead

Russell Keith-Magee

unread,
Jul 11, 2015, 12:59:54 AM7/11/15
to Django Users
Hi,

The error message by itself doesn't give us a lot to work with - it's not an error I'd normally expect to see while doing the tutorial. 

My first guess would be that there is something corrupted in your Django install - this might happen if you've got multiple versions of Django installed, or if you've installed one version over the top of another. 

Another possibility is that there is something wrong with the 1.8.3 release - it *should* be a stable release, and I wouldn't expect to see a bug like the one you describe, but it's only been out for a day or two, and stranger things have happened in the past.

So - my first suggestions: 

 * Completely uninstall Django, and confirm that it's uninstalled. Or, if you're using a virtualenv, create an entirely new one. Then re-install Django.

 * If that doesn't work, try installing Django 1.8.2 (pip install django==1.8.2) to see if that makes a difference.

If neither of those two work, we're going to need to see some more context of that error message - the full error traceback, for example. 

Yours,
Russ Magee %-0



--
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...@googlegroups.com.
To post to this group, send email to django...@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/eac824c9-4898-440a-8479-81f846574a47%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages