Permalink
Browse files

fixing reversion integration

  • Loading branch information...
jaredly committed Apr 29, 2010
1 parent cc183fc commit c0472198a9c87222dbc758f5e176013bc6c77b3d
Showing with 0 additions and 8 deletions.
  1. +0 −8 admin.py
View
@@ -6,19 +6,11 @@
from reversion.admin import VersionAdmin
from basic.blog.models import Post
-class PostRevAdmin(VersionAdmin):
- """Admin settings"""
-
-#admin.site.register(Post, PostRevAdmin)
-
from myprojects.models import Project
class ProjectRevAdmin(VersionAdmin):
pass
-#admin.site.register(Project, ProjectRevAdmin)
-import reversion
-reversion.register(Post)
from reversion.models import Revision, Version
admin.site.register(Revision)

0 comments on commit c047219

Please sign in to comment.