Commits

Nicolás Echániz  committed c489611

updated settings file

  • Participants
  • Parent commits b751029

Comments (0)

Files changed (2)

File db/site.db

Binary file modified.
 DEBUG = True
 TEMPLATE_DEBUG = DEBUG
 
-BASE_DIR = os.path.dirname(__file__)
+CYCLOPE_PROJECT_PATH = os.path.dirname(__file__)
 
 INTERNAL_IPS = ('127.0.0.1',)
 
 MANAGERS = ADMINS
 
 DATABASE_ENGINE = 'sqlite3'
-DATABASE_NAME = os.path.join(BASE_DIR, 'db/site.db')
+DATABASE_NAME = os.path.join(CYCLOPE_PROJECT_PATH, 'db/site.db')
 
 TIME_ZONE = 'America/Argentina/Buenos_Aires'
 
 USE_I18N = True
 
 # Absolute path to the directory that holds media.
-MEDIA_ROOT = os.path.join(BASE_DIR, 'media/')
+MEDIA_ROOT = os.path.join(CYCLOPE_PROJECT_PATH, 'media/')
 #MEDIA_ROOT = '/var/www/pyclope.nicoechaniz.com.ar/htdocs/media/'
 
 # URL that handles the media served from MEDIA_ROOT. Make sure to use a
 TEMPLATE_DIRS = (
     # Put strings here, like "/home/html/django_templates".
     # Don't forget to use absolute paths, not relative paths.
-    os.path.join(BASE_DIR, 'templates'),
+    os.path.join(CYCLOPE_PROJECT_PATH, 'templates'),
 )
 
 FILEBROWSER_MAX_UPLOAD_SIZE = 10048576 # 10 MB
 
 # cyclope settings
 
-CYCLOPE_LOCAL_THEMES_DIR = os.path.join(BASE_DIR, 'templates/cyclope/themes/')
+CYCLOPE_LOCAL_THEMES_DIR = os.path.join(CYCLOPE_PROJECT_PATH, 'templates/cyclope/themes/')
 CYCLOPE_LOCAL_THEMES_MEDIA_PREFIX = '/media/local_themes/'
 CYCLOPE_PREFIX = ''
 
 # textile, markdown or restructuredtext (saves markup, renders with corresponding filter)
 # wysiwyg (rich text editor, saves HTML, renders with safe filter)
 # raw (simple text area saves the raw input, renders with safe filter)
-#CYCLOPE_STATICPAGE_TEXT_STYLE = 'textile'
-#CYCLOPE_ARTICLE_TEXT_STYLE = 'textile'
 
 CYCLOPE_STATICPAGE_TEXT_STYLE = 'wysiwyg'
 CYCLOPE_ARTICLE_TEXT_STYLE = 'wysiwyg'
 
-CYCLOPE_PAGINATION = { 'TEASER' : 3, 'LABELED_ICON' : 8,}
+CYCLOPE_PAGINATION = { 'TEASER' : 3, 'LABELED_ICON' : 8, 'FORUM': 10}
 
 
 
-HAYSTACK_WHOOSH_PATH = os.path.join(BASE_DIR, 'cyclope_project_index')
+HAYSTACK_WHOOSH_PATH = os.path.join(CYCLOPE_PROJECT_PATH, 'cyclope_project_index')
 
 # import local settings if they are present
 try:
 except:
     pass
 
-#INSTALLED_APPS += ['gunicorn']