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

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -