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
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
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
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
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post t
4 matches
Mail list logo