summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2012-11-14 11:43:23 -0800
committerParabola <dev@list.parabolagnulinux.org>2012-11-14 11:43:23 -0800
commite92a9065c99e4ab1c8b98521f77a1ddd0e0dad9a (patch)
treee139885c6eaa15762978512883a128e1f464cee3
parent71d83211a7ff02aa4b2dd1cefc6e699d0aaf3460 (diff)
Move the uploads folder to another directory (outside of this repo)parabolaweb-2012-11-14
-rw-r--r--local_settings.py.example18
-rwxr-xr-xsitestatic/devs/aurelien.pngbin13049 -> 0 bytes
-rwxr-xr-xsitestatic/devs/gtklocker.pngbin27710 -> 0 bytes
-rwxr-xr-xsitestatic/devs/me001-crop.pngbin17884 -> 0 bytes
-rw-r--r--sitestatic/devs/silhouette.pngbin2411 -> 0 bytes
-rw-r--r--[l---------]sitestatic/silhouette.pngbin19 -> 2411 bytes
6 files changed, 9 insertions, 9 deletions
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
--- a/sitestatic/devs/aurelien.png
+++ /dev/null
Binary files differ
diff --git a/sitestatic/devs/gtklocker.png b/sitestatic/devs/gtklocker.png
deleted file mode 100755
index 58283900..00000000
--- a/sitestatic/devs/gtklocker.png
+++ /dev/null
Binary files differ
diff --git a/sitestatic/devs/me001-crop.png b/sitestatic/devs/me001-crop.png
deleted file mode 100755
index 8595008a..00000000
--- a/sitestatic/devs/me001-crop.png
+++ /dev/null
Binary files differ
diff --git a/sitestatic/devs/silhouette.png b/sitestatic/devs/silhouette.png
deleted file mode 100644
index c957292e..00000000
--- a/sitestatic/devs/silhouette.png
+++ /dev/null
Binary files differ
diff --git a/sitestatic/silhouette.png b/sitestatic/silhouette.png
index 4617a418..c957292e 120000..100644
--- a/sitestatic/silhouette.png
+++ b/sitestatic/silhouette.png
Binary files differ