@ -4,16 +4,6 @@ from django.shortcuts import render_to_response
import urllib2
from django.http import HttpResponse
'''
PLEASE DELETE THIS VIEW. IT IS FOR SOME TOTALLY UNRELATED NONSENSE
def proxyTmp(request):
url = request.GET.get("url", "")
if url != '':
txt = urllib2.urlopen(url).read()
return HttpResponse(txt)
else:
return HttpResponse('wha?')
def main(request, channel):
if channel == '':
@ -7,7 +7,6 @@ from django.conf.urls.defaults import *
urlpatterns = patterns('',
# Example:
# (r'^campchat/', include('campchat.foo.urls')),
(r'proxy$', 'chat.views.proxyTmp'),
(r'(?P<channel>.*)', 'chat.views.main'),
# Uncomment the admin/doc line below to enable admin documentation:
# (r'^admin/doc/', include('django.contrib.admindocs.urls')),