add django-ckeditor

This commit is contained in:
sanj 2010-11-24 00:03:27 +01:00
parent 20ac498a7e
commit 1431b3469f
3 changed files with 6 additions and 0 deletions

View File

@ -16,6 +16,9 @@ LOGGING_OUTPUT_ENABLED = True
PROJECT_PATH = os.path.dirname(__file__)
PROJECT_ROOT = PROJECT_PATH
CKEDITOR_MEDIA_PREFIX = "/static/ckeditor/"
CKEDITOR_UPLOAD_PATH = join(PROJECT_PATH, "static/upload/images/")
ADMINS = (
# ('Your Name', 'your_email@domain.com'),
)
@ -128,6 +131,7 @@ INSTALLED_APPS = (
'debug_toolbar',
'sorl.thumbnail',
'south',
'ckeditor',
)
#overwrite default settings with local settings

View File

@ -14,6 +14,7 @@ urlpatterns = patterns('',
# (r'^bhangar/', include('bhangar.foo.urls')),
#(r'^search/', include('solango.urls')),
(r'^comments/', include('django.contrib.comments.urls')),
(r'^ckeditor/', include('ckeditor.urls')),
(r'^robots.txt$', direct_to_template, {'template': 'robots.txt', 'mimetype': 'text/plain'}),
(r'^erang/', include('erang_organised.urls')),
(r'^itf/$', 'festival.views.home'),

View File

@ -8,3 +8,4 @@ sorl-thumbnail
django-extensions
django-debug-toolbar
South
django-ckeditor