Django 1.8: Problem with GenericRelation

2015-05-12 Thread hemabe
Hi, I upgraded from Django 1.7 to 1.8 and now I get this error, if I try to access the content_object of a GenericRelation: ERROR: 'NoneType' object has no attribute '_base_manager' Context: I overwrote the save-method in my app and try to get information about the object, which is being saved

Re: Problem with GenericRelation

2009-04-22 Thread Alex Gaynor
On Wed, Apr 22, 2009 at 11:07 AM, eli wrote: > > Thank You Alex. This patch will be available in Django 1.1 ? > > On 22 Kwi, 16:56, Alex Gaynor wrote: > > On Wed, Apr 22, 2009 at 10:49 AM, eli wrote: > > > > > Hi, > > > > > I have a pr

Re: Problem with GenericRelation

2009-04-22 Thread eli
Thank You Alex. This patch will be available in Django 1.1 ? On 22 Kwi, 16:56, Alex Gaynor wrote: > On Wed, Apr 22, 2009 at 10:49 AM, eli wrote: > > > Hi, > > > I have a problem with GenericRelation ... > > > My code: > > > class Comment(models

Re: Problem with GenericRelation

2009-04-22 Thread Alex Gaynor
On Wed, Apr 22, 2009 at 10:49 AM, eli wrote: > > Hi, > > I have a problem with GenericRelation ... > > My code: > > class Comment(models.Model): >text = models.TextField() >content_type = models.ForeignKey(ContentType, blank=True, > null=True) >obj

Problem with GenericRelation

2009-04-22 Thread eli
Hi, I have a problem with GenericRelation ... My code: class Comment(models.Model): text = models.TextField() content_type = models.ForeignKey(ContentType, blank=True, null=True) object_id = models.PositiveIntegerField(blank=True, null=True) content_object