From a724aefd63ffb5d8433090355ed7fb56475e5a15 Mon Sep 17 00:00:00 2001 From: yomguy Date: Wed, 25 Jul 2012 00:48:13 +0200 Subject: [PATCH] fix public_id --- teleforma/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(): -- 2.39.5