Re: Re : get_absolute_url method breaks under 1.3 but works with 1.2.5

2011-05-13 Thread creecode
Hello wxHacker, Ummm... I've already defined the method and it worked under 1.2.5 and broke in 1.3. Am I misunderstanding your point? Perhaps my attachment < https://groups.google.com/group/django-users/attach/73bbe17d0b6bae40/absolute_url_test.zip?part=4&authuser=0 > didn't show at all end

Re: Re : get_absolute_url method breaks under 1.3 but works with 1.2.5

2011-05-13 Thread creecode
Hello Dominique, On Friday, May 13, 2011 10:09:19 AM UTC-7, Dominique Guardiola Falco wrote: None of my business, but you could also look why your code is calling this > method when it shouldn't be called > Or add a blank get_absolute_url methods to the models which doesn't have > one > The co

Re: Re : get_absolute_url method breaks under 1.3 but works with 1.2.5 and many major and minor versions prior

2011-05-13 Thread Boštjan Mejak
Define get_absolute_url in models.py that is a file in your application's directory. from django.db import models class MyModeName(models.Model): # Add field names here like --> name = models.CharField(max_length=20, primary_key=True) def __unicode__(self): # Well, you don