Django redirect to `tel` url yields `SuspiciousOperation` -


i'm writing little website logs when users click on link (which telephone number). through view, redirects telephone number.

naturally, (i agree should default behavior) django sees suspiciousoperation. in case, i'm doing intentionally. how can suppress error , let view resolve want to?

in root of app redirects tel: uris:

from django.http import httpresponseredirectbase httpresponseredirectbase.allowed_schemes += ['tel'] 

Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

ruby - Nesting modules inside of a Rails eninge gem -

Eclipse formatter for java ending braces -