diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-03-27 09:48:54 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@parabola.nu> | 2018-01-15 13:41:05 -0500 |
commit | 6c3797061849dc80c9c60505af8865dc30c8e458 (patch) | |
tree | 8ce295d62668268353055762c85ff02cb422d0a5 | |
parent | efe5aac415078bbf6e9bfca52da568f0e6f97147 (diff) |
local_settings.py.example: clarify & expand comments
-rw-r--r-- | local_settings.py.example | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/local_settings.py.example b/local_settings.py.example index ffd6d8a6..44e38459 100644 --- a/local_settings.py.example +++ b/local_settings.py.example @@ -1,7 +1,7 @@ ## Debug settings -DEBUG = False +DEBUG = False # If you are running without another HTTP server, must be true TEMPLATE_DEBUG = False -#DEBUG_TOOLBAR = True +DEBUG_TOOLBAR = False # Must install package django-debug-toolbar to use ## For django debug toolbar INTERNAL_IPS = ('127.0.0.1',) @@ -23,6 +23,20 @@ ADMINS = ( # }, #} +## MySQL Database settings +#DATABASES = { +# 'default': { +# 'ENGINE' : 'django.db.backends.mysql', +# 'NAME' : 'archlinux', +# 'USER' : 'archlinux', +# 'PASSWORD': 'archlinux', +# 'HOST' : '', +# 'PORT' : '', +# # InnoDB WILL NOT work +# 'OPTIONS' : {'init_command': 'SET storage_engine=MyISAM'}, +# }, +#} + ## Sqlite Database settings DATABASES = { 'default': { @@ -45,11 +59,11 @@ CACHES = { ## locally, you will want to use False. SESSION_COOKIE_SECURE = False -## location for saving dev pictures -MEDIA_ROOT = '/srv/example.com/img/' +## location for saving dev pictures (the 'devs' folder should be inside of this) +MEDIA_ROOT = '/srv/http/web-uploads' -## web url for serving image files -MEDIA_URL = '/media/img/' +## web url for serving image files (the 'devs' folder should be inside of this) +MEDIA_URL = '/img/' ## Make this unique, and don't share it with anybody. SECRET_KEY = '00000000000000000000000000000000000000000000000' |