Hi. I'm using django 1.7b1. And I made generic relation in my models:
class Transaction(models.Model): ... # Generic foreign key content_type = models.ForeignKey(ContentType) object_id = models.PositiveIntegerField() content_object = GenericForeignKey('content_type', 'object_id') class Document(models.Model): ... transactions = GenericRelation(Transaction) and admin.py: class TransactionInline(GenericTabularInline): model = Transaction formfield_overrides = { models.TextField: {'widget': forms.Textarea(attrs={'cols': 40, 'rows': 2})} } @admin.register(Document) class DocumentAdmin(admin.ModelAdmin): ... inlines = [ TransactionInline, ] Can you suggest where the problem may be? I have some similar fields in my old project (django 1.6) and all works fine. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/9f35b8c1-795c-4296-8b00-aaea02a3f516%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.