[snowy] Complete removal of reversion usage
- From: Sanford Armstrong <sharm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [snowy] Complete removal of reversion usage
- Date: Sun, 12 Sep 2010 16:51:34 +0000 (UTC)
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]