@@ -162,7 +162,7 @@ class MediaFileContentInline(FeinCMSInline):
162162
163163 class ContentWithFilerFile (models .Model ):
164164 """
165- MediaFile Content for use with Django-Filer.
165+ File content
166166 """
167167 feincms_item_editor_inline = MediaFileContentInline
168168
@@ -179,7 +179,7 @@ def render(self, **kwargs):
179179 'content/filer/default.html' ,
180180 ], ctx , context_instance = kwargs .get ('context' ))
181181
182- class FileContent (ContentWithFilerFile ):
182+ class FilerFileContent (ContentWithFilerFile ):
183183 mediafile = FilerFileField (verbose_name = _ ('file' ), related_name = '+' )
184184 file_type = 'file'
185185 type = 'download'
@@ -189,16 +189,16 @@ class Meta:
189189 verbose_name = _ ('file' )
190190 verbose_name_plural = _ ('files' )
191191
192- class ImageContent (ContentWithFilerFile ):
192+ class FilerImageContent (ContentWithFilerFile ):
193193 """
194194 Create a media file content as follows::
195195
196- from feincms.content.medialibrary.v2 import MediaFileContent
197- Page.create_content_type(MediaFileContent , TYPE_CHOICES=(
196+ from feincms.contents import FilerImageContent
197+ Page.create_content_type(FilerImageContent , TYPE_CHOICES=(
198198 ('inline', _('Default')),
199199 ('lightbox', _('Lightbox')),
200200 ('whatever', _('Whatever')),
201- ))
201+ ))
202202
203203 For a media file of type 'image' and type 'lightbox', the following
204204 templates are tried in order:
0 commit comments