-# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
-# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+# This file is part of Wolne Lektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
#
from django.apps import apps
from django.conf import settings
class Author(models.Model):
name = models.CharField('imię i nazwisko', max_length=50, db_index=True)
slug = models.SlugField('slug', max_length=120, db_index=True, unique=True)
- sort_key = models.CharField('klucz sortowania', max_length=120, db_index=True)
+ sort_key = models.CharField('klucz sortowania', max_length=120, db_index=True, db_collation='C')
description = models.TextField('opis', blank=True)
death = models.IntegerField('rok śmierci', blank=True, null=True)
gazeta_link = models.CharField(blank=True, max_length=240)