This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# queue_message(message, priority="medium") | |
# Queues an EmailMessage object, in apps using django-mailer. | |
# (https://github.com/pinax/django-mailer) | |
# Respects django-mailer's DontSendEntry blacklist. | |
# If django-mailer is not loaded, just sends the message immediately. | |
from django.conf import settings | |
if "mailer" in settings.INSTALLED_APPS: | |
# Sigh. Django-mailer doesn't expose its queuing API in a useful way, so we replicate parts of it here. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// knockout-jquery-ui-widget.js | |
// Copyright (c) 2011, Planapple, Inc. | |
// License: MIT (http://www.opensource.org/licenses/mit-license.php) | |
// | |
// Knockout binding for jQuery UI widgets | |
// | |
// Examples: | |
// <input type="submit" value="OK" data-bind='jqueryui: "button"' /> | |
// | |
// Attaches a jQuery UI button widget to this button, with default options. |
NewerOlder