rohitjain-rj / django-tagging

Automatically exported from code.google.com/p/django-tagging
Other
0 stars 0 forks source link

TagField doesn´t save tags when it is declared in an abstract model #250

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I have a Multi-table inheritance, this is, I have a generic model 
(GenericContent) and all the models inherit from this model. This models is not 
abstract, it has its own table.

I have declared a TagField in the parent model,

class GenericContent(models.Model):
    tags = TagField()

class oneModel(GenericContent)
   description = modesl.CharField. ...
 ...

The problem is that the _save method in the TagField is never invoked when I 
save an object that inherits from the GenericContent model.

I used TagFields in this way before and I have never had any problem.

Any idea?

Original issue reported on code.google.com by cue...@gmail.com on 25 Aug 2010 at 5:09