Created
August 22, 2019 21:51
-
-
Save peterbe/cb2a4eacbc87c2927828ebe97ee9ad50 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
def show_sg_task_completion(request): | |
if not request.is_authenticated: | |
return random.random() <= 0.05 | |
return False |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment