I'm trying to get the following get_absolute_url function working in one of my models:
============================================================ def get_absolute_url(self): return ('django.views.generic.date_based.object_detail', (), { 'year': self.start_date.year, 'month': self.start_date.month, 'day': self.start_date.day, 'slug': self.url}) get_absolute_url = permalink(get_absolute_url) ============================================================ the corresponding URL pattern entry looks like this: ============================================================ (r'^(?P<year>\d{4})/(?P<month>\d{2})/(?P<day>\d{2})/(?P<slug>[a-z0-9-] +)/$', 'django.views.generic.date_based.object_detail', dict(info_dict, month_format = "%m", slug_field='url')), ============================================================ So far, I've only got empty strings returned in the template. Can you see what I'm doing wrong? I'm using latest update from trunk. Many thanks in advance for your help. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---