Re: django.views.generic.date_based.object_detail called through a custom function - simple issue

2009-04-22 Thread SoCow
bump! On Apr 20, 7:45 pm, SoCow wrote: > Hi all, i'm trying to calling a genric view from a simple custom view > (why? see > thishttp://groups.google.com/group/django-users/browse_thread/thread/b569...) > but i'm running into tr

django.views.generic.date_based.object_detail called through a custom function - simple issue

2009-04-20 Thread SoCow
Hi all, i'm trying to calling a genric view from a simple custom view (why? see this http://groups.google.com/group/django-users/browse_thread/thread/b5692e73f2b52b9) but i'm running into trouble when feeding the django.views.generic.date_based.object_detail my slug parameter. I'm trying this: d

Re: recieving GET from generic views - arrrrgh

2009-04-20 Thread SoCow
e', >         template_name = 'search_form.html', >         extra_context = { >                         'error': error, >         } >     ) > > On 20 апр, 02:01,SoCow wrote: > > > ok, i'm getting there. i figured out that i need to wrap the generic >

Re: recieving GET from generic views - arrrrgh

2009-04-19 Thread SoCow
s at least 3 non-keyword arguments (1 given) i thought that i was passing it 3 non-keyword arguments, no? anyone any experience with this? Thanks On 19 Apr, 19:02, SoCow wrote: > Hi all, > thanks for reading. > > I've implemented search for my site following the example in &

recieving GET from generic views - arrrrgh

2009-04-19 Thread SoCow
Hi all, thanks for reading. I've implemented search for my site following the example in the http://www.djangobook.com/en/2.0/chapter07/. My search view receives the search term from a GET event. I want to use this same method in a generic view, but don't know how Any ideas? Many thanks --~--~-

Question regarding django.contrib.comments

2009-04-18 Thread SoCow
Hi there, I've implemented django.contrib.comments and activated the custom redirect option by including the following line in the comments form: This works great for redirecting back to the original object from which it was called. However, I can't work out how to achievie this from the previ