Re: view.py as class not just methods

2006-08-29 Thread Malcolm Tredinnick
On Sat, 2006-08-26 at 10:34 +, skink wrote: > Hi, > > I'm relatively new to django and maybe my question is stupid, but... > > Is it possible to map in urls.py some url not to function in views.py > (which has first argument with HttpRequest) but to some class methot? > In that case each ins

view.py as class not just methods

2006-08-26 Thread skink
Hi, I'm relatively new to django and maybe my question is stupid, but... Is it possible to map in urls.py some url not to function in views.py (which has first argument with HttpRequest) but to some class methot? In that case each instance of such class would be created when session starts and f

view.py as class not just methods

2006-08-26 Thread skink
Hi, I'm relatively new to django and maybe my question is stupid, but... Is it possible to map in urls.py some url not to function in views.py (which has first argument with HttpRequest) but to some class methot? In that case each instance of such class would be created when session starts and f