Some followup, in case some other poor soul searches for this topic:

I found some better doc for get-absolute-url() here:

http://docs.djangoproject.com/en/dev/ref/models/instances/?from=olddocs#get-absolute-url

Including a better example:

@models.permalink
def get_absolute_url(self):
    return ('archive_view', (), {
        'year': self.created.year,
        'month': self.created.month,
        'day': self.created.day})

So I changed my method like this:

    @models.permalink
    def get_absolute_url(self):
        return ('organization', (), {
            "type_slug": self.type.slug,
            "org_slug": self.slug})

...which works!

However, the permalink decorator still doesn't work.  Get error:
AttributeError: 'Org' object has no attribute 'permalink'
--~--~---------~--~----~------------~-------~--~----~
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