In other words, why can't I simply put

{{organisation.get_absolute_url}}

to return the organisation's detail page?

Surely the whole point of the get_absolute_url is to be able to call an
object from wherever?
So what would I put in the model and/or urls.py to be able to do this?
At the moment I just
have:

   def get_absolute_url(self):
        return self.slug

for the Organisation model.....?

Can't I just define this further?

With thanks in advance


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