fnp
/
prawokultury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update requirements
[prawokultury.git]
/
shop
/
models.py
diff --git
a/shop/models.py
b/shop/models.py
index
349cf43
..
aca0703
100644
(file)
--- a/
shop/models.py
+++ b/
shop/models.py
@@
-27,7
+27,7
@@
class Offer(models.Model):
ordering = ['entry']
def __unicode__(self):
ordering = ['entry']
def __unicode__(self):
- return
self.entry.title
+ return
unicode(self.entry)
def get_absolute_url(self):
return self.entry.get_absolute_url()
def get_absolute_url(self):
return self.entry.get_absolute_url()
@@
-121,4
+121,4
@@
def payment_status_changed_listener(sender, instance, old_status, new_status, **
_('New order has been placed.'),
'shop/email/payed_managers.txt'
)
_('New order has been placed.'),
'shop/email/payed_managers.txt'
)
-getpaid.signals.payment_status_changed.connect(payment_status_changed_listener)
+getpaid.signals.payment_status_changed.connect(payment_status_changed_listener
, dispatch_uid='shop.models.payment_status_changed_listener'
)