-# -*- coding: utf-8 -*-
-from __future__ import unicode_literals
-
+# 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, migrations
name='Attachment',
fields=[
('key', models.CharField(help_text='A unique name for this attachment', max_length=255, serialize=False, verbose_name='key', primary_key=True)),
- ('attachment', models.FileField(upload_to=b'chunks/attachment')),
+ ('attachment', models.FileField(upload_to='chunks/attachment')),
],
options={
'ordering': ('key',),