1. Daniel Greenfeld
  2. transifex

Commits

Dimitris Glezos  committed debf9ec

Moved settings_local.py out of VCS as sample_*.

This file should be out of VCS in order to protect it from
accidental commits. ``.hgignore`` only applies on files not
tracked by hg.

  • Participants
  • Parent commits c3ca542
  • Branches default

Comments (0)

Files changed (2)

File sample_settings_local.py

View file
+from django.conf import settings
+"""
+Local settings for the project.
+
+These settings complement and override those in ``settings.py``.
+Copy as ``sample_settings.py`` to use. 
+"""
+
+# Assuming that by default we're having a development environment.
+DEBUG = True
+TEMPLATE_DEBUG = DEBUG
+LOG_LEVEL = logging.DEBUG
+
+#EMAIL_HOST = ''
+#EMAIL_HOST_USER = ''
+#EMAIL_HOST_PASSWORD = ''
+#EMAIL_USE_TLS = True
+#EMAIL_PORT = 587
+
+#SCRATCH_DIR = os.path.join('/tmp', 'scratchdir')
+
+#Disable use of authopenid app and fall back to simple auth:
+#ENABLE_OPENID=False
+#INSTALLED_APPS.remove('django_authopenid')
+#INSTALLED_APPS += ['simpleauth']
+
+#INSTALLED_APPS += ['django_extensions']
+#INSTALLED_APPS += ['django_evolution',]
+
+# To enable the use of the notification app on your system:
+#ENABLE_NOTICES = True
+#TEMPLATE_CONTEXT_PROCESSORS += ["notification.context_processors.notification",]

File settings_local.py

-from django.conf import settings
-"""
-Local settings for the project.
-
-These settings complement (and override) those in ``settings.py``.
-"""
-
-# Assuming that by default we're having a development environment.
-DEBUG = True
-TEMPLATE_DEBUG = DEBUG
-LOG_LEVEL = logging.DEBUG
-
-#EMAIL_HOST = ''
-#EMAIL_HOST_USER = ''
-#EMAIL_HOST_PASSWORD = ''
-#EMAIL_USE_TLS = True
-#EMAIL_PORT = 587
-
-#SCRATCH_DIR = os.path.join('/tmp', 'scratchdir')
-
-INSTALLED_APPS += ['django_evolution',]
-
-#Disable use of authopenid app and fall back to simple auth:
-#ENABLE_OPENID=False
-#INSTALLED_APPS.remove('django_authopenid')
-#INSTALLED_APPS += ['simpleauth']
-
-# To enable the use of the notification app on your system:
-#ENABLE_NOTICES = True
-#TEMPLATE_CONTEXT_PROCESSORS += ["notification.context_processors.notification",]