X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/9c5d9a4e77a10b4e60d89d3890e49002bd7f3993..c8fbdd51cb21e69bccf86cfe4b53fa307e6edcb2:/apps/lessons/models.py?ds=sidebyside diff --git a/apps/lessons/models.py b/apps/lessons/models.py index ffb2b6c96..412dc6bc5 100644 --- a/apps/lessons/models.py +++ b/apps/lessons/models.py @@ -16,6 +16,7 @@ class Document(models.Model): slideshare_id = models.CharField(_('slideshare ID'), blank=True, max_length=120) description = models.TextField(_('description'), blank=True) created_at = models.DateTimeField(auto_now_add=True) + html = models.TextField(_('HTML'), blank=True) # HTML content, alternative for Flash def slideshare_player(self): base, ext = path.splitext(self.file.name)