1. Guilherme Gondim
  2. django-contato

Commits

Guilherme Gondim  committed 0404a06

Minor improvement

  • Participants
  • Parent commits 9760b4f
  • Branches default

Comments (0)

Files changed (1)

File contato/views.py

View file
  • Ignore whitespace
             try:
                 recipient_list = settings.CONTATO_RECIPIENT_LIST
             except AttributeError:
-                raise ImproperlyConfigured('Please provide a recipient_list')
+                message = 'Please set CONTATO_RECIPIENT_LIST'
+                raise ImproperlyConfigured(message)
         return recipient_list
 
     def get_from_email(self, form_data):