X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/2b42a7314b63bed80a1561970ed0d1a065bce45f..b2541b6c5da10e4fbcd8e4975973b539af3fec21:/apps/lessons/models.py?ds=sidebyside diff --git a/apps/lessons/models.py b/apps/lessons/models.py index b0cd59337..dc113ed16 100644 --- a/apps/lessons/models.py +++ b/apps/lessons/models.py @@ -1,11 +1,14 @@ # -*- coding: utf-8 -*- +# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. +# from django.db import models from django.utils.translation import ugettext_lazy as _ from os import path class Document(models.Model): - """Dokument - materiał pomocniczy dla nauczycieli.""" + """Document - hand-out for teachers""" title = models.CharField(_('title'), max_length=120) slug = models.SlugField(_('slug')) file = models.FileField(_('file'), upload_to='lessons/document')