Anonymous avatar Anonymous committed 96d4d31

update docs for 0.6.7 and include tests

Comments (0)

Files changed (4)

 .\#*
 *.ropeproject*
 *.svn*
+dist/*
+build/*
 
 Changelog
 ---------
+- 0.6.7 using open().read() in setup file broke setuptools/pip install because README.rst wasn't included. Created MANIFEST.in file and now include README.rst tests/, docs/ 
 - 0.6.6 fix up cherrypy dependency in ssl that was accidently introduced in the
   move to cherrypy.wsgiserver 3.2 branch
 - 0.6.5 added mediahandler wsgi application
 # modified version no cherrypy reliance
 setup(
     name="django-wsgiserver",
-    version="0.6.6",
+    version="0.6.7",
     description="""django-wsgiserver installs a web server for Django using CherryPy's WSGI server.""",
     author="""Peter Baumgartner Chris Lee-Messer the authors of CherryPy""",
     author_email="pete@lincolnloop.com, chris@lee-messer.net",
         "django_wsgiserver.management.commands",
         "django_wsgiserver.wsgiserver",
     ],
+    # package_data
+    # data_files=[],# where to put test certs
     classifiers=['Framework :: Django',
                  'Development Status :: 5 - Production/Stable',
                  'Environment :: Console',

tests/testdjangoproject/views.py

 from django.http import HttpResponse, HttpResponseRedirect
 
 def hello(request):
-    return HttpResponse("<html><body><h2>hello wsgiserver</h2></body></html>")
+    return HttpResponse(
+        """<html><body><h2>hello django-wsgiserver</h2>
+        <h3>Tests</h3>
+        <ul>
+        <li> <a href="/admin/">Check the default admin media service</a></li>
+        </ul>
+        </body></html>""")
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.