From b9c272ae74d1c193e000d16ed4ee33179d07e475 Mon Sep 17 00:00:00 2001 From: Raymond Yee Date: Wed, 18 Apr 2012 15:12:15 -0700 Subject: [PATCH] Removing stuff I had put into ry branch, specifically the experimental branch --- experimental/urls.py | 8 -------- experimental/views.py | 19 ------------------- 2 files changed, 27 deletions(-) delete mode 100644 experimental/urls.py delete mode 100644 experimental/views.py diff --git a/experimental/urls.py b/experimental/urls.py deleted file mode 100644 index 857a9f59..00000000 --- a/experimental/urls.py +++ /dev/null @@ -1,8 +0,0 @@ -from django.conf.urls.defaults import * -from django.conf import settings - -if not settings.IS_PREVIEW: - urlpatterns = patterns( - "regluit.experimental.views", - url(r"^experimental/hello", "testExperimental"), -) diff --git a/experimental/views.py b/experimental/views.py deleted file mode 100644 index 3be0163d..00000000 --- a/experimental/views.py +++ /dev/null @@ -1,19 +0,0 @@ -from django.conf import settings -from django.http import HttpResponse, HttpRequest, HttpResponseRedirect -from django.views.decorators.csrf import csrf_exempt -from django.test.utils import setup_test_environment - -from regluit.core import models - -from unittest import TestResult - -import logging -logger = logging.getLogger(__name__) - -def testExperimental(request): - number_of_works = models.Work.objects.count() - return HttpResponse("Number of works {0}".format(number_of_works)) - - - - \ No newline at end of file