############################################################################## # GRAPPELLI SETTINGS # # # # Author: Jack Hsu # # URL: http://code.google.com/p/django-blogs/ # ############################################################################## # Used by blog templates, can be relative or absolute URL # e.g. http://www.mysite.com/media/ or /media/ # Remember the trailing backslash (/)! BLOGS_MEDIA_PREFIX = '/static/blogs/' JQUERY_PREFIX = '/static/js/jquery/' TINY_MCE_PREFIX = '/static/js/tiny_mce/' # Number of posts to show per page on admin interface BLOG_ADMIN_NUM_ITEMS = 10 DEFAULT_CACHE_TIME = 60*60*60 # tiny_mce options for blog posts (admin view) POST_EDITOR_MODE = { 'mode': 'textareas', 'theme': 'advanced', 'plugins': 'safari,pagebreak,style,layer,table,save,advhr,advimage,advlink,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,contextmenu,paste,directionality,fullscreen,nonbreaking,xhtmlxtras', 'theme_advanced_buttons1': 'bold,italic,underline,strikethrough,|,styleprops,|,justifyleft,justifycenter,justifyright,justifyfull,formatselect,fontselect,fontsizeselect', 'theme_advanced_buttons2': 'cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor', 'theme_advanced_buttons3': 'tablecontrols,|,cite,ins,del,abbr,acronym,|,hr,removeformat,|,sub,sup,|,charmap,nonbreaking,iespell,media,advhr,|,ltr,rtl,|,fullscreen', 'theme_advanced_toolbar_location': 'top', 'theme_advanced_toolbar_align': 'left', 'theme_advanced_statusbar_location': 'bottom', 'theme_advanced_resizing': 'true', 'width': '100%', 'height': '400', } # tiny_mce options for editing blog descriptions BLOG_EDITOR_MODE = { 'mode': 'textareas', 'theme': 'simple', 'width': '500', } # Customize how teh recaptcha module appears in the comment section # More info: http://recaptcha.net/apidocs/captcha/client.html RECAPTCHA_SETTINGS = { 'theme': 'red', } # reCAPTCHA keys - you need to register for an account # http://recaptcha.net/ RECAPTCHA_PUB_KEY = 'PLEASE CHANGE THIS!' RECAPTCHA_PRIVATE_KEY = 'PLEASE CHANGE THIS!'