add django-ckeditor
This commit is contained in:
parent
20ac498a7e
commit
1431b3469f
|
@ -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
|
||||
|
|
|
@ -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'),
|
||||
|
|
|
@ -8,3 +8,4 @@ sorl-thumbnail
|
|||
django-extensions
|
||||
django-debug-toolbar
|
||||
South
|
||||
django-ckeditor
|
||||
|
|
Loading…
Reference in New Issue
Block a user