From 72620244eaa42975a5cb1876a44497f22d306a95 Mon Sep 17 00:00:00 2001 From: James Tauber Date: Thu, 20 Sep 2012 21:11:49 -0400 Subject: [PATCH] removed debugging prints and updated Presentation field name --- symposion/reviews/models.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/symposion/reviews/models.py b/symposion/reviews/models.py index 4cf44a55..6c903f57 100644 --- a/symposion/reviews/models.py +++ b/symposion/reviews/models.py @@ -308,7 +308,6 @@ class ResultNotification(models.Model): def promote_proposal(proposal): - print "promote", proposal if hasattr(proposal, "presentation") and proposal.presentation: # already promoted presentation = proposal.presentation @@ -319,7 +318,7 @@ def promote_proposal(proposal): abstract = proposal.abstract, speaker = proposal.speaker, section = proposal.section, - _proposal = proposal, + proposal_base = proposal, ) presentation.save() for speaker in proposal.additional_speakers.all(): @@ -330,7 +329,6 @@ def promote_proposal(proposal): def unpromote_proposal(proposal): - print "unpromote" if hasattr(proposal, "presentation") and proposal.presentation: proposal.presentation.delete()