From 54ed08ef75dbd005ecb8d0ac37073b1a74a985c0 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 17 Dec 2012 13:20:17 -0500 Subject: s/scannerjammer.fm/scannerjammer.com/ migration --- backend/templates/redirect.html | 6 +++--- backend/templates/stats.html | 6 +++--- backend/views.py | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'backend') diff --git a/backend/templates/redirect.html b/backend/templates/redirect.html index 3920520..d83886c 100644 --- a/backend/templates/redirect.html +++ b/backend/templates/redirect.html @@ -3,14 +3,14 @@ SCANNERJAMMER - - + + - SCANNERJAMMER + SCANNERJAMMER diff --git a/backend/templates/stats.html b/backend/templates/stats.html index a4f993b..dfa2146 100644 --- a/backend/templates/stats.html +++ b/backend/templates/stats.html @@ -12,19 +12,19 @@ rooms {{ rooms_total }}
in main room now {% for user in users_in_main_room %} -  {{ user.username }} +  {{ user.username }} {% endfor %}
main room peak {{ main_room_peak }}

new today
{% for user in new_users_today %} -  {{ user.username }} +  {{ user.username }} {% endfor %}

visitors today
{% for user in users_today %} -  {{ user.username }} +  {{ user.username }} {% endfor %}


diff --git a/backend/views.py b/backend/views.py index 556d9b2..fd613e5 100644 --- a/backend/views.py +++ b/backend/views.py @@ -51,7 +51,7 @@ BANDCAMP_API_URL = "http://api.bandcamp.com/api/url/1/info?key="+BANDCAMP_KEY+"& BANDCAMP_API_BAND = "http://api.bandcamp.com/api/band/3/discography?key="+BANDCAMP_KEY+"&band_id=" BANDCAMP_API_ALBUM = "http://api.bandcamp.com/api/album/2/info?key="+BANDCAMP_KEY+"&album_id=" BANDCAMP_API_TRACK = "http://api.bandcamp.com/api/track/1/info?key="+BANDCAMP_KEY+"&track_id=" -DEFAULT_BG = "http://scannerjammer.fm/bgz/gridzy9.jpg" +DEFAULT_BG = "http://scannerjammer.com/bgz/gridzy9.jpg" # # Common funtions @@ -1111,7 +1111,7 @@ def stats(request): def redirect(request): """ Permanent redirect """ - response = HttpResponsePermanentRedirect(redirect_to='http://scannerjammer.fm') + response = HttpResponsePermanentRedirect(redirect_to='http://scannerjammer.com') template = loader.get_template('redirect.html') response.write(template.render(Context())) return response -- cgit v1.2.3-70-g09d2