Permalink
Browse files

example project minor tweaks

  • Loading branch information...
1 parent a6e52cf commit 5b3f485b15807e939bc5c9f0960ab62e5198734a @evildmp committed Jun 2, 2012
Showing with 18 additions and 4 deletions.
  1. +15 −0 example/arkestra_settings.py
  2. +3 −4 example/settings.py
@@ -38,6 +38,21 @@
PAGE_TITLE_HEADING_LEVEL = 2
+# ensure that the highest_page_body_heading_level is made available below
+
+WYM_CONTAINERS = ",\n".join([
+ "{'name': 'P', 'title': 'Paragraph', 'css': 'wym_containers_p'}",
+# "{'name': 'H1', 'title': 'Heading_1', 'css': 'wym_containers_h1'}", # I assume you reserve <h1> for your page templates
+ "{'name': 'H2', 'title': 'Heading_2', 'css': 'wym_containers_h2'}",
+ "{'name': 'H3', 'title': 'Heading_3', 'css': 'wym_containers_h3'}",
+ "{'name': 'H4', 'title': 'Heading_4', 'css': 'wym_containers_h4'}",
+ "{'name': 'H5', 'title': 'Heading_5', 'css': 'wym_containers_h5'}",
+ "{'name': 'H6', 'title': 'Heading_6', 'css': 'wym_containers_h6'}",
+# "{'name': 'PRE', 'title': 'Preformatted', 'css': 'wym_containers_pre'}",
+ "{'name': 'BLOCKQUOTE', 'title': 'Blockquote', 'css': 'wym_containers_blockquote'}",
+ # "{'name': 'TH', 'title': 'Table_Header', 'css': 'wym_containers_th'}", # not ready for this yet
+])
+
# ------------------------ Link system
# what filetypes can the user provide links to?
View
@@ -27,8 +27,7 @@
CACHES = {
'default': {
- 'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
- 'LOCATION': 'unique-snowflake-2'
+ 'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
}
}
@@ -57,7 +56,6 @@
# calendars according to the current locale
USE_L10N = True
-
BASE_PATH = os.path.normpath(os.path.dirname(__file__))
@@ -133,10 +131,11 @@
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
+ # 'cms.middleware.multilingual.MultilingualURLMiddleware',
'cms.middleware.page.CurrentPageMiddleware',
'cms.middleware.user.CurrentUserMiddleware',
'cms.middleware.toolbar.ToolbarMiddleware',
-)
+ )
THUMBNAIL_PROCESSORS = (
'easy_thumbnails.processors.colorspace',

0 comments on commit 5b3f485

Please sign in to comment.