-# -*- 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 decimal import Decimal, DecimalException
from django import forms
def perks_input_name(name):
return "_%s_perk" % name
- def render(self, name, value, attrs=None):
+ def render(self, name, value, attrs=None, renderer=None):
try:
value = Decimal(value)
except DecimalException: