Issue #2 new

ValidationError when saving a nested inline

Anonymous created an issue

I'm getting an error when I try to modify a filed using NestedTabularInline. When saving I get the following error.

Exception Type: ValidationError Exception Value: [u'ManagementForm data is missing or has been tampered with'] Exception Location: django\forms\formsets.py in _management_form, line 68

I'm not sure if I'm using it correctly. My admin class are layout like this:

class PAssetCommentInline(admin.NestedStackedInline): model = AssetComment extra = 0

class PAssetVersionInline(admin.TabularInline): model = AssetVersion extra = 0 inlines = (PAssetCommentInline,)

class PAssetAdmin(admin.ModelAdmin): inlines = (PAssetVersionInline,)

Do you need a full stack?

Good work

Comments (4)

  1. Log in to comment