From e92a9065c99e4ab1c8b98521f77a1ddd0e0dad9a Mon Sep 17 00:00:00 2001 From: Parabola Date: Wed, 14 Nov 2012 11:43:23 -0800 Subject: Move the uploads folder to another directory (outside of this repo) --- local_settings.py.example | 18 +++++++++--------- sitestatic/devs/aurelien.png | Bin 13049 -> 0 bytes sitestatic/devs/gtklocker.png | Bin 27710 -> 0 bytes sitestatic/devs/me001-crop.png | Bin 17884 -> 0 bytes sitestatic/devs/silhouette.png | Bin 2411 -> 0 bytes sitestatic/silhouette.png | Bin 19 -> 2411 bytes 6 files changed, 9 insertions(+), 9 deletions(-) delete mode 100755 sitestatic/devs/aurelien.png delete mode 100755 sitestatic/devs/gtklocker.png delete mode 100755 sitestatic/devs/me001-crop.png delete mode 100644 sitestatic/devs/silhouette.png mode change 120000 => 100644 sitestatic/silhouette.png diff --git a/local_settings.py.example b/local_settings.py.example index 366af0a5..5316d67c 100644 --- a/local_settings.py.example +++ b/local_settings.py.example @@ -13,30 +13,30 @@ ADMINS = ( # ('Joe Admin', 'joeadmin@example.com'), ) -## MySQL Database settings +## PostgreSQL Database settings DATABASES = { 'default': { - 'ENGINE' : 'django.db.backends.mysql', + 'ENGINE' : 'django.db.backends.postgresql_psycopg2', 'NAME' : 'parabola', 'USER' : 'parabola', 'PASSWORD': 'parabola', 'HOST' : '', 'PORT' : '', - # InnoDB WILL NOT work - 'OPTIONS' : {'init_command': 'SET storage_engine=MyISAM'}, + 'OPTIONS' : {}, }, } -## PostgreSQL Database settings +## MySQL Database settings #DATABASES = { # 'default': { -# 'ENGINE' : 'django.db.backends.postgresql_psycopg2', +# 'ENGINE' : 'django.db.backends.mysql', # 'NAME' : 'parabola', # 'USER' : 'parabola', # 'PASSWORD': 'parabola', # 'HOST' : '', # 'PORT' : '', -# 'OPTIONS' : {}, +# # InnoDB WILL NOT work +# 'OPTIONS' : {'init_command': 'SET storage_engine=MyISAM'}, # }, #} @@ -65,10 +65,10 @@ CACHE_MIDDLEWARE_SECONDS = 300 SESSION_COOKIE_SECURE = False ## location for saving dev pictures (the 'devs' folder should be inside of this) -MEDIA_ROOT = '/srv/http/web/collected_static' +MEDIA_ROOT = '/srv/http/web-uploads' ## web url for serving image files (the 'devs' folder should be inside of this) -MEDIA_URL = '/static/' +MEDIA_URL = '/img/' ## Make this unique, and don't share it with anybody. SECRET_KEY = '00000000000000000000000000000000000000000000000' diff --git a/sitestatic/devs/aurelien.png b/sitestatic/devs/aurelien.png deleted file mode 100755 index 6b126f77..00000000 Binary files a/sitestatic/devs/aurelien.png and /dev/null differ diff --git a/sitestatic/devs/gtklocker.png b/sitestatic/devs/gtklocker.png deleted file mode 100755 index 58283900..00000000 Binary files a/sitestatic/devs/gtklocker.png and /dev/null differ diff --git a/sitestatic/devs/me001-crop.png b/sitestatic/devs/me001-crop.png deleted file mode 100755 index 8595008a..00000000 Binary files a/sitestatic/devs/me001-crop.png and /dev/null differ diff --git a/sitestatic/devs/silhouette.png b/sitestatic/devs/silhouette.png deleted file mode 100644 index c957292e..00000000 Binary files a/sitestatic/devs/silhouette.png and /dev/null differ diff --git a/sitestatic/silhouette.png b/sitestatic/silhouette.png deleted file mode 120000 index 4617a418..00000000 --- a/sitestatic/silhouette.png +++ /dev/null @@ -1 +0,0 @@ -devs/silhouette.png \ No newline at end of file diff --git a/sitestatic/silhouette.png b/sitestatic/silhouette.png new file mode 100644 index 00000000..c957292e Binary files /dev/null and b/sitestatic/silhouette.png differ -- cgit v1.2.3-54-g00ecf