Ensure compatiblity with Django 1.4 url template tag
Add missing quotes for url tag in email templates