Hi,

On 22.04.2009, at 14:13, SoCow wrote:

>
> bump!

di dumpty!
>
> On Apr 20, 7:45 pm, SoCow <vivid.des...@gmail.com> 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 trouble when feeding the
>> django.views.generic.date_based.object_detail my slug parameter. I'm
>> trying this:
>>
>> def search_object_detail(request, year, month, day, slug):
>>     return date_based.object_detail(
>>         request,
>>         year,
>>         month,
>>         day,
>>         Mymodel.objects.filter(status=1),
>>         'pub_date',
>>         slug = 'slug',

this sould probably be:

slug = slug


adi

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to