[snowy] Complete removal of reversion usage



commit eca73e0c57042593f7e65446e26e63790c5cf2aa
Author: Sandy Armstrong <sanfordarmstrong gmail com>
Date:   Sun Sep 12 09:51:24 2010 -0700

    Complete removal of reversion usage

 notes/admin.py |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/notes/admin.py b/notes/admin.py
index 5224151..ae1725e 100644
--- a/notes/admin.py
+++ b/notes/admin.py
@@ -17,10 +17,11 @@
 
 from snowy.accounts.models import UserProfile
 from snowy.notes.models import Note, NoteTag
-from reversion.admin import VersionAdmin
+#from reversion.admin import VersionAdmin
 from django.contrib import admin
 
-class NoteAdmin(VersionAdmin):
+#class NoteAdmin(VersionAdmin):
+class NoteAdmin(admin.ModelAdmin):
     list_display = ('created', 'author', 'title')
     search_fields = ['content', 'title']
     prepopulated_fields = {'slug': ('title',)}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]