Commits

Dan Watson  committed 7ac9082

Add list_display for Preferences

  • Participants
  • Parent commits 83ada23

Comments (0)

Files changed (1)

File leaves/admin.py

 	list_display = ('old_path', 'new_path', 'site', 'redirect_type')
 	list_filter = ('site', 'redirect_type')
 
+class PrefsAdmin (ConfigAdmin):
+	list_display = ('site', 'theme', 'stream_count', 'default_comment_status', 'feed_count', 'analytics_id')
+
 admin.site.register(Comment, CommentAdmin)
 admin.site.register(Tag, TagAdmin)
-admin.site.register(Preferences, ConfigAdmin)
+admin.site.register(Preferences, PrefsAdmin)
 admin.site.register(Redirect, RedirectAdmin)
 admin.site.register(UserSites)