1. Chris Lee-Messer
  2. django-wsgiserver


clee  committed cb1e5c8

expand test page

  • Participants
  • Parent commits ffd97b1
  • Branches default

Comments (0)

Files changed (2)

File tests/testdjangoproject/urls.py

View file
  • Ignore whitespace
     (r'', 'views.hello'),                                              
+from django.contrib.staticfiles.urls import staticfiles_urlpatterns
+print "staticfiles_urlpatterns():", staticfiles_urlpatterns()

File tests/testdjangoproject/views.py

View file
  • Ignore whitespace
 def hello(request):
     return HttpResponse(
-        """<html><body><h2>hello django-wsgiserver</h2>
+        """<html><head><title>django-wsgiserver</title></head>
+        <body><h2>hello django-wsgiserver</h2>
-        <li> <a href="/admin/">Check the default admin media service</a></li>
+        <li> <a href="/admin/">Check the default admin css media service</a></li>