Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
a simple newsletter app for django
JavaScript Python
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
newsletter
README

README

A simple newsletter app for django

Create html newsletter (with the TinyMCE editor) and send to members

with myFileBrowser.js there's a little integration with django-filer (for inserting images)

_ test the mail with a test receiver (maybe yourself).
_ configure mail Sender and Subject
_ can edit and choose if send or not the link for unsubscription


settings.py tinymce configuration:

TINYMCE_DEFAULT_CONFIG = {
}

TINYMCE_DEFAULT_CONFIG.update({
    'theme': 'advanced',
    'relative_urls': False,
    'elements' : 'abshosturls',
    'convert_urls' : False,
    'width': 600,
    'height': 400,
    'plugins': 'table,advimage,advlink,inlinepopups,insertdatetime,preview,media,searchreplace,contextmenu,paste,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,wordcount,advlist,autosave',
    'theme_advanced_buttons1': 'fullscreen,|,bold,italic,underline,strikethrough,|,sub,sup,|,bullist,numlist,|,outdent,indent,|,formatselect,removeformat',
    'theme_advanced_buttons2': 'cut,copy,paste,pastetext,pasteword,image,media,|,search,replace,|,undo,redo,|,link,unlink,charmap,|,visualchars,nonbreaking,',
    'theme_advanced_buttons3': 'visualaid,tablecontrols,|,preview,code',
    'theme_advanced_buttons4' : 'forecolor,backcolor,|,justifyleft,justifycenter,justifyright,justifyfull,fontselect,fontsizeselect',
    'theme_advanced_toolbar_location': 'top',
    'theme_advanced_toolbar_align': 'center',
    'extended_valid_elements' : 'a[name|href|target=_blank|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]',
    'custom_elements': 'noindex',
    'file_browser_callback' : 'myFileBrowser',  #Modif cms plugin text importando il js nel cms_plugin.py
})


This application will have many changes in the future

#TODO
_ mail attachments
_ can configure mail sender host (now it is localhost)
_ ...
Something went wrong with that request. Please try again.