Commits

Doug Tyler committed 3969f61

Add placeholder "Hello, world!" text to homepage

Comments (0)

Files changed (2)

user_stories/stories/views.py

-# Create your views here.
+from django.http import HttpResponse
+
+
+def home(request):
+    return HttpResponse("Hello, world!")

user_stories/urls.py

 from django.conf.urls import patterns, include, url
 
-# Uncomment the next two lines to enable the admin:
 from django.contrib import admin
 admin.autodiscover()
 
     # url(r'^$', 'user_stories.views.home', name='home'),
     # url(r'^user_stories/', include('user_stories.foo.urls')),
 
-    # Uncomment the admin/doc line below to enable admin documentation:
     url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
-
-    # Uncomment the next line to enable the admin:
     url(r'^admin/', include(admin.site.urls)),
 )