Skip to content

Commit

Permalink
fixed upadmin site for Emails until I figure out read only admin views
Browse files Browse the repository at this point in the history
  • Loading branch information
sherzberg committed Jun 23, 2011
1 parent 69590ed commit b8d711a
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions emailer/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}))
Expand Down

0 comments on commit b8d711a

Please sign in to comment.