Permalink
Browse files

fixed upadmin site for Emails until I figure out read only admin views

  • Loading branch information...
1 parent 69590ed commit b8d711a5fca9509c4ab6292a847b947ea59175b8 @sherzberg sherzberg committed Jun 23, 2011
Showing with 0 additions and 7 deletions.
  1. +0 −7 emailer/admin.py
View
@@ -8,16 +8,9 @@
from emailer.models import *
-class EmailAdminForm(forms.ModelForm):
- html = forms.CharField(widget=HtmlWidget(attrs={'cols': 80, 'rows': 40}))
-
- class Meta:
- model = Email
-
class EmailAdmin(admin.ModelAdmin):
list_display = ('email_blast', 'to_address', 'status', 'opened', 'get_tracking_png_url',)
list_filter = ('status',)
- form = EmailAdminForm
class EmailBlastAdminForm(forms.ModelForm):
html = forms.CharField(widget=HtmlWidget(attrs={'cols': 80, 'rows': 40}))

0 comments on commit b8d711a

Please sign in to comment.