On 08/07/06 22:29, Jarek Zgoda wrote:
> I am getting 404 with archive_day date-based generic view. I know that
> some objects exist for specified day (they are present in archive_month
> view), but I consequently get 404 if I specify a day.
>
> My urlconf has an entry:
> (
> r'^(?P<year>\d{4})/(?P<month>\d{2})/(?P<day>\d{2})/$',
> 'django.views.generic.date_based.archive_day',
> item_dict
> ),
> where item_dict contains only queryset, date_field and month_format (I
> use "%m"). The dictionary for archive_month view has identical
> definition and contains objects with specified date.
>
> I am stuck here. How can I debug this to get any clue?
>
> Cheers
> Jarek Zgoda
>
Hi Jarek
Don't know if this is related to your problem, but if you're using
sqlite the patch at [1] may help.
If this does solve your problem, and you have a moment, you could add
some more background info about the bug to that ticket and confirm that
the patch worked. I was in a rush when I created it and haven't yet
taken time to add some more info for the devs.
cheers
Steven
[1] http://code.djangoproject.com/ticket/2471
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---