diff --git a/amadeus/settings.py b/amadeus/settings.py index ba29bde..c1c756c 100644 --- a/amadeus/settings.py +++ b/amadeus/settings.py @@ -144,6 +144,7 @@ MEDIA_URL = '/uploads/' LOGIN_REDIRECT_URL = 'app:index' LOGIN_URL = 'core:home' AUTH_USER_MODEL = 'users.User' + AUTHENTICATION_BACKENDS = [ 'django.contrib.auth.backends.ModelBackend', ] @@ -153,7 +154,12 @@ LOGS_URL = 'logs/' #https://github.com/squ1b3r/Djaneiro +# E-mail +EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' +DEFAULT_FROM_EMAIL = 'admin@admin.com' + + try: from .local_settings import * except ImportError: - pass \ No newline at end of file + pass diff --git a/core/templates/index.html b/core/templates/index.html index a1aa11b..b897022 100644 --- a/core/templates/index.html +++ b/core/templates/index.html @@ -17,7 +17,7 @@