configure the default email notification of exception mails

This commit is contained in:
Benjamin Dauvergne 2011-11-15 18:18:26 +01:00
parent c808eec24f
commit a996551378
2 changed files with 4 additions and 2 deletions

View File

@ -89,8 +89,8 @@ class MailboxAdmin(admin.ModelAdmin):
return True
class InboxAdmin(MailboxAdmin):
list_display = [ 'date', 'owner', 'document', 'seen' ]
fields = [ 'date', 'owner', 'document', 'seen' ]
list_display = [ 'date', 'owner', 'document', 'seen', 'deleted' ]
fields = [ 'date', 'owner', 'document', 'seen', 'deleted' ]
readonly_fields = [ 'date', 'owner', 'document', 'seen' ]
def queryset(self, request):
qs = super(InboxAdmin, self).queryset(request)

View File

@ -26,6 +26,8 @@ SECRET_KEY = '^--o)1e^s(#j7tu()3eq&h3u1v4#5jh4-79a!oc8+7qri9u_2q'
AUTOMATIC_FORWARDING_USER = "Greffe"
SERVER_EMAIL = DEFAULT_FROM_EMAIL
try:
from local_settings import *
except ImportError, e: