Opened 10 years ago
Last modified 10 years ago
#23851 closed Bug
'GenericForeignKey' object has no attribute 'deconstruct' — at Version 3
Reported by: | corebreaker | Owned by: | nobody |
---|---|---|---|
Component: | contrib.contenttypes | Version: | 1.7 |
Severity: | Normal | Keywords: | |
Cc: | corebreaker | Triage Stage: | Unreviewed |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
The class django.contrib.contenttypes.generic.GenericForeignKey is a field type, used for my example by application cmsplugin_rt.rt_carousel, application that i modified in order to use it in Django 1.7 .
But class django.contrib.contenttypes.generic.GenericForeignKey has not the required method 'deconstruct'.
I posted this ticket cause class django.contrib.contenttypes.generic.GenericForeignKey could be used by others as field in models and the exception could be raised for this reason.
The lack is just that class django.contrib.contenttypes.generic.GenericForeignKey has not the required 'deconstruct' method. This method must be added if not we have to subclass GenericForeignKey at every time we use it as field in models. It's just a big work to do each time.
Change History (3)
comment:1 by , 10 years ago
Severity: | Release blocker → Normal |
---|
comment:2 by , 10 years ago
Cc: | added |
---|---|
Type: | Uncategorized → Bug |
comment:3 by , 10 years ago
Description: | modified (diff) |
---|