We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e3e990 commit 482a1ecCopy full SHA for 482a1ec
readthedocs/restapi/views/footer_views.py
@@ -64,7 +64,7 @@ def footer_html(request):
64
else:
65
print_url = None
66
67
- show_promo = True
+ show_promo = getattr(settings, 'USE_PROMOS', True)
68
# User is a gold user, no promos for them!
69
if request.user.is_authenticated():
70
if request.user.gold.count() or request.user.goldonce.count():
0 commit comments