Changes between Version 4 and Version 7 of Ticket #23851
- Timestamp:
- Nov 17, 2014, 11:28:56 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #23851 – Description
v4 v7 1 The class django.contrib.contenttypes.generic.GenericForeignKey is a field type for models, used for my example by application cmsplugin_rt.rt_carousel, application that i modified in order to use it in Django 1.7 .1 The class `django.contrib.contenttypes.generic.GenericForeignKey` is a field type for models, used for my example by application `cmsplugin_rt.rt_carousel`, application that i modified in order to use it in Django 1.7 . 2 2 3 But class django.contrib.contenttypes.generic.GenericForeignKey has not the required method 'deconstruct'.3 But class `django.contrib.contenttypes.generic.GenericForeignKey` has not the required method `deconstruct`. 4 4 5 I posted this ticket cause class django.contrib.contenttypes.generic.GenericForeignKeycould be used by others as field in models and the exception could be raised for this reason.5 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. 6 6 7 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 GenericForeignKeyat every time we use it as field in models. It's just a big work to do each time.7 The lack is just that class `django.contrib.contenttypes.generic.GenericForeignKey` has not implemented the required method `deconstruct`. This method should 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.