1.1 --- a/examples/Django/authapp.py Sun Jan 15 23:21:34 2006 +0000
1.2 +++ b/examples/Django/authapp.py Sun Jan 15 23:22:09 2006 +0000
1.3 @@ -1,12 +1,11 @@
1.4 #!/usr/bin/env python
1.5
1.6 -from WebStack.Adapters import Django
1.7 +from WebStack.Adapters.Django import deploy
1.8 from Auth import AuthResource, AuthAuthenticator
1.9
1.10 resource = AuthResource()
1.11 authenticator = AuthAuthenticator()
1.12
1.13 -def auth(request, *args):
1.14 - return Django.respond(request, resource, authenticator=authenticator, handle_errors=0)
1.15 +auth = deploy(resource, authenticator=authenticator, handle_errors=0)
1.16
1.17 # vim: tabstop=4 expandtab shiftwidth=4