Commits

Luke Plant committed f29bf7d

installation and usage instructions

Comments (0)

Files changed (1)

+
+Settings
+========
+
+ * Normal Django settings
+ * Normal django-cms2 settings
+ * widget overrides::
+
+     CMS_ADMIN_WIDGETS = lambda: __import__('semanticeditor.widgets', {}, {}, ['widgets']).__dict__
+
+
+Templates
+=========
+Automatically found if 'django.template.loaders.app_directories.load_template_source'
+is in TEMPLATE_LOADERS.
+
+Media
+=====
+media files: media/semanticeditor needs to be copied/linked/served so that it is
+under MEDIA_URL.  (i.e. side-by-side with the media/cms directory).  Then::
+
+  SE_MEDIA_URL = os.path.join(MEDIA_URL, "semanticeditor/")
+
+
+URLS
+====
+Add the following to the root URL conf::
+
+  (r'^semantic/', include('semanticeditor.urls')),
+
+These are needed for views
+
+Models
+======
+Install the models
+::
+
+  ./manage.py syncdb
+
+
+Usage
+=====
+
+Use 'SemanticEditor' as the widget in {% placeholder %} tags instead of
+'WYMEditor' or 'Textarea'