|
Radek Bartoň
blackhex at post.cz
Tue Dec 6 13:09:23 EST 2005
Dne úterý 06 prosinec 2005 00:27 Graham Dumpleton napsal(a):
When I use
def index(req):
instance = MyClass(req)
...
I can't access any method of instance by typing URL
http://hostname/file/index/instance/method1 in web browser, or am I wrong?
I tried this yesterday but it didn't work.
> I maybe don't understand what you are asking, but why can't you do:
>
> def index(req):
> instance = MyClass(req)
> ...
>
> This is presuming that you are creating an instance of MyClass for each
> request.
>
> Graham
|