Here is a simple test case. Place twilltest.py and urls.py in a directory and run "PYTHONPATH=. python twilltest.py". Make sure Django and twill exist in your PYTHONPATH.
--- twilltest.py ------------------------- #!/usr/bin/python from django.conf import settings settings.configure(ROOT_URLCONF='urls') from django.core.servers.basehttp import AdminMediaHandler from django.core.handlers.wsgi import WSGIHandler app = AdminMediaHandler(WSGIHandler()) from twill import add_wsgi_intercept add_wsgi_intercept('127.0.0.1', 8000, lambda: app) from twill.commands import * go('http://127.0.0.1:8000/test/') show() --- urls.py -------------------- from django.conf.urls.defaults import patterns from django.http import HttpResponse urlpatterns = patterns('', (r'^test/', lambda request: HttpResponse('TEST')),) --- output on my machine with twill 0.9b1 and both Python 2.4 and 2.5: closing... ==> at http://127.0.0.1:8000/test/ TESTTEST --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---