On Dec 17, 6:36 pm, Florian Lindner <[EMAIL PROTECTED]> wrote:
>
> my code in the model:
>
>         def get_absolute_url(self):
>                 return self.id
>
> Anyone else got an idea? I would send anyone any code he requests...
>
Are you sure your code is indented right, e.g. did you mix spaces and
tabs? Did you try to raise an exception in the method? A simple
`assert False` before `return self.id` should do.

If that does not get you any further, could you paste your complete
model on dpaste.com?

Regards,

Jan Rademaker


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