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 trialLogesh Jayaraman
445 PointsHello world error [SOLVED]
I did exactly the same as per the training i am getting the error as below
AttributeError at /
'module' object has no attribute 'hello_world'
Request Method: GET
Request URL: http://127.0.0.1:8000/
Django Version: 1.8.6
Exception Type: AttributeError
Exception Value:
'module' object has no attribute 'hello_world'
Exception Location: C:\learning_site\learning_site\learning_site\urls.py in <module>, line 22
Python Executable: C:\Python27\python.exe
Python Version: 2.7.8
Python Path:
['C:\\learning_site\\learning_site',
'C:\\Python27\\lib\\site-packages\\feedparser-5.1.3-py2.7.egg',
'C:\\Python27\\lib\\site-packages\\zipline-0.7.0-py2.7.egg',
'C:\\Python27\\lib\\site-packages\\six-1.9.0-py2.7.egg',
'C:\\Python27\\python27.zip',
'C:\\Python27\\DLLs',
'C:\\Python27\\lib',
'C:\\Python27\\lib\\plat-win',
'C:\\Python27\\lib\\lib-tk',
'C:\\Python27',
'C:\\Python27\\lib\\site-packages',
'C:\\Python27\\lib\\site-packages\\PIL']
Server time: Fri, 13 Nov 2015 03:01:13 +0000
[MOD: added ``` code block formatting -cf]
1 Answer
Logesh Jayaraman
445 PointsHi Chris, Thanks for your response, The issue is fixed.
Cristian Romero
11,911 Pointswhat was the issue?
Chris Freeman
Treehouse Moderator 68,457 PointsChris Freeman
Treehouse Moderator 68,457 PointsCan you post your urls.py and your models.py files?