old_contents: # -#- coding: utf-8 -#-
  
  from django.db import models
  from django.utils.translation import ugettext_lazy as _
  from filer.fields.image import FilerImageField
  
  from leonardo.module.web.models import Widget
  
  
  class SiteHeadingWidget(Widget):
      site_title = models.CharField(max_length=255, verbose_name=_("Site Title"))
      logo = FilerImageField(
          blank=True, null=True, verbose_name=_("Logo"), related_name="site_logos")
  
      tagline = models.TextField(blank=True, verbose_name=_("Tagline"))
  
      class Meta:
          abstract = True
          verbose_name = _("site heading")
          verbose_name_plural = _('site headings')
  
new_contents: # -#- coding: utf-8 -#-
  
  from django.db import models
  from django.utils.translation import ugettext_lazy as _
  from filer.fields.image import FilerImageField
  
  from leonardo.module.web.models import Widget
  
  
  class SiteHeadingWidget(Widget):
      site_title = models.CharField(max_length=255, verbose_name=_("Site Title"))
      logo = models.ForeignKey('media.Image',
          blank=True, null=True, verbose_name=_("Logo"), related_name="%(app_label)s_%(class)s_images")
  
      tagline = models.TextField(blank=True, verbose_name=_("Tagline"))
  
      class Meta:
          abstract = True
          verbose_name = _("site heading")
          verbose_name_plural = _('site headings')
  
subject: change file field to plain FK #42