Skip to content

Commit

Permalink
changed tests to use django 1.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Obrist committed Feb 9, 2011
1 parent 6d67c46 commit ce3b224
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/buildout.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ scripts =

[django]
recipe = djangorecipe
version = 1.2.4
version = 1.2.5
project = testapp
settings = settings
eggs = ${buildout:eggs}
Expand Down
3 changes: 2 additions & 1 deletion tests/testapp/sampleapp/admin.py
Original file line number Diff line number Diff line change
@@ -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.