X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=myslice%2Fsettings.py;h=c9b300585ec98ad807d00313182bdbec8bc29df9;hb=4b9ed7eeaae673d0bf30a4d494fa052bcbc41fdb;hp=4a19345c8593645fb2c75070f22fb3c2ad17eb84;hpb=81969a7eda1f53797b579d0bd6a71e96c26e610b;p=myslice.git diff --git a/myslice/settings.py b/myslice/settings.py index 4a19345c..c9b30058 100644 --- a/myslice/settings.py +++ b/myslice/settings.py @@ -24,11 +24,23 @@ if not ROOT: #################### ADMINS = ( - # ('Your Name', 'your_email@example.com'), + # ('your_name', 'your_email@test.com'), ) MANAGERS = ADMINS +# Mail configuration +#DEFAULT_FROM_EMAIL = "root@theseus.ipv6.lip6.fr" +#EMAIL_HOST_PASSWORD = "mypassword" + +EMAIL_HOST = "localhost" +EMAIL_PORT = 25 +EMAIL_USE_TLS = False + + + + + DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. @@ -154,10 +166,17 @@ INSTALLED_APPS = ( # Uncomment the next line to enable admin documentation: # 'django.contrib.admindocs', 'portal', - 'django.contrib.formtools', -# 'crispy_forms', +# DEPRECATED # 'django.contrib.formtools', +# DEPRECATED ## 'crispy_forms', +# DEPRECATED # +# DEPRECATED # # User registration +# DEPRECATED # 'django.contrib.auth', +# DEPRECATED # 'django.contrib.sites', +# DEPRECATED # 'registration', ) +ACCOUNT_ACTIVATION_DAYS = 7 # One-week activation window; you may, of course, use a different value. + # A sample logging configuration. The only tangible logging # performed by this configuration is to send an email to # the site admins on every HTTP 500 error when DEBUG=False.