import django

if django.get_version() >= '1.5':
    from django.conf.urls import patterns, url
else:
    from django.conf.urls.defaults import patterns, url

urlpatterns = patterns('',
    url(r'^simple/action/$', 'simpleAction', name = 'simpleAction'),
)

from django.http import HttpResponse


try:
    from django.conf.urls import patterns, url
except ImportError:
    from django.conf.urls.defaults import patterns, url



def simpleAction(request):
    return HttpResponse()


urlpatterns = patterns('',
    url(r'^simple/action/$', simpleAction, name = 'simpleAction'),
)

Make test urls routable.