-# -*- 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.
+# This file is part of Wolne Lektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
from catalogue.constants import LANGUAGES_3TO2
from .constants import FN_TYPES
from .models import Note, Qualifier
class NotesView(ListView):
from catalogue.constants import LANGUAGES_3TO2
from .constants import FN_TYPES
from .models import Note, Qualifier
class NotesView(ListView):
try:
self.qualifier = Qualifier.objects.get(qualifier=self.request.GET.get('qual'))
except Qualifier.DoesNotExist:
try:
self.qualifier = Qualifier.objects.get(qualifier=self.request.GET.get('qual'))
except Qualifier.DoesNotExist: