arteria / django-compat

Forward and backwards compatibility layer for Django 1.4, 1.7, 1.8, 1.9, 1.10, and 1.11
MIT License
106 stars 30 forks source link

django.contrib.contenttypes.generic is deprecated and will be removed #24

Closed philippeowagner closed 9 years ago

philippeowagner commented 9 years ago

What should be added to compat? We currently use:

Source: here

from django.contrib.contenttypes.admin import (  # NOQA isort:skip
    GenericInlineModelAdmin, GenericStackedInline, GenericTabularInline,
)
from django.contrib.contenttypes.fields import (  # NOQA isort:skip
    GenericForeignKey, GenericRelation,
)
from django.contrib.contenttypes.forms import (  # NOQA isort:skip
    BaseGenericInlineFormSet, generic_inlineformset_factory,
)
philippeowagner commented 9 years ago

GenericForeignKey is already supported.