diff --git a/mig/shared/accountreq.py b/mig/shared/accountreq.py index 0b3ca62e0..92cca9eb8 100644 --- a/mig/shared/accountreq.py +++ b/mig/shared/accountreq.py @@ -78,7 +78,7 @@ def account_js_helpers(configuration, fields): ''' - add_init = """ + add_init = r""" /* Helper to define countries for which State field makes sense */ var enable_state = ['US', 'CA', 'AU']; var peers_mandatory = %(peers_mandatory)s; @@ -527,7 +527,7 @@ def account_request_template(configuration, password=True, default_values={}): comment_pattern = '' if 'full_name' in configuration.site_peers_explicit_fields: - html += """ + html += r"""