X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/5ab359e2dd53758c27bdb42cc4013cdea15966ae..ec3ed54f52c0551fab881e2fa6009cdd6469559f:/apps/catalogue/models.py?ds=inline diff --git a/apps/catalogue/models.py b/apps/catalogue/models.py index db194347e..d8565c4bc 100644 --- a/apps/catalogue/models.py +++ b/apps/catalogue/models.py @@ -78,9 +78,10 @@ class Book(models.Model): # Formats xml_file = models.FileField(_('XML file'), upload_to='books/xml', blank=True) + html_file = models.FileField(_('HTML file'), upload_to='books/html', blank=True) pdf_file = models.FileField(_('PDF file'), upload_to='books/pdf', blank=True) odt_file = models.FileField(_('ODT file'), upload_to='books/odt', blank=True) - html_file = models.FileField(_('HTML file'), upload_to='books/html', blank=True) + txt_file = models.FileField(_('TXT file'), upload_to='books/txt', blank=True) parent = models.ForeignKey('self', blank=True, null=True, related_name='children')