diff gpp/gcalendar/admin.py @ 228:d77e0dc772ad

Implement #88; add option to create a new forum thread from a new calendar entry.
author Brian Neal <bgneal@gmail.com>
date Sun, 11 Jul 2010 21:03:41 +0000
parents b4305e18d3af
children 3fa61786abf1
line wrap: on
line diff
--- a/gpp/gcalendar/admin.py	Tue Jul 06 03:02:20 2010 +0000
+++ b/gpp/gcalendar/admin.py	Sun Jul 11 21:03:41 2010 +0000
@@ -12,12 +12,12 @@
 
 class EventAdmin(admin.ModelAdmin):
     list_display = ('what', 'user', 'start_date', 'where', 'date_submitted',
-            'status', 'is_approved')
+            'status', 'is_approved', 'google_html')
     list_filter = ('start_date', 'status')
     date_hierarchy = 'start_date'
     search_fields = ('what', 'where', 'description')
     raw_id_fields = ('user', )
-    exclude = ('html', 'google_id')
+    exclude = ('html', 'google_id', 'google_url')
     save_on_top = True
     actions = ('approve_events', )