Skip to content

Commit

Permalink
Set backend_verbose_name
Browse files Browse the repository at this point in the history
Also mark it for translation.
  • Loading branch information
rfleschenberg committed Nov 22, 2013
1 parent 52e2fc5 commit 24f638e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions shop_paypal/offsite_paypal.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from django.shortcuts import render_to_response
from django.template import RequestContext
from django.views.decorators.csrf import csrf_exempt
from django.utils.translation import ugettext_lazy as _

from paypal.standard.forms import PayPalPaymentsForm
from paypal.standard.ipn.signals import payment_was_successful as success_signal
Expand All @@ -24,6 +25,7 @@ class OffsitePaypalBackend(object):
'''

backend_name = "Paypal"
backend_verbose_name = _("Paypal")
url_namespace = "paypal"

#===========================================================================
Expand Down

0 comments on commit 24f638e

Please sign in to comment.