Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialDziugas Tornau
640 PointsNo module named 'django.urls'
I am running the downloaded code on my computer. After I make the installation changes from section 1 video 2 to s1v2, I get the following error:
InvalidTemplateLibrary at /admin/login/ Invalid template library specified. ImportError raised when trying to load 'rest_framework.templatetags.rest_framework': No module named 'django.urls'
What is the problem?
2 Answers
TY C
5,917 PointsGot this same problem. I resolved it after I upgraded my django 1.9 to django 1.10, according to django rest framework requirements