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