Changeset - b380de123605
[Not reviewed]
0 1 0
Christopher Neugebauer - 6 years ago 2017-11-16 01:57:36
chrisjrn@gmail.com
carl wants “reviewer*s*”
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
pinaxcon/monkey_patch.py
Show inline comments
...
 
@@ -56,13 +56,13 @@ def patch_conference_schedule():
 
                pass
 

	
 
        return schedule
 

	
 
    def update_presentation(request, slot_data, presentation):
 
        try:
 
            slot_data["reviewer"] = (
 
            slot_data["reviewers"] = (
 
                presentation.speaker.conferencespeaker.reviewer
 
                if request.user.is_staff else ["redacted"]
 
            )
 
            slot_data["license"] = "CC BY-SA"
 
            slot_data["released"] = presentation.proposal_base.talkproposal.recording_release
 
            slot_data["twitter_id"] = presentation.speaker.conferencespeaker.twitter_username
...
 
@@ -85,12 +85,12 @@ def patch_conference_schedule():
 
            author_email
 
        ] if request.user.is_staff else ["redacted"]
 
        slot_data["abstract"] = "Keynote presentation from North Bay Python 2017",
 
        slot_data["description"] = "Keynote presentation from North Bay Python 2017"
 
        slot_data["conf_url"] = "https://2017.northbaypython.org"
 
        slot_data["cancelled"] = False,
 
        slot_data["reviewer"] = ""
 
        slot_data["reviewers"] = ""
 
        slot_data["license"] = "CC BY-SA"
 
        slot_data["twitter_id"] = author_twitter_id
 
        slot_data["released"] = True
 

	
 
    sv._schedule_json = schedule_json
0 comments (0 inline, 0 general)