On Thu, Jul 30, 2009 at 12:18:17AM -0700, gentlestone wrote:
> I found this text on the tutorial page 
> http://docs.djangoproject.com/en/dev/ref/models/instances/
> -----------------------------------------------------
> ...you could reference this using permalink() as follows:
> 
> @models.permalink
> def get_absolute_url(self):
>     return ('archive_view', (), {
>         'year': self.created.year,
>         'month': self.created.month,
>         'day': self.created.day})
> 
> Notice that we specify an empty sequence for the second parameter in
> this case, because we only want to pass keyword parameters, not
> positional ones.
> ---------------
> isn't it the right text?

Yes, you are right. Not sure how I missed this now. Repeatedly. :-(
-- 
Brian May <br...@microcomaustralia.com.au>

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