yes it was, thanks.
--~--~-~--~~~---~--~~
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 PROTE
On 6/22/06, coulix <[EMAIL PROTECTED]> wrote:
> def get_absolute_url(self):
> return "/blog/tag/%s/" % (self.name)
>
> def save(self):
> print "foo"
> self.total_ref = 28
> super(Tag, self).save()
>
> "foo" [never] shows up on the
imported file used space.. i was puting tab.
--~--~-~--~~~---~--~~
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, s
i mean never shows up
--~--~-~--~~~---~--~~
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 PRO
class Tag(models.Model):
name = models.CharField(maxlength=200, core=True)
total_ref = models.IntegerField(blank=True, null=True)
class Admin:
ordering = ['name']
def __str__(self):
return self.name
def get_absolute_url(self):
return "/blog/tag/%s/" %
On Tuesday 20 June 2006 17:17, coulix wrote:
> when i add a tag element via the admin interface, or from a blog
> entry. total_ref is always null. why doesnt it get affected to 28 ?
> thanks
It looks OK to me. I do have similar code that sets values like this,
so it should work.
To debug, try
hello, simple problem :
class Tag(models.Model):
name = models.CharField(maxlength=200, core=True)
total_ref = models.IntegerField(blank=True, null=True)
class Admin:
ordering = ['name']
def __str__(self):
return self.name
def get_absolute_url(self):
7 matches
Mail list logo