@@ -0,0 +1,1114 @@
+import os%0Aimport urlparse%0A%0Afrom .settings import *%0A%0ADEBUG = True%0ATEMPLATE_DEBUG = DEBUG%0A%0AADMINS = (%0A# ('Your Name', 'your_email@example.com'),%0A)%0A%0AMANAGERS = ADMINS%0A%0Aif %22GONDOR_DATABASE_URL%22 in os.environ:%0A    urlparse.uses_netloc.append(%22postgres%22)%0A    url = urlparse.urlparse(os.environ%5B%22GONDOR_DATABASE_URL%22%5D)%0A    DATABASES = %7B%0A        %22default%22: %7B%0A            %22ENGINE%22: %7B%0A                %22postgres%22: %22django.db.backends.postgresql_psycopg2%22%0A            %7D%5Burl.scheme%5D,%0A            %22NAME%22: url.path%5B1:%5D,%0A            %22USER%22: url.username,%0A            %22PASSWORD%22: url.password,%0A            %22HOST%22: url.hostname,%0A            %22PORT%22: url.port%0A        %7D%0A    %7D%0A%0AMEDIA_ROOT = os.path.join(os.environ%5B%22GONDOR_DATA_DIR%22%5D, %22site_media%22, %22media%22)%0ASTATIC_ROOT = os.path.join(os.environ%5B%22GONDOR_DATA_DIR%22%5D, %22site_media%22, %22static%22)%0A%0AMEDIA_URL = %22/site_media/media/%22 # make sure this maps inside of site_media_url%0ASTATIC_URL = %22/site_media/static/%22 # make sure this maps inside of site_media_url%0AADMIN_MEDIA_PREFIX = STATIC_URL + %22admin/%22%0A%0AFILE_UPLOAD_PERMISSIONS = 0640%0A%0ASECRET_KEY = '8f89aej9fa89898__fd9er38948934fjsfoijdaf.'

Add gondor settings file