from attachments.models import Attachment
from django.contrib.contenttypes import generic


class AttachmentInlines(generic.GenericStackedInline):
    model = Attachment
    extra = 1
from attachments.models import Attachment
from django.contrib.contenttypes import admin


class AttachmentInlines(admin.GenericStackedInline):
    model = Attachment
    extra = 1
Fix deprecated modules for content types
Fix deprecated modules for content types
