Commit bb793273 authored by Mathieu Courcelles's avatar Mathieu Courcelles

Adds site name and template tags

parent dffeafa2
Pipeline #8704193 passed with stage
in 2 minutes and 36 seconds
......@@ -20,7 +20,7 @@ def demoSite(value):
print('demo', allowed_hosts)
if 'demo' in allowed_hosts:
if 'demo' in str(allowed_hosts):
print(True)
return True
......@@ -34,7 +34,7 @@ def inhouseSite(value):
print('site', allowed_hosts)
if 'iric.ca' in allowed_hosts or 'tyerslab.com' in allowed_hosts:
if 'iric.ca' in str(allowed_hosts) or 'tyerslab.com' in str(allowed_hosts):
print(True)
return True
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment