added LICENSE, updated settings, added user registration complete template
[myslice.git] / myslice / settings.py
index 4a19345..7ac0f1b 100644 (file)
@@ -29,6 +29,11 @@ ADMINS = (
 
 MANAGERS = ADMINS
 
+# Mail configuration
+#EMAIL_HOST         = 'tibre.lip6.fr'
+#EMAIL_PORT         = 465
+DEFAULT_FROM_EMAIL = "support@myslice.info"
+
 DATABASES = {
     'default': {
         'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
@@ -154,10 +159,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.