Skip to content

Commit

Permalink
fixing admin
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Lovell-Troy committed Dec 5, 2013
1 parent f4bb74e commit f14a0cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classy_mail/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class TemplatedEmailMessageAdmin(admin.ModelAdmin):

class MessageLogAdmin(admin.ModelAdmin):
list_display = ('to_header', 'subject', 'sent')
ordering = ('sent',)
ordering = ('-sent',)

admin.site.register(EmailTemplate, TemplatedEmailMessageAdmin)
admin.site.register(EmailMessageLog, MessageLogAdmin)

0 comments on commit f14a0cf

Please # to comment.