1. Sergey Generalov
  2. cmsplugin-fbpicture


Sergey Generalov  committed 32cd43a

remove unessasary format attr from filebrowser fields

  • Participants
  • Parent commits 47a65fc
  • Branches default

Comments (0)

Files changed (1)

File fbpicture/models.py

View file
-    image = FileBrowseField(_("image"), max_length=255, format='Image')
-    big_image = FileBrowseField(_("big image"), max_length=255, format='Image', null=True, blank=True)
+    image = FileBrowseField(_("image"), max_length=255)
+    big_image = FileBrowseField(_("big image"), max_length=255, null=True, blank=True)
     url = models.CharField(_("link"), max_length=255, blank=True, null=True, help_text=_("if present image will be clickable"))
     page_link = models.ForeignKey(Page, verbose_name=_("page"), null=True, blank=True, help_text=_("if present image will be clickable"))
     alt = models.CharField(_("alternate text"), max_length=255, blank=True, null=True, help_text=_("textual description of the image"))