Permalink
Browse files

removed Notice model and all supporting elements (bumped to 0.3 due t…

…o level of change)
  • Loading branch information...
1 parent 29d5ae6 commit a2fd330c11a64dfdf047f2243ff467d143e2921c @brosner brosner committed Mar 17, 2011
@@ -1,5 +1,5 @@
-VERSION = (0, 2, 0, "a", 1) # following PEP 386
-DEV_N = 4
+VERSION = (0, 3, 0, "a", 1) # following PEP 386
+DEV_N = 1
def get_version():
@@ -1,6 +1,6 @@
from django.contrib import admin
-from notification.models import NoticeType, NoticeSetting, Notice, ObservedItem, NoticeQueueBatch
+from notification.models import NoticeType, NoticeSetting, ObservedItem, NoticeQueueBatch
class NoticeTypeAdmin(admin.ModelAdmin):
@@ -11,12 +11,7 @@ class NoticeSettingAdmin(admin.ModelAdmin):
list_display = ["id", "user", "notice_type", "medium", "send"]
-class NoticeAdmin(admin.ModelAdmin):
- list_display = ["message", "recipient", "sender", "notice_type", "added", "unseen", "archived"]
-
-
admin.site.register(NoticeQueueBatch)
admin.site.register(NoticeType, NoticeTypeAdmin)
admin.site.register(NoticeSetting, NoticeSettingAdmin)
-admin.site.register(Notice, NoticeAdmin)
admin.site.register(ObservedItem)
Oops, something went wrong.

3 comments on commit a2fd330

@slafs
slafs commented on a2fd330 Nov 14, 2011

Hi! So... where's the feed functionality now?

@lmorchard

I realize this change was a long time ago, but just now updating an older project that relies on all this stuff. Is there any more information somewhere explaining why the Notice model, feed, and views all went away? Thinking of just forking this project from an earlier commit and going from there, but wondering what gives?

@benje
benje commented on a2fd330 May 8, 2013

Also curious why the Notice model and feed views had been removed since 0.2x ? Are there any plans to re-introduce them in a later version?
@lmorchard please keep me posted if you do decide to create a 1.5 compatible fork that includes feed view & helpers - I would definately use that 😄

Please sign in to comment.