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 trialPhilip Gales
15,193 PointsDjango 'Hello World' is not working. Workspace Unavailable?
I was able to keep up with the videos until we created the file views.py and added code in urls.py
The error that appears when I run port 8000 is as follows
"Workspace Unavailable This is a preview link for a Treehouse Workspace that is not currently active. If you are the workspace owner, you can launch it again via the Treehouse site."
I found another thread with this question and followed the advice of someone and wrapped my admin.site.urls in an include function. I have also tried closing all my browsers and reopening the workspace.
urlpatterns = [
url(r'^admin/', incude(admin.site.urls)),
url(r'^&', views.hello_world),
]
The question was asked in this thread https://teamtreehouse.com/community/my-hello-world-page-is-not-working
Edit: forgot to link my workspace https://w.trhou.se/6mt4x5q14s