Permalink
Browse files

changed tests to use django 1.2.5

  • Loading branch information...
1 parent 6d67c46 commit ce3b22496bca225ed59f1f982f8da7d9e46d2460 Jonas Obrist committed Feb 9, 2011
Showing with 3 additions and 2 deletions.
  1. +1 −1 tests/buildout.cfg
  2. +2 −1 tests/testapp/sampleapp/admin.py
View
2 tests/buildout.cfg
@@ -25,7 +25,7 @@ scripts =
[django]
recipe = djangorecipe
-version = 1.2.4
+version = 1.2.5
project = testapp
settings = settings
eggs = ${buildout:eggs}
View
3 tests/testapp/sampleapp/admin.py
@@ -1,10 +1,11 @@
+from cms.admin.placeholderadmin import PlaceholderAdmin
from django.contrib import admin
from testapp.sampleapp.models import Picture, Category
class PictureInline(admin.StackedInline):
model = Picture
-class CategoryAdmin(admin.ModelAdmin):
+class CategoryAdmin(PlaceholderAdmin):
inlines = [PictureInline]
admin.site.register(Category, CategoryAdmin)

0 comments on commit ce3b224

Please sign in to comment.