X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/67df302167539474edd02b57c2e8bd30349d7625..987badb39941e04aa0056b80a0dd38ab24d1f8e6:/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)