Browse files

+ remove an extra file.

  • Loading branch information...
1 parent 95cddcd commit 89a09df892a3cd7fc6f1914a666ddb4c4bd60605 @johnboxall committed May 18, 2009
Showing with 2 additions and 8 deletions.
  1. +1 −1 abs.py
  2. +1 −6 admin.py
  3. +0 −1 views.py
View
2 abs.py
@@ -1,7 +1,7 @@
from django.template import TemplateDoesNotExist
-
from ab.models import Experiment, Test
+
# @@@ The interface to this is shazbot. Rethink is in order.
class AB(object):
"""
View
7 admin.py
@@ -1,16 +1,11 @@
from django.contrib import admin
from ab.models import Experiment, Test
+
class TestInline(admin.TabularInline):
model = Test
-# class TestAdmin(admin.ModelAdmin):
-# list_display = ("name", "hits", "conversion",)
-
class ExperimentAdmin(admin.ModelAdmin):
-# list_display = ("name", "hits", "conversion",)
inlines = (TestInline,)
-
admin.site.register(Experiment, ExperimentAdmin)
-# admin.site.register(Test, TestAdmin)
View
1 views.py
@@ -1 +0,0 @@
-# Create your views here.

0 comments on commit 89a09df

Please sign in to comment.