kopia lustrzana https://gitlab.com/marnanel/chapeau
ActivityResponse's constructor actually stores its parameter.
I don't know how it even could have worked before.status-serialisers
rodzic
0a9d266305
commit
197362b2c3
|
@ -24,7 +24,7 @@ class ActivityResponse(HttpResponse):
|
|||
def __init__(self, activity_value):
|
||||
super().__init__()
|
||||
|
||||
self.activity_value = None
|
||||
self.activity_value = activity_value
|
||||
|
||||
def __str__(self):
|
||||
return '<ActivityResponse, wrapping %s>' % (self.activity_value,)
|
||||
|
|
Ładowanie…
Reference in New Issue