X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/9c5d9a4e77a10b4e60d89d3890e49002bd7f3993..2ea9be2319952e1b977b9a175559871589c1046e:/apps/lessons/models.py?ds=inline 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)