On Tue, Dec 9, 2008 at 9:33 AM, garagefan <[EMAIL PROTECTED]> wrote:
>
> sure thing:
>
> from django.conf.urls.defaults import *
> from mysite.blog.models import Entry
> from tagging.views import tagged_object_list
>
> info_dict = {
>        'queryset': Entry.objects.filter(status=1),
>        'date_field': 'pub_date',
> }
>
> urlpatterns = patterns('django.views.generic.date_based',
>        (r'(?P<year>\d{4})/(?P<month>[a-z]{3})/(?P<day>\w{1,2})/(?
> P<slug>[-\w]+)/$', 'object_detail', dict(info_dict,
> slug_field='slug',template_name='blog/detail.html')),
>        (r'^(?P<year>\d{4})/(?P<month>[a-z]{3})/(?P<day>\w{1,2})/(?
> P<slug>[-\w]+)/$', 'object_detail', dict(info_dict,
> template_name='blog/list.html')),
>        (r'^(?P<year>\d{4})/(?P<month>[a-z]{3})/(?P<day>\w{1,2})/
> $','archive_day',dict(info_dict,template_name='blog/list.html')),
>        (r'^(?P<year>\d{4})/(?P<month>[a-z]{3})/$','archive_month',
> dict(info_dict, template_name='blog/list.html')),
>        (r'^(?P<year>\d{4})/$','archive_year', dict(info_dict,
> template_name='blog/list.html')),
>        (r'^$','archive_index', dict(info_dict, template_name='blog/
> list.html')),
> )


Sorry, the problem I suspected isn't there, so I'm not sure what's going on.

Know this though: It's not a problem with Django, esp. since the items
are showing up instantaneously in some places. It just sounds like a
problem in your code.

Could you show the template section that takes such a long time?

Jay P.

--~--~---------~--~----~------------~-------~--~----~
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