Skip to content

Commit c1da535

Browse files
committed
Use context process for setting
1 parent 0247f3e commit c1da535

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

readthedocs/core/context_processors.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@ def readthedocs_processor(request):
1717
'TEMPLATE_ROOT': settings.TEMPLATE_ROOT + '/',
1818
'DO_NOT_TRACK_ENABLED': settings.DO_NOT_TRACK_ENABLED,
1919
'USE_PROMOS': settings.USE_PROMOS,
20+
'SUPPORT_EMAIL': settings.SUPPORT_EMAIL,
2021
}
2122
return exports

readthedocs/templates/core/project_bar_base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ <h1>
3131
{% blocktrans trimmed %}
3232
Your project is currently disabled for abuse of the system.
3333
Please make sure it isn't using unreasonable amounts of resources or triggering lots of builds in a short amount of time.
34-
Please <a href="mailto:{{ settings.SUPPORT_EMAIL }}">contact support</a> to get your project re-enabled.
34+
Please <a href="mailto:{{ SUPPORT_EMAIL }}">contact support</a> to get your project re-enabled.
3535
{% endblocktrans %}
3636
</p>
3737
<br>

0 commit comments

Comments
 (0)