From: yomguy Date: Tue, 24 Jul 2012 22:48:13 +0000 (+0200) Subject: fix public_id X-Git-Tag: 0.8^2~19 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=a724aefd63ffb5d8433090355ed7fb56475e5a15;p=teleforma.git fix public_id --- diff --git a/teleforma/views.py b/teleforma/views.py index 96bdba2c..430cc24a 100755 --- a/teleforma/views.py +++ b/teleforma/views.py @@ -346,8 +346,8 @@ class ConferenceView(DetailView): return context @jsonrpc_method('teleforma.stop_conference') - def stop(request, code): - conference = Conference.objects.get(code=code) + def stop(request, public_id): + conference = Conference.objects.get(public_id=public_id) conference.date_end = datetime.datetime.now() conference.save() for stream in conference.livestream.all():