Skip to content

Commit

Permalink
changed unicode returns to unicode strings
Browse files Browse the repository at this point in the history
  • Loading branch information
skoczen committed Sep 22, 2011
1 parent e9a9c2e commit 2c430ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions zebra/models.py
Expand Up @@ -11,7 +11,7 @@ class Meta:
abstract = True

def __unicode__(self):
return "%s" % self.stripe_customer_id
return u"%s" % self.stripe_customer_id


class StripePlan(models.Model, mixins.StripeMixin, mixins.StripePlanMixin):
Expand All @@ -21,7 +21,7 @@ class Meta:
abstract = True

def __unicode__(self):
return "%s" % self.stripe_plan_id
return u"%s" % self.stripe_plan_id


class StripeSubscription(models.Model, mixins.StripeMixin, mixins.StripeSubscriptionMixin):
Expand Down Expand Up @@ -53,7 +53,7 @@ class Subscription(DatesModelBase, StripeSubscription):
plan = models.ForeignKey(Plan)

def __unicode__(self):
return "%s: %s" % (self.customer, self.plan)
return u"%s: %s" % (self.customer, self.plan)

@property
def stripe_customer(self):
Expand Down

0 comments on commit 2c430ba

Please sign in to comment.