Adding beta site to test redis.

This commit is contained in:
Samuel Clay 2012-07-23 10:28:15 -07:00
parent 4fe1c3cb65
commit 2f8ceeb113

View file

@ -55,7 +55,7 @@ SINGLE_DAY = 60*60*24
@never_cache
@render_to('reader/feeds.xhtml')
def index(request, **kwargs):
if request.method == "GET" and request.subdomain and request.subdomain != 'dev':
if request.method == "GET" and request.subdomain and request.subdomain not in ['dev', 'app02', 'www']:
username = request.subdomain
try:
if '.' in username: