Am 17.12.2007 um 23:03 schrieb Jan Rademaker:
> > > 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. Yes, it was really a tab/whitespace problem. I've switched to Mac OS about a month ago and I'm not yet familiar with the editor I choose. Thanks a lot! Florian --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---