1.1 --- a/WebStack/Generic.py Thu May 27 22:18:00 2004 +0000
1.2 +++ b/WebStack/Generic.py Sat May 29 17:25:44 2004 +0000
1.3 @@ -355,6 +355,18 @@
1.4
1.5 raise NotImplementedError, "delete_cookie"
1.6
1.7 + # Application-specific methods.
1.8 +
1.9 + def set_user(self, username):
1.10 +
1.11 + """
1.12 + An application-specific method which sets the user information with
1.13 + 'username' in the transaction. This affects subsequent calls to
1.14 + 'get_user'.
1.15 + """
1.16 +
1.17 + raise NotImplementedError, "set_user"
1.18 +
1.19 class Resource:
1.20
1.21 "A generic resource interface."