On 14 Apr, 20:43, fizban <[EMAIL PROTECTED]> wrote:
> So there must be something wrong in the way I pass data to myview
> (it's either year/month/day/slug/ or the queryset). The queryset
> itself, however is setup right because it works when I use
> 'object_detail' instead of myview. Same goes for the regexp's, they
> work with 'object_detail'.

I have finally solved my problem re-writing "myview":

def myview(request, **kwargs):

        extra_context = {
                'year': kwargs['year'],
                'month': kwargs['month'],
                'day': kwargs['day']
        }

        kwargs['extra_context'] = extra_context

        return date_based.object_detail(
                request, **kwargs
        )



--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to