Request specific data in generic views

2007-06-04 Thread konryd
Is it possible to send username to the template using generic views? My site needs to display "hello " but otherwise isn't more complicated than just trivial object_list. I read about serving a callable object to generic view in extra_content, but I'm not sure whether I can get request object fro

Django icons

2007-12-20 Thread konryd
Someone created these cool leopard icons for lighttpd and rails. I guess it should be quite easy for someone with skills to create green django icons. Anyone? And here's the link http://www.wishingline.com/notebook/2007/12/railslighttpdiconsforleopard/ --~--~-~--~~~-

Re: Generic views and manipulating data before saving

2006-08-27 Thread konryd
I guess manipultors are made for this purpose. I'm not sure but you can probably override AddManipulator in order to use generic views. Hope this is the answer to your queston. This is an example from my excercise blog app (it doesn't use generic view actually): #model class Entry(models.Model