I've started project with Django 1.5 I've the following urls, views, and tests of the profile app. When I browse localhost:8000/profiles it works just fine but when I run test fo
Solution 1:
If you created the urls.py file outside of app named yoda, then set the
ROOT_URLCONF = 'urls'
if you created urls.py in a module then set
ROOT_URLCONF = 'modulename.urls'
Try with this
Share
Post a Comment
for "Django 1.5.1 'importerror: No Module Named Urls' When Running Tests"
Post a Comment for "Django 1.5.1 'importerror: No Module Named Urls' When Running Tests"