Changes between Version 4 and Version 7 of Ticket #23851


Ignore:
Timestamp:
Nov 17, 2014, 11:28:56 AM (9 years ago)
Author:
corebreaker
Comment:

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 .
     1The 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 .
    22
    3 But class django.contrib.contenttypes.generic.GenericForeignKey has not the required method 'deconstruct'.
     3But class `django.contrib.contenttypes.generic.GenericForeignKey` has not the required method `deconstruct`.
    44
    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.
     5I 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.
    66
    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 GenericForeignKey at every time we use it as field in models. It's just a big work to do each time.
     7The 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.
Back to Top